Bug 463915 - Custom shortcuts do not work
Summary: Custom shortcuts do not work
Status: RESOLVED WORKSFORME
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_khotkeys (other bugs)
Version First Reported In: 5.26.0
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Michael Jansen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-06 08:49 UTC by rusconi
Modified: 2023-01-18 19:35 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rusconi 2023-01-06 08:49:13 UTC
Greetings, 

since the last two updates of plasma on my debian testing machine (quite recently), I noticed that my custom shortcuts do not work right after login. 

Interestingly, I also noticed that at some point they would work, according to the following sequence:

- open the System Settings window:  not yet
- select Shortcuts: not yet
- select Custom shortcuts: not yet
- select my own group of shortcuts without modifying anything: yes! the shortcuts work.

I hope this is enough to trace back the problem.

Thank you for such an amazing desktop !
Filippo
Comment 1 Nate Graham 2023-01-09 21:25:48 UTC
Are you using X11 or Wayland?

Were these custom shortcuts using the "Custom Shortcuts" page in system settings, or the "Shortcuts" page?
Comment 2 rusconi 2023-01-11 08:33:56 UTC
(In reply to Nate Graham from comment #1)
> Are you using X11 or Wayland?
> 
> Were these custom shortcuts using the "Custom Shortcuts" page in system
> settings, or the "Shortcuts" page?

Greetings,
thank you for your response.
First of all, after a second upgrade, the situation is more erratic: some times the shortcuts do not work and then other times they do. It seems like there might be a timer that waits for them to be configured and set.
Anyhow, I am using Xorg.
Sincerely,
Filippo
PS One thing I am starting to see as I go: if I start firefox with my custom shortcut Win+F, after some time it crashes (or closes, I cannot tell). At that point, I try to use the custom shortcut again, and that time it would not work (Firefox does not start). I start it using KRunner and then it never crashes (or closes).
Comment 3 Nate Graham 2023-01-11 15:19:25 UTC
But were these custom shortcuts set using the "Custom Shortcuts" page in system settings, or the "Shortcuts" page?
Comment 4 rusconi 2023-01-12 08:33:38 UTC
(In reply to Nate Graham from comment #3)
> But were these custom shortcuts set using the "Custom Shortcuts" page in
> system settings, or the "Shortcuts" page?

Yes, they were set there in the "Custom Shortcuts" (that was years ago :-)
Sincerely
Filippo
Comment 5 Nate Graham 2023-01-12 20:45:20 UTC
Thanks. JFYI the "Custom Shortcuts" page is deprecated and I would recommend migrating your shortcuts to the newer "Shortcuts" page
Comment 6 rusconi 2023-01-18 09:29:45 UTC
Greetings, 

having followed your suggestion that Custom shortcuts should now be moved to the Shortcuts section, I have not observed the reported failures anymore. Maybe we could close the issue since people experiencing the same issues will know here how to proceed to fix them ?
Anyways, most sincerely,
Filippo
PS Keep up with the wonderful work you do in KDE/Plasma :-)
Comment 7 Nate Graham 2023-01-18 19:35:31 UTC
Oh good! Thanks for the kind words :)