Under wayland with two screens, on the secondary screen the context menu for the information panel is not positioned correctly.
STEPS TO REPRODUCE
1. Have two screens, on the left one, open a dolphin window with the information panel
2. Right on the information panel
The context menu is opened to the top left pixel of the dolphin window.
The context menu is opened at the mouse position.
(available in About System)
KDE Plasma Version: 5.15.1
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.1
I have tested this behavior under X server and it is not affected.
https://bugs.kde.org/show_bug.cgi?id=384637 makes it difficult to have a screenshot unfortunately.
Yeah, However you should be able to take a full screen screenshot using a timer, and crop it manually afterwards.
Git commit 40896c02d996f69f7bf4e8adebe28acdbff8d350 by Nate Graham, on behalf of Méven Car.
Committed on 12/03/2019 at 15:25.
Pushed by ngraham into branch 'master'.
Correctly position context menu of the information panel under wayland with a secondary screen
According to my testing this bug occurs because Qcursor::pos() does not work as expected under wayland on a secondary screen, then it returns inaccurate data.
This could hide bugs elsewhere.
Under Wayland test the context menu on both screens.
Do the same under Xorg.
Reviewers: #dolphin, elvisangelaccio
Reviewed By: #dolphin, elvisangelaccio
Subscribers: elvisangelaccio, ngraham, nicolasfella, kfm-devel
Differential Revision: https://phabricator.kde.org/D19535
M +1 -1 src/panels/information/informationpanel.cpp
M +2 -2 src/panels/information/informationpanelcontent.cpp
M +1 -1 src/panels/information/informationpanelcontent.h