Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Qt 6.6.0 Windows Unable to set geometry Issue #320

Open
ollie-dawes opened this issue Nov 11, 2023 · 3 comments
Open

Qt 6.6.0 Windows Unable to set geometry Issue #320

ollie-dawes opened this issue Nov 11, 2023 · 3 comments
Assignees
Labels
won't fix This will not be worked on

Comments

@ollie-dawes
Copy link
Contributor

Tested out framelesshelper width Qt 6.6.0 today and I see the following issue. If you run the quick or widget examples and drag the window to a second monitor then the window will fail to resize and you will be left with a incorrectly rendered space at the bottom of the window which is suspiciously the same size as the title bar.

Quick window after moving to second window:
image

The widget example will fix itself after about a second but the quick example requires you to resize the window for the issue to go away.

The following warning is logged every time I move the window between monitors:

[2023/11/11 13:31:44.170] <WARNING> QWindowsWindow::setGeometry: Unable to set geometry 160x600+1200+620 (frame: 176x608+1192+620) on ApplicationWindow_QMLTYPE_2/"" on "DELL U2715H". Resulting geometry: 160x631+1200+589 (frame: 176x639+1192+589) margins: 8, 0, 8, 8)

Note that the issue does not present it self if I switch back down to Qt 6.5.0.


Environment:
Edition Windows 10 Pro
Version 22H2
Installed on ‎13/‎02/‎2021
OS build 19045.3570
Experience Windows Feature Experience Pack 1000.19052.1000.0

@wangwenx190
Copy link
Owner

Qt 6.5.3 & 6.6.0 has bug which is fixed in later versions: 6.5.4 & 6.6.1. This is not a FramelessHelper bug.

@wangwenx190 wangwenx190 self-assigned this Nov 13, 2023
@wangwenx190 wangwenx190 added the won't fix This will not be worked on label Nov 13, 2023
@wangwenx190
Copy link
Owner

I can't "fix" this bug because it's very hard to workaround, please downgrade your Qt version or build a newer version from source yourself.

@ollie-dawes
Copy link
Contributor Author

Gotcha, if this is a Qt issue then feel free to close.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
won't fix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants