scrubbbbs

Results 361 comments of scrubbbbs

Thanks so much for going deep on this, this is exceptional. We do not have any window manager hacks in nomacs so I expect this is a Qt bug. To...

Test program. ``` mkdir build; cd build # qt6 cmake -D QT_VERSION_MAJOR=6 .. # qt5 cmake -D QT_VERSION_MAJOR=5 .. make ./bug-window-position ``` [qt-bug-window-position.zip](https://github.com/user-attachments/files/19570494/qt-bug-window-position.zip)

> But I don't know whether this has ever been really tested or something has changed since then. It appears to be refactored but it is [still there](https://codebrowser.dev/qt6/qtbase/src/plugins/platforms/xcb/qxcbwindow.cpp.html#625)

> Even if I use `cmake -D QT_VERSION_MAJOR=6 ..`, it is built against Qt 5 according to `ldd`. you might need to install qt 6 development files (qt6-base-dev usually)

Looks like we have enough ammunition for a Qt bug report. I'm happy to do this if you aren't interested. The question remains how to get a reliable fix into...

> BTW, note that the geometry is wrong as soon as the window is visible Yes the geometry() in the example excludes the window decoration, it is the content area...

I think you have enough knowledge now to go digging in the source code (add some print statements etc). Compiling qt-base is not that difficult. I don't have the bandwidth...

Size estimate seems to be based on preview pane image and not the full image.

@novomesk is this from the incrementor in cmake? Maybe we should disable this and bump the version manually when it makes sense to do so. The incrementor is currently force-enabled...