Bug 365451 - Task context menu incorrectly positioned to the left in multi-display mode
Summary: Task context menu incorrectly positioned to the left in multi-display mode
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (show other bugs)
Version: 5.7.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL: https://i.imgur.com/5kL1WZD.png
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-12 01:21 UTC by junk
Modified: 2017-03-02 20:10 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description junk 2016-07-12 01:21:27 UTC
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.
Comment 1 Eike Hein 2016-07-12 07:55:38 UTC
What version of KDE Frameworks do you have?
Comment 2 junk 2016-07-12 08:01:12 UTC
KDE Frameworks version 5.23.0
Comment 3 Eike Hein 2016-07-12 08:07:36 UTC
David, is your reworked menu positioning code in .23?
Comment 4 junk 2016-07-20 08:38:54 UTC
I don't see this issue anymore with KDE Frameworks 5.24
Comment 5 Eike Hein 2016-07-20 08:40:22 UTC
Thanks!
Comment 6 Kai Uwe Broulik 2016-07-20 08:48:08 UTC
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.
Comment 7 Roman Gilg 2017-03-01 16:15:17 UTC
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
Comment 8 Roman Gilg 2017-03-02 20:10:39 UTC
Kai's problem should be fixed with:
https://cgit.kde.org/plasma-framework.git/commit/?id=daee27f0962d7e0fe6cb38859689ea5f73c74379

Closing again.