[MU4 Issue] Windows 11 Snap layouts not shown in MU4; also, MU4 does not snap correctly next to other windows due to large min. size
Describe the bug When hovering over the Maximize button in the toolbar of MuseScore, the snap layouts are not displayed. Also, if MuseScore is snapped next to another app, it often is too large to fit the available space, probably due to the minimum size of the app window. See screen recording below.
To Reproduce Steps to reproduce the behavior:
- Open MuseScore
- Hover over the Maximize button (do not click on it)
- The snap layouts do not appear.
- Open another app (i.e. notepad) and snap it to the left of the screen using the snap layouts.
- When shown which other apps you can snap to the right side of screen, click on MuseScore
- Depending on your screen size, MuseScore may be too large to fit the space.
Expected behavior Snap layouts should be available when hovering over the maximize button, just like they were in MuseScore 3. Also, when snapped, MuseScore should fit the available space like it did in MuseScore 3 (screenshot below).
Screenshots
Video:
https://user-images.githubusercontent.com/90187801/160885524-1e9b2bc5-fe99-4f6c-bbe7-26a80e090f46.mp4
MuseScore 3:

MuseScore 4:

Platform information
- OS: Windows 11
Additional context As noted above, snap layouts worked perfectly with MuseScore 3. For the issue of the window not being small enough to snap correctly next to other apps, this may be because MuseScore 3 had a very small minimum window size.
For reference, here are the minimum sizes of MuseScore 3 and MuseScore 4:

Thanks for logging!
(I converted the attached video and re-added to the description to be able to watch it inside web browser )
@cbjeukendrup - can't this simply be fixed by lowering the minimum size of MS4? I seem to recall we discussed this on another issue.
Yes, it's related to #11627. Lowering the minimum width should fix this issue, but that will cause all sorts of layout problems. Because if we set the minimum width of the window too low, the docking system is not able anymore to realize the specified minimum width of the toolbars and panels. The result is that it completely stops managing the layout and starts shouting error messages. So that prevents us from just lowering the minimum width.
What is the lowest number we can set the minimum size to without mayhem happening? Basically, every pixel counts.