Bug 450383 - In the expanded grid, context menu for app icons (not Plasma applets) appears at edge of grid item, not right under the cursor
Summary: In the expanded grid, context menu for app icons (not Plasma applets) appears...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray widget (other bugs)
Version First Reported In: 5.24.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2022-02-16 13:35 UTC by Jin Liu
Modified: 2024-10-16 17:22 UTC (History)
3 users (show)

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


Attachments
notifications (102.42 KB, image/png)
2022-02-16 13:35 UTC, Jin Liu
Details
update (94.02 KB, image/png)
2022-02-16 13:36 UTC, Jin Liu
Details
touchpad (91.09 KB, image/png)
2022-02-16 13:41 UTC, Jin Liu
Details
update, bottom panel (121.24 KB, image/png)
2022-02-17 01:59 UTC, Jin Liu
Details
applet, 6.2-dev (270.66 KB, image/png)
2024-08-24 03:43 UTC, Jin Liu
Details
app, 6.2-dev (334.27 KB, image/png)
2024-08-24 03:45 UTC, Jin Liu
Details
tray menu (99.36 KB, image/png)
2024-10-11 01:51 UTC, Jin Liu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jin Liu 2022-02-16 13:35:10 UTC
Created attachment 146815 [details]
notifications

SUMMARY
In the expanded icon list of system tray, when right clicking, the menu doesn't appear just under the mouse cursor, as in KDE apps and elsewhere in plasmashell. It seems to be placed next to an invisible border of the icon, either to the right or bottom.

STEPS TO REPRODUCE
1. Click the system tray's arrow.
2. Right click on an icon.

OBSERVED RESULT
Right-click menu appears some distance to the right or bottom of the mouse cursor.

EXPECTED RESULT
Right-click menu appears just under the mouse cursor.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Jin Liu 2022-02-16 13:36:13 UTC
Created attachment 146816 [details]
update
Comment 2 Jin Liu 2022-02-16 13:41:42 UTC
Created attachment 146817 [details]
touchpad
Comment 3 Nate Graham 2022-02-16 19:08:21 UTC
Can you try again with 5.24.1? Does it still happen there?
Comment 4 Jin Liu 2022-02-17 01:58:07 UTC
(In reply to Nate Graham from comment #3)
> Can you try again with 5.24.1? Does it still happen there?

Yes, the same in 5.24.1.
And I tested when the panel is on the bottom edge of the screen. Same problem, but those menu popping up to the right of the icon (like "update") now is to the above (see attachment).
Comment 5 Jin Liu 2022-02-17 01:59:28 UTC
Created attachment 146845 [details]
update, bottom panel
Comment 6 Konrad Materka 2022-02-18 20:28:01 UTC
(In reply to Jin Liu from comment #5)
> Created attachment 146845 [details]
> update, bottom panel

Do you have screenshot of how it looked before? The longer I look at new screenshots, the more it looks like it always was this way :)
Comment 7 Nate Graham 2022-02-21 21:41:19 UTC
Can reproduce.
Comment 8 Nate Graham 2024-08-23 21:29:02 UTC Comment hidden (spam)
Comment 9 Jin Liu 2024-08-24 03:43:48 UTC
Created attachment 172898 [details]
applet, 6.2-dev
Comment 10 Jin Liu 2024-08-24 03:45:04 UTC
Created attachment 172899 [details]
app, 6.2-dev

Unfortunately, for me it's still the same as before. Built from today's master. See the last two attachments.
Comment 11 Nate Graham 2024-08-28 22:22:20 UTC Comment hidden (spam)
Comment 12 Jin Liu 2024-10-11 01:51:19 UTC
With the new systray expander design, now the difference is app's menu popups above the icon, while widget's below the icon.

If we change the popup menu from widgets to appear above the icon, it would be consistent with apps. It would also fix the problem that pointer cursor blocks the menu text (see attachment)
Comment 13 Jin Liu 2024-10-11 01:51:38 UTC
Created attachment 174663 [details]
tray menu
Comment 14 Nate Graham 2024-10-16 17:22:40 UTC
Yeah, that seems sensible.