When running a multi-display setup (all different resolutions: https://i.imgur.com/U57md1f.png ), the right-click menu for tasks is positioned correctly only on the leftmost display. This is the case for bottom and top edge taskbars on all but the leftmost display. Reproducible: Always Steps to Reproduce: 1. Start plasma with multiple monitors of different resolutions. 2. Place task manager widget anywhere but the leftmost screen. 3. Right click on any open task in the task manager. Actual Results: Right-click menu appears left of the task entry, rather than directly above it. That is, the right edge of the menu aligns with the left edge of the task entry. Expected Results: Right click menu should appear directly above the task entry.
What version of KDE Frameworks do you have?
KDE Frameworks version 5.23.0
David, is your reworked menu positioning code in .23?
I don't see this issue anymore with KDE Frameworks 5.24
Thanks!
I still see this issue with git master plasma-framework (and 5.7 branch of plasma-workspace/plasma-desktop), it happens when the context menu would exceed screen boundaries, ie. move task manager to the right most position of the panel, then right click the rightmost window. This also happens in the default setup (digital clock and system tray right of it) when the menu is wide enough due to recent documents.
I assume the original bug report was a multi monitor issue, with QScreen not being used in the right way in frameworks. For the second problem mentioned by Kai, this should be fixed with https://phabricator.kde.org/D4867
Kai's problem should be fixed with: https://cgit.kde.org/plasma-framework.git/commit/?id=daee27f0962d7e0fe6cb38859689ea5f73c74379 Closing again.