-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Update window state in QWindowsWindow and QXcbWindow geometry…
… setters" This reverts commit 99c8ffb. It fixed QTBUG-104201, which in essence pointed out a state mismatch between widgets and platform windows on Linux (X11 and wayland). Mismatches occurred in the margins between calls to QWidget and async screen rendering: While the widget layer reported the expected size, the platform layer did so only after the rendering thread had finished. As mentioned in the comments of QTBUG-104201, the state mismatch is predictable, temporary and consistent. By bridging the time gab, an async operation was made to look synchronous. That gave more comfort to application developers. By oversight, it broke code that relied on the platform window state reflecting physical rendering. This has caused QTBUG-126479 as a regression. Both purposes can't be served at the same time: The platform window state either reflects rendering, or the expected state. It's therefore justified to revert. Reason for revert: <Causes QTBUG-126479> Pick-to: 6.8 6.7 6.5 Fixes: QTBUG-126479 Task-number: QTBUG-104201 Change-Id: I22380a6a463822a1cb4be90a44d2775954c7ca82 Reviewed-by: Liang Qi <[email protected]>
- Loading branch information
Showing
3 changed files
with
0 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters