Bug 397279 - CTRL+P shortcut being swallowed before application / Changed settings not the same on restart
Summary: CTRL+P shortcut being swallowed before application / Changed settings not the...
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-kglobalaccel
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 5.48.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-08 16:11 UTC by Steve Ramage
Modified: 2022-12-30 05:24 UTC (History)
1 user (show)

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


Attachments
kglobalshortcutsrc file (13.22 KB, text/plain)
2018-08-08 16:14 UTC, Steve Ramage
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Ramage 2018-08-08 16:11:53 UTC
Overview: 

Applications (both Plasma) such as Kate and (non Plasma) such as IntelliJ don't seem to receive the Ctrl+P shortcut when pressed.

Steps to Reproduce:

1) Open either application, hit Ctrl+P

Actual Results:

Nothing

Expected Results: 

Print Dialog should show up in Kate, View Parameter Info should show up in IntelliJ.

Build Date & Platform: 

Arch Linux x86_64, running kglobalaccel 5.48.0-1.

Additional Information:

* Evidence pointing to kglobalaccel and that it isn't a setup issue.
1) It took a while to figure out what was happening, following the advice of (https://unix.stackexchange.com/questions/261371/how-do-i-find-out-what-program-owns-a-hotkey) and (https://bbs.archlinux.org/viewtopic.php?id=179957), lead me to use XF86LogGrabInfo to see what was grabbing the shortcut and it was kglobalaccel5.

2) If I killed kglobalaccel5 process, then the short cuts in both Kate and IntelliJ started to work.

* Weird behaivour with Global Shortcuts

1) There is no shortcut for Ctrl+P anywhere in settings that I can see, however I did notice the following behaviour.

2) If I assign something to have a shortcut of Ctrl+P anywhere, that short cut works fine (e.g., take screenshot). 

3) If I then unassign that short cut, then the short cut stops doing it's action, however it starts working in IntelliJ and kate.

4. If I then restart kglobalaccel I'm back to square one, nothing happens when hitting Ctrl+P, and nothing is mapped to it.
Comment 1 Steve Ramage 2018-08-08 16:14:04 UTC
Created attachment 114378 [details]
kglobalshortcutsrc file
Comment 2 Steve Ramage 2018-08-25 22:55:44 UTC
Oh I have an update and/or workaround.

I'm not sure why but the run command for me had a short cut of CTRL+R. It doesn't work, but I have two keyboard layouts, Dvorak and US.

When a physically US keyboard (i.e., QWERTY) is set to Dvorak the QWERTY becomes "<>PY.

I'm not sure but this run command short cut seems to be conflict. It doesn't work when set to CTRL+R but ALT+F2 does cause it to show up. Removing the assignment causes CTRL+P to work.
Comment 3 Justin Zobel 2022-11-30 05:28:22 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 4 Bug Janitor Service 2022-12-15 05:13:35 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2022-12-30 05:24:14 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!