Bug 440727 - "Invoke action" button is still shown when no action is available
Summary: "Invoke action" button is still shown when no action is available
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Clipboard widget & pop-up (other bugs)
Version First Reported In: 5.22.4
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: usability
: 507387 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-08-08 09:00 UTC by Corentin Girard
Modified: 2026-09-15 22:37 UTC (History)
9 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Corentin Girard 2021-08-08 09:00:00 UTC
SUMMARY

It's annoying to think actions are available because the "Invoke action" button is shown, to click on it and that nothing happens.

OBSERVED RESULT

The "Invoke action" button is always present.

EXPECTED RESULT

The "Invoke action" button should show only when actions are available.

SOFTWARE/OS VERSIONS
Linux: 5.13.5
KDE Plasma Version: 5.22.4
Comment 1 Nate Graham 2021-08-09 16:43:55 UTC
I see that the code even has this in it:

// TODO: only show for items supporting actions?

:/
Comment 2 Unknown 2023-08-23 23:19:53 UTC
I'm sorry, can you clarify what you mean? What do you mean by "Invoke action" in the clipboard component?
Comment 3 tempqd 2025-10-01 01:05:36 UTC
I suppose an alternative way to "fix" this is to have a default "Save as..." action for any arbitrary clipboard entry. Maybe a "Send to device..." too if KDE Connect is active.
Comment 4 Tamás Králl 2025-11-20 18:04:28 UTC
This is still an issue on Plasma 6.3.6 (Debian 13). By default, clicking on 'Invoke action' doesn't do anything. To a newcomer, who is unlikely to know what actions are, this isn't a good experience. The button should either not be there or it should open the clipboard settings on the Actions Configuration page, in my opinion.
Comment 5 Fushan Wen 2025-11-22 00:54:01 UTC
This can be done after https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/6008 is merged
Comment 6 Bug Janitor Service 2026-09-02 18:05:16 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/7005
Comment 7 Bug Janitor Service 2026-09-02 18:05:18 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/7005
Comment 8 Tomáš Hnyk 2026-09-02 18:06:49 UTC
I am not sure how MR 6008 is relevant, actually. That relates to a completely different window, actually, if I get it correctly.
Comment 9 Tomáš Hnyk 2026-09-03 16:10:38 UTC
*** Bug 509847 has been marked as a duplicate of this bug. ***
Comment 10 Tomáš Hnyk 2026-09-10 18:51:24 UTC
*** Bug 507387 has been marked as a duplicate of this bug. ***
Comment 11 Tomáš Hnyk 2026-09-15 22:37:28 UTC
Git commit 6f176c7da69b05f90555ea2b1c1461168ba46833 by Tomáš Hnyk.
Committed on 15/09/2026 at 21:31.
Pushed by ngraham into branch 'master'.

Klipper: Show the action button only when an action matches

The delegate's Invoke action button is now hidden unless the entry has
a matching action, like the QR code and edit buttons are hidden for
non-text entries.

M  +2    -1    klipper/declarative/qml/DelegateToolButtons.qml
M  +9    -0    klipper/historymodel.cpp
M  +7    -1    klipper/historymodel.h
M  +1    -0    klipper/klipper.cpp
M  +17   -0    klipper/urlgrabber.cpp
M  +5    -0    klipper/urlgrabber.h

https://invent.kde.org/plasma/plasma-workspace/-/commit/6f176c7da69b05f90555ea2b1c1461168ba46833