Bug 441203 - Some PrtScr shortcuts stopped working for existing users
Summary: Some PrtScr shortcuts stopped working for existing users
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-kglobalaccel
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.85.0
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-19 23:46 UTC by Jazz
Modified: 2024-08-31 03:47 UTC (History)
2 users (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 Jazz 2021-08-19 23:46:16 UTC
SUMMARY
When I press Shift + PrtScr then Spectacle does the printscreen just fine, but when I change the default shortcut to Ctrl + PrtScr, Apply and press the shortcut combination, the Spectacle doesn’t make what it just previously did with NO errors within the logs.

When I revert Ctrl + PrtScr back to Flameshot and check the logs, this is what pops up every time I press this particular shortcut combination:


18 Aug 2021 10:56:31	kstart5	QApplication: invalid style override 'gtk' passed, ignoring it.
	Available styles: Breeze, kvantum-dark, kvantum, qt5ct-style, Windows, Fusion
18 Aug 2021 10:56:32	kstart5	qt.svg: link #path2410 is undefined!
18 Aug 2021 10:56:32	kglobalaccel5	kstart: Unknown option 'delay'.

When I press PrtScr it triggers ksnip (another app for screenshots), but unfortunately it doesn’t create a screenshot. The log throws the following sausage instead:

19 Aug 2021 17:39:42	kstart5	QApplication: invalid style override 'gtk' passed, ignoring it.
	Available styles: Breeze, kvantum-dark, kvantum, qt5ct-style, Windows, Fusion
19 Aug 2021 17:39:42	kstart5	qt.svg: link #path2410 is undefined!
19 Aug 2021 17:39:42	kglobalaccel5	kstart: Unknown option 'r'.

STEPS TO REPRODUCE
1. Install Flameshot and ksnip
2. Assign Ctrl + PrtScr to make a screenshot with Flameshot
3. Assign PrtScr to make a screenshot with ksnip
4. Try different combinations of taking screenshots and check your logs

OBSERVED RESULT
Not possible to use the Ctrl+PrtScr keys combinations.
Not possible to use Flameshot and ksnip.

EXPECTED RESULT
Self explanatory.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.10.59-1-MANJARO
(available in About System)
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Jazz 2021-08-24 16:32:32 UTC
This is related to the most recent change of marking `kinit` as an orphan package, so it was missing from my system. To resolve this issue, one should install the package manually.
Comment 2 Ahmad Samir 2022-06-14 20:41:12 UTC
I can't reproduce this issue; do you still see it?
Comment 3 Jazz 2022-06-15 09:26:26 UTC
(In reply to Ahmad Samir from comment #2)
> I can't reproduce this issue; do you still see it?

You may reproduce this issue as long as you don't have the `kinit` package missing. Once you have it installed, everything behaves alright.
Comment 4 Ahmad Samir 2022-06-15 09:32:37 UTC
What's the exact command that the shortcut is used to launch?
Comment 5 Jazz 2022-06-15 12:52:42 UTC
(In reply to Ahmad Samir from comment #4)
> What's the exact command that the shortcut is used to launch?

https://i.imgur.com/vnFm3GX.png
Comment 6 fanzhuyifan 2024-08-01 19:46:58 UTC
Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please check if this is still an issue with Plasma 6.1? Thanks!
Comment 7 Bug Janitor Service 2024-08-16 03:47:03 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2024-08-31 03:47:53 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.