Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.6.1, 5.7.0
-
Windows 10
-
ec97be5585fd7721db6ba2bb9ea0591fa5ca30b7
Description
Windows 10 border sizes are notably thinner than in previous Windows. move() method of QWidget does not take this in account when it is repositioning. This leads to a problem where move(0, 0) does not position a window in top-left corner, and leaves about 7 pixel wide space between screen left side and where the window border starts.
Steps to reproduce:
- Run attached sample
- Press "move(0, 0)" button
- EXPECTED: Window is moved to so that it fills the screen from 0, 0 position
- ACTUAL: Window is moved so, that it fills the screen from 8, 0 position, leaving a 7 pixel gap
Not reproducible with Windows 7 where the borders are wider.
Attachments
Issue Links
- resulted in
-
QTBUG-74062 QCombobox drop-down list jumping on open
- Closed
For Gerrit Dashboard: QTBUG-55762 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
214499,11 | Windows: Add support for invisible window margins | dev | qt/qtbase | Status: MERGED | +2 | 0 |