Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.2.4, 6.10
-
None
Description
I have a frameless window that can be moved around with right click anywhere on the window. This means that it is intended to be possible to move it partially outside the screen in all directions. Unfortunately macOS stops any window from exiting the screen upwards. This wouldn't be a huge issue if it wasn't for this bug, where Qt seems to think that the window was actually moved, even though macOS stopped it.
The geometry seems to be updated when the Qt detects that the window becomes fully outside the screen, and then moved back? See the attached video showing the issue with the windowflags example.
It becomes a big issue in my case since I have my own window resizing code etc that all depend on frameGeometry being correct, which it isn't if you push the window into the menu bar a bit.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-136045 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
640359,1 | macOS: Make sure window geometry is correct if it was adjusted by the OS | dev | qt/qtbase | Status: NEW | 0 | 0 |