Bug 342263 - Deleting a shortcut remains as a "ghost", and isn't really removed, just changes context
Summary: Deleting a shortcut remains as a "ghost", and isn't really removed, just chan...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_khotkeys (show other bugs)
Version: 5.1.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Michael Jansen
URL: http://imgur.com/ycvQaYp
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-27 22:36 UTC by Chris
Modified: 2024-03-04 19:41 UTC (History)
1 user (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 Chris 2014-12-27 22:36:57 UTC
I created a custom shortcut to run a wine command:

wine C:/Program\ Files\ \(x86\)/foobar2000/foobar2000.exe /playpause

Since it didn't work for some reason (though it worked when I copied it into a terminal) I deleted it. Then when I tried to redo it, I found that it was asking me if I wanted to overwrite the existing shortcut for that binding (I had used Ctrl+Alt+Space). Which was weird cause it should've been gone, but it was now in Global Keyboard Shortcuts for khotkeys.

Reproducible: Couldn't Reproduce

Steps to Reproduce:
1. Created a custom global shortcut.
2. Tested it, didn't work.
3. Deleted it from Custom Shortcuts.

Actual Results:  
Showed up in khotkeys, can't delete.

Expected Results:  
It shouldn't have ended up in khotkeys shortcuts, and I should be able to delete it but can't.

Don't know how this happened, or how I could make it happen again.
Comment 1 Chris 2014-12-27 22:59:33 UTC
Oh hey, I was able to duplicate it after all.
http://imgur.com/y1TUiMt
Comment 2 Chris 2016-08-27 16:58:53 UTC
This doesn't happen anymore.
Comment 3 Shual Kravot 2020-10-10 09:49:32 UTC
oh, yes it does (khotkeys 5.18, kubuntu 20.04)
Comment 4 Chris 2020-10-10 20:34:41 UTC
I don't know if I tested this before, but the issue does resolve itself when I log out, and log back in. The shortcut does become available again at this point.
Comment 5 Shual Kravot 2020-10-12 07:47:37 UTC
This needs to be mentioned in the UI;

Some shortcuts work immediately, others require a logout / login

Should I raise a bug / feature request?
Comment 6 Chris 2020-10-13 03:08:53 UTC
I edited the subject to make it work for both issues.
Comment 7 Shual Kravot 2020-10-13 15:47:54 UTC
I tried again.

It appears to be a problem specifically with unicode:

I deleted the old shortcuts,
and created 2 new shortcuts;
I rebooted.

When I press the key combo, the screen flickers, but the correct keys are not typed in.
Since the desktop is sometimes "doing stuff" when I press the key combo, like raising tasks in the taskbar or windows, I assume that the Unicode is sent to the desktop as "raw/bytes", and not as a unicode key.

To confirm that, I remapped the same key-combo (Meta+N) as ascii keyboard input, and it works immediately, flawlessly (no logout necessary).

I'm trying to input these characters:  ₪, €

The ubject, hence, need to change again. Shall I create a new bug report?
Comment 8 Chris 2020-10-14 04:24:13 UTC
I'm going to leave this subject as it is, as a moderator(?) edited the summary earlier today.
Comment 9 Nate Graham 2024-03-04 19:41:50 UTC
As announced in https://pointieststick.com/2023/07/26/what-we-plan-to-remove-in-plasma-6/ and https://community.kde.org/Plasma/Plasma_6#Removals, I'm afraid KHotKeys has reached end-of-life in Plasma 6. Accordingly, all bug reports and feature requests for it must be closed now.

Most of what KHotKeys could do can already be done with the newer KGlobalAccel system in Plasma 6. A few features such as mouse gestures and triggering conditions based on changes to window states are not yet implemented in the new system. These will be added in the future if and when resources materialize for them, and/or when a kind soul submits patches to implement them! :) Meanwhile, the 3rd-party "Mouse Actions" app (https://github.com/jersou/mouse-actions) may be usable for implementing your own mouse gestures again.

Thanks for your understanding, everyone.