Menu Bar does not display correctly when window is maximized (Multi-monitor setup)
S3 - Major
Steps To Reproduce:
- Have at least two displays connected. The bug did not occur when using a single display.
- Open muse score in a maximized window
- Try to use menu option "File" or any other menu bar option
Do not use a multi-monitor setup or use menu-shorts or do not use MuseScore in a maximized window.
The File Menu opens in the top left corner, with its submenu displayed correctly.
The File Options background is blue (hover effect) but no actual sub-menu is drawn.
Sometimes the sub-menu appears but scaled incorrectly (too big) (Here the "Edit" Option was selected).
OS: Windows 11
Version: MuseScore 4.0
Monitors: 4K Laptop Display and 1080p Desktop Monitor. Musescore was opened on the Desktop Monitor.
Hm, it turned out that issue isn't just about multi-monitor setup.
With first configuration (photos 1 and 2) problem occurs only with MuseScore window placed on ultrawide monitor. While with second configuration (photos 3 and 4) everything works fine on both monitors.
Also want to mention that it happens with every pop-up and drop-down menu/window (see photo 5)
I won't even bother upload photos here because of compression so they are all here:
PC on Windows 10 21H2
16:9 monitor: Samsung Q80T 2020 TV 4K (3840 x 2160)
21:9 monitor: Huawei MateView GT ZQE-CBA 34" 3K (3440 x 1440)
Ok while I was writing previous comment i realized why it's happening.
Windows treat every pop-up and drop-down menu as individual window. So depending on monitors layout if this windows appear just a touch on another monitor, which has different scale (it's important), Windows tries to display with maximum scale.
Therefore to FIX this you should set same scale on both monitors or set larger amount for monitor on which you use MuseScore. That's it.
In my case with 16:9 monitor 150% scale on the left and 21:9 monitor 100% on the right Windows enlarges Playback menu to 150% (photo 5).
When I set both monitors to 100% everything works as it should (photo 6).
Now you may ask: "But why File, Edit and other dropdowns also crashes if they literally drop down and so do not appear on left or right monitor?". Well, I don't know) If you look on photo 1, 2 or 5 you can see black rectangles above and to the left of 21:9 monitor. So I think maybe Windows changes scale of pop-up and drop-down menu (window) not when it appears on another monitor, but rather when it LEAVES the monitor it belongs to?
Anyway there is another workaround for this issue. Yeah, I agree: it is not brilliant. Because my Samsung TV becomes almost unusable with 100% scale (as any 4K monitor as far as i know). So we can just hope that developers somehow fix this for us to use it with any scale on any monitor.