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

Icon spacing changes when toggling on Monterey #169

Open
kprav33n opened this issue Nov 30, 2021 · 12 comments
Open

Icon spacing changes when toggling on Monterey #169

kprav33n opened this issue Nov 30, 2021 · 12 comments

Comments

@kprav33n
Copy link

I'm using 4.0.0 (29) on macOS 12.0.1 (Monterey). When toggling the expanded icons, the position of icons on the right side of the dots change a lot because of spacing. Is this expected? I would expect that the icons on the right side of the dots remain in the same place before and after expanding the hidden icons. See the following animation.

DozerResizing

@johsoderi
Copy link

johsoderi commented Dec 1, 2021

It seems like Dozer places the icons closer together, and upon expanding it reverts to the macOS original spacing.
I would love to have the tighter spacing also when expanded, or for issue #168 to be resolved. As it is now, the leftmost icons are hidden behind the notch when I expand.

Edit: After some more testing I notice that if I turn on the option "Hide both Dozer icons when status bar icons are hidden" and expand the icons with a shortcut, the spacing doesn't change - most of the time. It's inconsistent though, sometimes it does.

Dozer v. 4.0.0 (29) - macOS Monterey 12.0.1 - Macbook Pro M1 Max 16" - Default screen res. (3456x2234)

@aonez
Copy link
Contributor

aonez commented Dec 9, 2021

I'm not getting this issue on Monterey 12.0.1 (21A559). I'm using a 4.2.1 custom Apple Silicon build though, but tested with 4.0.0 and also no issue.

I suppose since @johsoderi stated M1 Max and the gif menu bar from @kprav33n seems very tall we can assume both of you have a notch and this issue will only be present in that taller menu bar size.

I don't own a notch Mac so sadly can't test this one.

@aonez
Copy link
Contributor

aonez commented Dec 9, 2021

Looking more slowly to the gif probably Apple made the space between menu bar items dynamic so it fits more before they reach the notch. Since Dozer uses a very big item to hide the rest of the items, when hiding them the space between items is the minimum and while showing the items it must be the maximum size.

@Taraan03
Copy link

Taraan03 commented Dec 9, 2021

I'm seeing this issue as well. I'm on a notch Mac (16-inch, 2021), with MacOS monterey 12.0.1 (21A559). Happy to share other info if it would help debug.

EDIT: I also tried @aonez apple silicon build and got the same behavior.

@aonez
Copy link
Contributor

aonez commented Dec 9, 2021

@Taraan03 maybe you can try with this simple app to see if the space between bar menu items shrinks when they approach the notch. Close Dozer first, so the items are not hidden.

NotchMenuBarMarginTest.zip

Simply add enough bar items with the sample app so they reach or pass the notch. You can also add an space item for the same test.

@johsoderi
Copy link

I gave it a try. Not sure what to make out of it though, is this the behaviour Apple intended? Looks buggy to me.
menubar

@aonez
Copy link
Contributor

aonez commented Dec 10, 2021

Hm, so it snaps to the notch using dynamic margins when it's near it, not before. What happens when the icons arrive at the notch? They appear in the left of it or do they simply disappear?

I think a simple workaround can be done using proper size spacers.

@johsoderi
Copy link

They just disappear, nothing shows to the left of the notch no matter how many icons I add.

@kprav33n
Copy link
Author

Looks like macOS 12.1 has some fixes for the menu bar problems with notch. It should be out next week. I'll test with that and update here.

@unphased
Copy link

unphased commented Jan 3, 2022

Pretty sure the change in display regime of icons from right-aligned to justified is built-in macOS behavior. Issues like this abound in all menu bar apps on github!

@blakegearin
Copy link

Looks like macOS 12.1 has some fixes for the menu bar problems with notch. It should be out next week. I'll test with that and update here.

12.1 hasn't changed this behavior for me.

@unphased
Copy link

Agreed, what is the nature of the fix that 12.1 was supposed to introduce?

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

6 participants