jordanbaird / Ice

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

Fix menu bar appearance when using multiple displays #12

Closed jordanbaird closed 5 months ago

jordanbaird commented 5 months ago

Currently, Ice's menu bar appearance features aren't designed to work with multiple displays. Since the MenuBarBackingPanel and MenuBarOverlayPanel use NSScreen.main to determine their frame, they jump around between displays sporadically, depending on which display is considered the "main" screen. Sometimes they even disappear altogether (not sure why).

The best solution will probably involve reimplementing both panels, possibly combining them into a single panel that works for both overlay and underlay, depending on the user's selected settings.