Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.6.1
-
None
-
NixOS (Linux) 24.05 (nixpkgs commit 40c3c94c241286dd2243ea34d3aef8a488f9e4d0)
Wayland (Hyprland and Sway compositors)
Description
Under wayland, `Window` components slowly increase their X position when setting visible between true and false. I have set the Qt.ToolTip flag to get a positionable popup window and every time visible is set to true, X increases by 1. The Y position is not affected. See Bug.qml and Bug.mp4 for an example.
Note that setting the X position before setting the window to visible works as a band-aid fix, and you must also adjust for the 1px offset. See BugBadFix.qml and BugBadFix.mp4.
This has been tested under the Hyprland and Sway wayland compositors. It does not happen when running with `QT_QPA_PLATFORM=xcb`.