Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reboot resets the icon positions #74

Closed
TyrannosaurHex opened this issue Sep 21, 2019 · 8 comments
Closed

Reboot resets the icon positions #74

TyrannosaurHex opened this issue Sep 21, 2019 · 8 comments

Comments

@TyrannosaurHex
Copy link

Are the icons supposed to reset to outside the dozer dots after every reboot? Not sure if this is a bug or intended behaviour. I'm on Mojave 10.14.6.

@Mortennn
Copy link
Owner

Dozer has no control over the positions of the status bar icons so this is all done by macOS.

@AndrewMast
Copy link

I also have this problem. Do you know of any way to stop macOS from rearranging the icons?

@Mortennn
Copy link
Owner

Mortennn commented Oct 3, 2019

Unfortunately not :(

@AndrewMast
Copy link

AndrewMast commented Oct 5, 2019

I think I might have found something that may contribute to this issue.

Running defaults read com.mortennn.Dozer in Terminal outputs this (notice the preferred positions):

{
    "NSStatusItem Preferred Position Item-0" = "161.5";
    "NSStatusItem Preferred Position Item-1" = "486.5";
    "NSStatusItem Preferred Position Item-2" = "161.5";
    "NSWindow Frame com.sindresorhus.Preferences.FrameAutosaveName" = "784 342 397 303 0 0 1440 877 ";
    SUEnableAutomaticChecks = 1;
    SUHasLaunchedBefore = 1;
    SULastCheckTime = "2019-10-04 22:32:00 +0000";
    SUSendProfileInfo = 0;
    hideAfterDelayEnabled = 1;
    noIconMode = 1;
    removeStatusIconEnabled = 1;
    toggleMenuItems = <...>;
}

I noticed the preferred positions and the lack of the names (aka remove, normalLeft, normalRight) and I quit and restarted Dozer and the remove icon and one of the normal ones swapped. Maybe (I don't know how they are stored currently) saving the preferred positions with the names would fix some of it?

@AndrewMast
Copy link

AndrewMast commented Oct 22, 2019

Maybe setting the NSStatusItem.autosaveName will solve this issue? (https://developer.apple.com/documentation/appkit/nsstatusitem/1644022-autosavename)

@amarendra
Copy link

Is it related to #69

Or there any additional script one can run to make it happen?

@Mortennn
Copy link
Owner

Mortennn commented Jul 9, 2020

@amarendra Yes, this is related to #69.

@Mortennn
Copy link
Owner

Mortennn commented Jul 9, 2020

I will close this for now because it is not something Dozer has control over.

@Mortennn Mortennn closed this as completed Jul 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants