Bug 457872 - some custom shortcuts stop working
Summary: some custom shortcuts stop working
Status: RESOLVED DUPLICATE of bug 440507
Alias: None
Product: frameworks-kglobalaccel
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-14 09:00 UTC by Rajinder Yadav
Modified: 2022-09-12 13:38 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rajinder Yadav 2022-08-14 09:00:11 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

I have custom shortcuts that I created and some of  them stop working. I've deleted the shortcut no working and recreated it and tried other key bindings and it still does not work.

One of the binding not working is: WIN+ALT+T to bring Kate 

System info:
Operating System: openSUSE Tumbleweed 20220812
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Kernel Version: 5.19.0-1-default (64-bit)
Graphics Platform: X11
Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3080/PCIe/SSE2
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7A38
System Version: 8.0

$ uname -a
Linux localhost.localdomain 5.19.0-1-default #1 SMP PREEMPT_DYNAMIC Tue Aug 9 16:38:40 UTC 2022 (8213b0c) x86_64 x86_64 x86_64 GNU/Linux
Comment 1 Nate Graham 2022-08-15 19:15:30 UTC
How exactly did you create the shortcuts that are failing?
Comment 2 Rajinder Yadav 2022-08-15 20:37:16 UTC
All my shortcuts already existed and were working fine and then broke after an update.

Go to system settings -> shortcuts
Click Add application, select Kate, assign shortcut.
Comment 3 Florian Stahl 2022-08-29 13:25:08 UTC
Same Problem for me in a VM. Can reproduce with Kate.
I added Kate to the shortcuts list and created "Meta + K" as a shortcut.
Pressing the shortcut starts the animation (bouncing icon alongside the cursor), but then nothing happens.
Kate does function though.

Operating System: Arch Linux
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Kernel Version: 5.19.4-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Xeon® CPU E5-2690 v4 @ 2.60GHz
Memory: 7.8 GiB of RAM
Graphics Processor: llvmpipe
Manufacturer: VMware, Inc.
Product Name: VMware7,1
System Version: None
Comment 4 Nate Graham 2022-08-30 16:08:45 UTC
> Pressing the shortcut starts the animation (bouncing icon alongside the cursor), but then nothing happens
That means the shortcut itself is working fine, but it's failing to launch Kate for some reason. This might be a different issue from what Rajinder is experiencing. Let's find out.

Rajinder, when you press the shortcut, do you also see the launch feedback animation and then the app fails to launch? Or do you see no launch feedback animation?

And can you verify that the kglobalaccel daemon is running on your system?
Comment 5 Rajinder Yadav 2022-08-30 21:00:42 UTC
Hi Nate, 

on openSUSE TW I do not see any indication of Kate opening up from the desktop. I just tried now looking at the toolbar also, nothing is crashing on launch. I can open Kate fine from the terminal and run command.
Comment 6 Rajinder Yadav 2022-08-30 21:04:25 UTC
Also yes kglobalaccel is running fine see it in System Activity, also my other shortcuts continue to work, including a custom shortcut to open Krita.
Comment 7 Nate Graham 2022-09-01 13:29:51 UTC
Ah I know what this is. It's the same issue as Bug 440507 due to a recent change in Kate's desktop file. The issue is already fixed in frameworks 5.97, which you didn't have at the time this bug was filed.

*** This bug has been marked as a duplicate of bug 440507 ***
Comment 8 Rajinder Yadav 2022-09-03 17:45:37 UTC
I got 5.97 now, rebooted my system, delete the global shortcut to Kate, reapplied it, still broken.

Operating System: openSUSE Tumbleweed 20220901
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Kernel Version: 5.19.2-1-default (64-bit)
Graphics Platform: X11
Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3080/PCIe/SSE2
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7A38
System Version: 8.0
Comment 9 Rajinder Yadav 2022-09-07 04:18:39 UTC
I also need to mention I have another global shortcut to open LibreOffice Calc that also stop working at the same time, so this is not a Kate related bug and I would reopen this and not mark this is a dup.
Comment 10 Nate Graham 2022-09-09 17:33:56 UTC
It could easily still be the same bug if Libreoffice also puts command-line args in its desktop file's exec= line. Can you see if yours does?
Comment 11 Rajinder Yadav 2022-09-12 05:56:58 UTC
If I look at the menu for how LibrOffice Cala is being called, the command has the following, "libreoffice --calc %U"
Are you stay this is the same bug as in Kate?
Comment 12 Nate Graham 2022-09-12 13:38:50 UTC
Yep.