Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.10.1, 5.11.1
-
None
-
macOS 10.13
-
-
d627d351bedb96c727aa6e3b7cb2cc2d678c5606 (qt/qtbase/dev) d3ac94e2b7788797444d32b6e7a3796f385bd757 (qt/qtbase/6.1) 39dc6106e2bc1e96ed1105f2c79f327d80e703a8 (qt/qtbase/6.2) 55204eab25333e49b149436163fdd7a542cd7915 (qt/tqtc-qtbase/5.15)
Description
The attached test case hide the titlebar with NSFullSizeContentViewWindowMask styleMask, after toggle fullscreen titlebar became visible.
add code below to src/plugins/platforms/cocoa/qcocoawindow.mm (3.png) compile cocoa fixed the problem.
if (m_view.window.styleMask & NSFullSizeContentViewWindowMask)
styleMask |= NSFullSizeContentViewWindowMask;
Attachments
For Gerrit Dashboard: QTBUG-69975 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
364491,2 | macOS: Don't wipe NSWindowStyleMaskFullSizeContentView if set manually | dev | qt/qtbase | Status: MERGED | +2 | 0 |
365263,2 | macOS: Don't wipe NSWindowStyleMaskFullSizeContentView if set manually | 6.2 | qt/qtbase | Status: MERGED | +2 | 0 |
365264,2 | macOS: Don't wipe NSWindowStyleMaskFullSizeContentView if set manually | 6.1 | qt/qtbase | Status: MERGED | +2 | 0 |
365328,2 | macOS: Don't wipe NSWindowStyleMaskFullSizeContentView if set manually | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |