Bug 405841 - Wrong Dialog positions on Wayland
Summary: Wrong Dialog positions on Wayland
Status: RESOLVED FIXED
Alias: None
Product: libplasma
Classification: Frameworks and Libraries
Component: libplasmaquick (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR major
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
: 405906 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-03-24 22:25 UTC by Matthieu Gras
Modified: 2021-10-18 01:50 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
could not create a proper screenshot on wayland (120.73 KB, image/jpeg)
2019-03-24 22:25 UTC, Matthieu Gras
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthieu Gras 2019-03-24 22:25:21 UTC
Created attachment 119011 [details]
could not create a proper screenshot on wayland

In Qt 5.13 QWindow::geometry() QtWayland returns (0,0) for the window position.
But Dialog::popupPosition() uses the position of the visual parent to calculate the position of the popup.


STEPS TO REPRODUCE
1. Open Kickoff

SOFTWARE/OS VERSIONS
KDE Plasma Version: git master
KDE Frameworks Version: git master
Qt Version: 5.13 git
Comment 1 Patrick Silva 2019-03-26 08:50:03 UTC
I noticed the same bug testing Qt 5.13 betq1 on Arch Linux.
Comment 2 Patrick Silva 2019-03-28 10:33:17 UTC
*** Bug 405906 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2021-03-23 12:43:38 UTC
Cannot reproduce with Qt 5.15.3 and Plasma 5.21.3 Can you?
Comment 4 Matthieu Gras 2021-03-23 12:52:36 UTC
no, this was fixed (don't know when exactly)