Bug 479274 - Assigning "Print" shortcut to Spectacle's Rectangle Area global action action does not launch it as expected
Summary: Assigning "Print" shortcut to Spectacle's Rectangle Area global action action...
Status: RESOLVED FIXED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 24.01.85
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-01 21:25 UTC by Henning
Modified: 2025-03-07 14:57 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henning 2024-01-01 21:25:29 UTC
When pressing "Print" on Plasma 6 nothing happens. This is really confusing.

I always set it manually to "rectangular region" which makes the most sense for me.

But when https://bugs.kde.org/show_bug.cgi?id=468778 is fixed, it would make more sense to launch the overview by default.

Doing nothing is probably a bug

using Fedora rawhide Kinoite Plasma 6 preview
Comment 1 Noah Davis 2024-01-01 23:12:20 UTC
Indeed, that is a bug. I cannot reproduce it though. Perhaps its a result of a combination of settings? I would need to know the steps to reproduce this and also the settings for the General page of the settings dialog. The request for PrintScreen to be assigned to rectangle capture instead of launching spectacle according to the General page settings and the bug where pressing PrintScreen does nothing need to be separate reports though.

Are "rectangle area" and "overview" the same to you or is "overview" something different?
Comment 2 Henning 2024-01-02 12:47:13 UTC
No with overview I mean one of the too many spectacle "main windows" where you can decide to take a screenshot. I guess this would be better as in the future it may also allow to record. 

The rectangle selection is just one type of screenshot, so it would be like flameshot but not make much other functionality (screenshot window, all, etc) available.

So with "overview" I simply mean launching whats currently done with the desktop entry, this small first window.
Comment 3 Henning 2024-01-02 12:48:01 UTC
I did not change any settings, so for me "Print" is simply not doing anything. So this would be a FR to change to the overview but as there is nothing currently it is a bug ;D
Comment 4 Noah Davis 2024-01-02 18:38:45 UTC
Are you using X11 or Wayland?
Comment 5 Nate Graham 2024-02-15 23:36:39 UTC
He's using Wayland.
Comment 6 Henning 2024-03-09 00:27:07 UTC
sorry I am really bad at reading mails, yes Wayland always.
Comment 7 Nate Graham 2024-03-10 22:30:44 UTC
Please open System Settings > Keyboard > Shortcuts > Spectacle, turn on the "highlight changed settings" feature (it's accessed from the hamburger menu in Plasma 6) and attach a screenshot of what you see there.
Comment 8 Bug Janitor Service 2024-03-25 03:46:40 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 9 Henning 2024-03-25 16:02:01 UTC
So when not changing anything, the default key assigned action works.

But the actual bug is, that if I assign "capture rectangular region" to "Print" (which is by default the "launch spectacle window" command) nothing happens.

Exact steps to reproduce:

1. Default settings, "print" opens the spectacle overview thing "Spectacle"
2. I reassign "capture rectangle region" to the "Print" key and get the warning "this is already used, remove the previous usage?"
3. Now "print" doesnt do anything anymore
4. I assign "capture rectangle region" to something else, like "Ctrl+Print", and this works
5. I assign it back to "print" and it also works!

Sorry for the bad bug report, I didnt know that this is what I tried. So there seems to be an issue between step 2 and 3, maybe systemsettings not actually removing the conflicting previous assignment (even though graphically it is removed, and the new one is added"

Also note that "Spectacle" is by default assigned to "Print", which may cause an issue here. So conflicts may not always cause a problem.

For example when assigning "Krunner" to use "Print" which was previously changed with the custom assignment, that works perfectly well.

So this only seems to occur when using a shortcut that is the default shortcut of something else.

But it also seems to need to be the same application, assigning "Dolphin" to open with "Ctrl+Alt+T" works, even though this is the default assignment for Konsole.

So this seems to only happen when assigning a different action of the same application to a default shortcut of the same application, the first time.

Damn.

Or it may be something spectacle specific, as this is some kind of sub-action of the main spectacle process.
Comment 10 Nate Graham 2024-04-08 19:37:34 UTC
I can reproduce that.
Comment 11 Nate Graham 2025-03-07 14:57:17 UTC
That'll be fixed in Plasma 6.4, and in addition, "Rectangular Region" will be the default capture type when you press "Print Screen" in 6.4, so you'll be able to undo your customizations.