Bug 501632 - Hide the "Shortcut" and "Alternate" columns from the shortcut chooser so people can't get confused and set local-only shortcuts
Summary: Hide the "Shortcut" and "Alternate" columns from the shortcut chooser so peop...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Clipboard widget & pop-up (other bugs)
Version First Reported In: 6.3.3
Platform: Other Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2025-03-17 11:59 UTC by Heimen Stoffels
Modified: 2025-06-19 18:27 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heimen Stoffels 2025-03-17 11:59:40 UTC
SUMMARY
I set a shortcut to open the history at the cursor position, but the history menu never shows.

STEPS TO REPRODUCE
1. Open the Klipper shortcut settings
2. Set a shortcut for it to open at the cursor position
3. 

OBSERVED RESULT
It doesn't open the history menu.

EXPECTED RESULT
It should show the history menu.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: CachyOS (based on Arch Linux)
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2025-03-17 17:01:04 UTC
There should be a default shortcut set, with a value of Meta+V (Meta being the Windows key on most keyboards). Does that not work for you?
Comment 2 Heimen Stoffels 2025-03-17 18:03:30 UTC
(In reply to Nate Graham from comment #1)
> There should be a default shortcut set, with a value of Meta+V (Meta being
> the Windows key on most keyboards). Does that not work for you?

That doesn't work. But I don't like that shortcut anyway, so I set a different one that also doesn't work. So either way, none of the shortcuts (default or not) bring up the history menu under the cursor location.
Comment 3 Nate Graham 2025-03-19 18:34:53 UTC
Does any of this work in a new clean user account?
Comment 4 Heimen Stoffels 2025-03-19 18:37:43 UTC
(In reply to Nate Graham from comment #3)
> Does any of this work in a new clean user account?

It does not.
Comment 5 Nate Graham 2025-03-19 18:39:59 UTC
In that case it seems like there is a serious problem somewhere: either a code problem, or perhaps a problem with your distro's packaging of this software, or perhaps  a configuration at the system level that you made in the past

I can't reproduce it on my system and this is the only bug report we have about it, so at this point I'm leaning towards one of the latter two options. I'd recommend asking your distro's packagers or QA team for help with this.
Comment 6 Heimen Stoffels 2025-03-19 18:42:16 UTC
(In reply to Nate Graham from comment #5)
> In that case it seems like there is a serious problem somewhere: either a
> code problem, or perhaps a problem with your distro's packaging of this
> software, or perhaps  a configuration at the system level that you made in
> the past
> 
> I can't reproduce it on my system and this is the only bug report we have
> about it, so at this point I'm leaning towards one of the latter two
> options. I'd recommend asking your distro's packagers or QA team for help
> with this.

Thanks. It's fairly clean Plasma install, so I don't think it's a configuration issue, but it could be a packaging issue. I'll ask them about it and will point them to this bug.
Comment 7 Heimen Stoffels 2025-05-19 16:08:27 UTC
I asked the CachyOS team, but they didn't respond. However, I just tried to replicate this bug on Fedora 42 KDE and I encountered this bug there as well. So it doesn't seem likely to me that it's just a packaging issue. Would you mind looking into this after all?
Comment 8 Nate Graham 2025-05-19 20:58:21 UTC
I cannot reproduce it in Fedora KDE 42. :/
Comment 9 Heimen Stoffels 2025-05-23 20:15:14 UTC
Alright, so after a little more playing around, it turns out it does work, but only if I set the shortcut to global, not in the ‘Shortcut’ column. Which is still a bug in my eyes, as it used to work fine in the first column. And even if it's an intented change, it should be made more clearly that ‘Global’ is now the preferred option.
Comment 10 Nate Graham 2025-05-23 20:35:32 UTC
Ah, well-spotted! That means you were setting it as an application-local shortcut. In this case the application is Plasma, so it would only work when a part of Plasma had focus, but not at other times.

We should hide all the "Shortcut" and "Alternate" columns here since only global shortcuts make sense for this UI. I'll throw it on the to-do list.
Comment 11 Heimen Stoffels 2025-05-24 08:15:12 UTC
Thanks in advance! 🙂
Comment 12 Bug Janitor Service 2025-06-19 12:58:01 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5608
Comment 13 Akseli Lahtinen 2025-06-19 16:17:37 UTC
Git commit 1d3fe2ac0c0e640f0b66ec1e1d34f0e0196bbd7d by Akseli Lahtinen.
Committed on 19/06/2025 at 16:00.
Pushed by akselmo into branch 'master'.

Klipper: Remove local Configure Klipper action

This action would cause the shortcuts configuration menu to show
both local and global shortcuts, which makes no sense due to
Klipper being a globally accessed application.

This action is only used in cases where Klipper will be it's own
application with a normal window, similar to applications like Dolphin,
Kate, etc.. But Klipper is never used this way.

Currently only place where you can use this action is the configuration
menu itself, where it does nothing, since the menu is already open.

So let's just remove it. This also makes sure users do not accidentally
select "Shortcut/Alternate" instead of "Global Shortcut/Alternate"
for their shortcuts. See the related bug for context.
FIXED-IN: 6.4.1

M  +0    -6    klipper/klipper.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/1d3fe2ac0c0e640f0b66ec1e1d34f0e0196bbd7d
Comment 14 Akseli Lahtinen 2025-06-19 18:27:24 UTC
Git commit d286dce389e90428f04115fdb631a381d4942641 by Akseli Lahtinen.
Committed on 19/06/2025 at 17:46.
Pushed by akselmo into branch 'Plasma/6.4'.

Klipper: Remove local Configure Klipper action

This action would cause the shortcuts configuration menu to show
both local and global shortcuts, which makes no sense due to
Klipper being a globally accessed application.

This action is only used in cases where Klipper will be it's own
application with a normal window, similar to applications like Dolphin,
Kate, etc.. But Klipper is never used this way.

Currently only place where you can use this action is the configuration
menu itself, where it does nothing, since the menu is already open.

So let's just remove it. This also makes sure users do not accidentally
select "Shortcut/Alternate" instead of "Global Shortcut/Alternate"
for their shortcuts. See the related bug for context.
FIXED-IN: 6.4.1


(cherry picked from commit 1d3fe2ac0c0e640f0b66ec1e1d34f0e0196bbd7d)

Co-authored-by: Akseli Lahtinen <akselmo@akselmo.dev>

M  +0    -6    klipper/klipper.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/d286dce389e90428f04115fdb631a381d4942641