Bug 499942 - Can no longer right-click to show context menu on draggable file icon in notifications
Summary: Can no longer right-click to show context menu on draggable file icon in noti...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (other bugs)
Version First Reported In: 6.3.0
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2025-02-13 00:33 UTC by Eamonn Rea
Modified: 2025-02-20 16:08 UTC (History)
3 users (show)

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


Attachments
Plasma 6.3.0 Notification Issue (67.79 KB, video/webm)
2025-02-18 22:22 UTC, Eamonn Rea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eamonn Rea 2025-02-13 00:33:52 UTC
SUMMARY
In Plasma 6.2.X, you could right click on some notifications to bring up a context menu. For example, when saving an image from Firefox, you could right click and get a list of options (such as "Copy"). However in Plasma 6.3.0 it is not possible to right click to open this menu.

Note that as a workaround, there is a button on the notification that displays this. But right-clicking does not work.

STEPS TO REPRODUCE
1. Activate a notification that has some data in it, such as saving an image with Firefox, exporting a video from Kdenlive, etc.
2. Right click on the notification icon on the right-hand side.
3. The context menu does not appear.

OBSERVED RESULT
The context menu cannot be activated on notifications in Plasma 6.3.0

EXPECTED RESULT
The context menu should be available on notifications.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2025-02-18 17:04:59 UTC
Any chance you could attach a screen recording of it happening? In my testing here, everything seems to be working fine. But there are a lot of kinds of notifications, so it's possible I missed something.
Comment 2 Eamonn Rea 2025-02-18 22:22:24 UTC
Created attachment 178554 [details]
Plasma 6.3.0 Notification Issue
Comment 3 Eamonn Rea 2025-02-18 22:23:34 UTC
No problem, I have created a recording of this happening when saving an image from Firefox, just as described in the opening issue. When my cursor goes over the icon in the notification, I am right-clicking, although you can't actually know that from the video :-)

I have also confirmed the problem on my laptop, running the same Plasma versions as it also runs Arch, although the attached recording was taken on my Desktop PC.

I saw that Plasma 6.3.1 is available in the Arch repositories now, I will update and confirm if the problem still exists.
Comment 4 Eamonn Rea 2025-02-18 22:29:52 UTC
The issue still occurs on Plasma 6.3.1.
Comment 5 Nate Graham 2025-02-19 21:28:12 UTC
I can reproduce the issue now. I didn't even know that the icon was right-clickable! Which probably explains why I didn't notice the issue  while testing for regressions with the notification code refactor in Plasma 6.3. We'll get this addressed.
Comment 6 Bug Janitor Service 2025-02-19 23:11:11 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5235
Comment 7 Nate Graham 2025-02-20 15:35:49 UTC
Git commit 2441f06206985c42d593a810186e22d1b4468bd3 by Nate Graham.
Committed on 20/02/2025 at 15:00.
Pushed by ngraham into branch 'master'.

applets/notifications: fix JobItemIcon context menu

Looks like a copy-paste error; the lines being removed here are relevant
in ThumbnailStrip.qml, but not here. Here they halt the execution and
prevent the context menu from being shown.
FIXED-IN: 6.3.2

M  +0    -3    applets/notifications/package/contents/ui/components/JobIconItem.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/2441f06206985c42d593a810186e22d1b4468bd3
Comment 8 Nate Graham 2025-02-20 16:08:43 UTC
Git commit 377e24c92ed6d71e1a75586e136ad8a6f06f5719 by Nate Graham.
Committed on 20/02/2025 at 15:36.
Pushed by ngraham into branch 'Plasma/6.3'.

applets/notifications: fix JobItemIcon context menu

Looks like a copy-paste error; the lines being removed here are relevant
in ThumbnailStrip.qml, but not here. Here they halt the execution and
prevent the context menu from being shown.
FIXED-IN: 6.3.2


(cherry picked from commit 2441f06206985c42d593a810186e22d1b4468bd3)

Co-authored-by: Nate Graham <nate@kde.org>

M  +0    -3    applets/notifications/package/contents/ui/components/JobIconItem.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/377e24c92ed6d71e1a75586e136ad8a6f06f5719