Skip to content

Keep toplevel windows in the top left corner of the screen

David Redondo requested to merge davidre/qtwayland:qtwayland-submenuFix into kde/5.15

We can't know the actual position of a window on the screen. This causes an issue when Widgets try to position a popup/menu absolutely and keep it on the screen when the screen geometry doesn't include (0,0). Instead report their positions always as the top left corner of the screen that they are on. This new behavior can be disabled for qt-shell or via an environment variable by users that rely on the old behavior.

Fixes: QTBUG-85297 Change-Id: Iacb91cb03a0df87af950115760d2f41124ac06a3 Reviewed-by: Qt CI Bot qt_ci_bot@qt-project.org Reviewed-by: David Edmundson davidedmundson@kde.org Reviewed-by: Aleix Pol Gonzalez aleixpol@kde.org (cherry picked from commit a46795a2)

Merge request reports