Details
Description
After yosemite, menu bar can appear in secondary monitors (also can disappear). So menu bar size should be considered in secondary monitors too.
QDesktopWidget::availableGeometry() returns incorrect value with secondary screen in version after Max OS X Yosemite.
Steps to reproduce:
- Get QDesktopWidget of secondary monitor.
- Call availableGeometry().
- It returns screen rect which not excludes menu bar size.
I found this issue in Qt 5.3.1, but it seems to be occured in latest version.
because
m_availableGeometry = m_geometry;
Attachments
For Gerrit Dashboard: QTBUG-47030 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
124049,10 | Cocoa: correct QDesktopWidget::availableGeometry() | 5.5 | qt/qtbase | Status: MERGED | -2 | 0 |
125655,2 | Revert "Cocoa: correct QDesktopWidget::availableGeometry()" | 5.5.1 | qt/qtbase | Status: MERGED | +2 | 0 |