jordanbaird / Ice

Powerful menu bar manager for macOS
https://icemenubar.app
GNU General Public License v3.0
12.76k stars 234 forks source link

[Bug]: Unable to click or scroll on menu bar for full screen applications on secondary displays #115

Closed zmkstn closed 3 months ago

zmkstn commented 3 months ago

Check existing issues

Description

For fullscreen applications in a secondary display, it is not possible to scroll or click to toggle the menu bar. There is no problem with doing any of this in the primary display.

In addition, clicking the menu bar to toggle the hidden section does not work for secondary screens, even on the desktop (non-fullscreen applications). However, if the hidden section was expanded prior, it is possible to click anywhere on the menu bar to untoggle the hidden section. Scroll is still functional, but only if (1) the secondary display is active and (2) it is in the desktop (non-full screen space).

Steps to Reproduce

  1. Fullscreen an application on a secondary display
  2. Hover mouse to top of screen to show menu bar.
  3. Click or scroll
  4. Notice hidden section does not toggle

Ice Version

0.9.0

macOS Version

14.5

Screenshots

No response

zotanmew commented 3 months ago

I'm having the same issue (can't click/scroll on the menu bar on secondary display) even without any fullscreen applications active on either display.

bllchmbrs commented 3 months ago

Same.

joaofrgomes commented 3 months ago

I'm having the same issue (can't click/scroll on the menu bar on secondary display) even without any fullscreen applications active on either display.

Same here.

zauberen commented 3 months ago

Screenshot 2024-06-09 at 2 00 33 AM

I have the same issue, but it looks like the issue is that it is checking for clicks below the menu bar for me. It's a fairly small box, around the width of the tea kettle and bar chart icons on my menu bar, and similar in height.

Also, this only works for me in full screen, outside of full screen, it doesn't work at all (neither clicking on the menu bar or at the fullscreen sweet spot). Appears to be related to resolution, the example is 1920x1200.

coryshaw1 commented 3 months ago

I've noticed this because macOS handles switching to secondary screens weirdly when it is not the active screen. The initial click when clicking on a secondary monitor's application that is not the current application seems to make that click in the taskbar of the monitor. Even if it's hidden and the app is fullscreen.

This happens constantly for me switching back and forth between macOS and my Parallels VM.

My current workaround is to just make sure that Show on Click, Show on Hover, and Show on Scroll are all disabled: image

Hopefully, this gives some ideas on how to debug this issue.

zotanmew commented 3 months ago

Sadly I'm still observing the same behavior on beta5, which includes the above commit. Clicking on the empty space on secondary displays doesn't show/hide icons.

jordanbaird commented 3 months ago

@zotanmew Strange...it works for me. Does your main display happen to have a notch?

zotanmew commented 3 months ago

@jordanbaird Yes, it does. It's a 14" MBP (2021)

zotanmew commented 3 months ago

Beta 6 seems to have solved the issue for me.