qwindowkit icon indicating copy to clipboard operation
qwindowkit copied to clipboard

MacOS - Qt 6.8.2 - The content of the window is offset by the size of the title bar in the QWidget version

Open puziok opened this issue 10 months ago • 3 comments

System: macOS Sonoma Qt Version: 6.8.2

As in the title, in qt 6.8, changes were made that break QWidget version of QWK. Everything works okey with Qt 6.6.3. QML version works fine on both Qt versions.

Qt 6.8.2 (space above custom title bar is not interactive and window can't be dragged by grabbing it) Image

Qt 6.6.3 Image

puziok avatar Feb 24 '25 12:02 puziok

Try the following code:

setAttribute(Qt::WA_ContentsMarginsRespectsSafeArea, false);

zhiyiYo avatar May 02 '25 05:05 zhiyiYo

It is a solution but it is only available starting from Qt 6.9.

puziok avatar Jul 23 '25 12:07 puziok

@zhiyiYo That helped me a lot, thanks!

nuttyartist avatar Oct 12 '25 14:10 nuttyartist