Weird setGeometry issue in 6.6.2 Desktop
-
Hi. So I'm gettin this error and I have searched and tried many various solutions I have found but none are correct in my case.
I have 2 apps, both similar (share probably 80% the same code). Both of them start up in full screen when started using showFullScreen, and both have worked up until a recent update.
So I updated from Qt 6.4.3 to 6.6.2, suddenly App 1 is working fine still, but App 2 is doing something weird, not opening quite full screen and throwing this error:QWindowsWindow::setGeometry: Unable to set geometry 3458x2160+0+0 (frame: 3484x2231-13-58) on QWidgetWindow/"KioskWindowWindow" on "Parallels Vu". Resulting geometry: 3458x2119+0+0 (frame: 3484x2190-13-58) margins: 13, 58, 13, 13 minimum size: 1035x558 MINMAXINFO(maxSize=POINT(x=0, y=0), maxpos=POINT(x=0, y=0), maxtrack=POINT(x=0, y=0), mintrack=POINT(x=2096, y=1187)))
I have checked and they both call showFullScreen about the same time at startup. Both have the same outer layer specs (sizes, minimums, etc) in the ui files.
Weird part is how is it getting 3458 if the resolution is only 3456? Resolution of screen is 3456x2160
UPDATE: I can actually reproduce this in Qt 6.4.3 in App 2 too, but again, App 1 is fine in both versions of Qt.
-
@wesblake 3 days in and I have gotten nowhere. I'm reproducing this on any 6.X version of Qt in App 2, still works fine in any of those versions on App 1.
Test team does swear the last version (6.4.3) it didn't happen but now they're seeing it in the last released version too, so I'm wondering if it could be some Windows OS update that started it?