Bug 433842 - Custom shortcut created in previous version don't work
Summary: Custom shortcut created in previous version don't work
Status: RESOLVED DOWNSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_khotkeys (other bugs)
Version First Reported In: 5.20.3
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Michael Jansen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-02 08:07 UTC by elman
Modified: 2021-04-19 21:28 UTC (History)
1 user (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 elman 2021-03-02 08:07:21 UTC
SUMMARY
I use Flameshot as screenshotting tool. In previous versions of Plasma/Frameworks I created custom shortcuts using configuration file https://github.com/flameshot-org/flameshot/blob/master/docs/shortcuts-config/flameshot-shortcuts-kde . Now shortcuts don't work and I'm unable to change them. When I go to settings, I see group "Custom Shortcuts Service" where I can see "Take screenshot" with "Print" shortcut, but I can't see or change DBUS action.

STEPS TO REPRODUCE
1. Install Plasma 5.19
2. Import https://github.com/flameshot-org/flameshot/blob/master/docs/shortcuts-config/flameshot-shortcuts-kde
3. Upgrade to Plasma 5.21.1 

OBSERVED RESULT
Print shortcut does not work.

EXPECTED RESULT
Flameshot should be started.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro Testing
KDE Plasma Version: 5.21.1
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2021-03-02 18:34:31 UTC
KHotkeys is deprecated FWIW. Flameshot should be using DBus activation directly via KGlobalAccel and avoid the roundabout trip through KHotKeys.
Comment 2 elman 2021-03-03 14:18:55 UTC
I'm also using my own keyboard shortcuts for rotating screen. Now I see them in Custom Shortcuts Service, but they don't work and I can't change them. Is there a way to re-add shortcuts like these?
Comment 3 Nate Graham 2021-03-03 16:38:22 UTC
Remove them and re-add then, maybe?
Comment 4 elman 2021-03-04 10:11:08 UTC
Agreed. But I don't seen any option how to do it. I can only add shortcut for application launch.
Comment 5 elman 2021-04-19 21:20:54 UTC
Well it seems that the problem was missing khotkeys package. When I installed it, KCM "Custom Shortcuts" appeared and shortcuts started to work.
Comment 6 Nate Graham 2021-04-19 21:28:24 UTC
That would fix the problem, yeah. :)