Bug 461829 - Setting any shortcut won't work
Summary: Setting any shortcut won't work
Status: RESOLVED NOT A BUG
Alias: None
Product: Spectacle
Classification: Applications
Component: General (other bugs)
Version First Reported In: 21.08.3
Platform: Snap Linux
: NOR minor
Target Milestone: ---
Assignee: cirnos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-14 17:16 UTC by cirnos
Modified: 2023-01-17 01:39 UTC (History)
3 users (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 cirnos 2022-11-14 17:16:58 UTC
SUMMARY
I can't set any shortcuts in any option. Tried setting shortcuts that ask to be reassigned, shortcuts with only 1 key, and the Default shortcut. There are no shortcuts set in GNOME that would interfere with it

STEPS TO REPRODUCE
1. Open Spectacle (tested only via Terminal)
2. Open the "Configure..." dialogue
3. Open the "Shortcuts" tab
4. Click on any shortcut
5. Type any shortcut

OBSERVED RESULT
When setting a "Global" shortcut:
The selected option is always "Custom".
When a shortcut is typed, it disappears. Only 'Control' keys (Control, Alt, Shift or Super) are previewed, if pressed before a 'non-Control' key. All keys are shown if the shortcuts need to be reassigned, and the 'Control' are shown duplicated, after a comma and a space, and before a plus sign.
Selecting the "Default" option only dims the selection button

When setting a "Global Alternate" shortcut:
It's possible to choosing between the "Default" and "Custom" option. When setting any shortcut, it doesn't disappears if another window is focused (including Spectacle itself) neither if I switch to another tab, or if I press the "Cancel" or "OK" button (I've tried to run the shortcut after pressing the "OK" button, but it didn't work). It only disappears if I select the "Default" option is selected or if I select another shortcut to set

EXPECTED RESULT
The shortcuts are set

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian 11 (stable)

ADDITIONAL INFORMATION
I'm using GNOME 3.38.6

I don't know if I should or not report if I'm using GNOME
Comment 1 Nicolas Fella 2022-11-17 22:27:47 UTC
X11 or Wayland?

Spectacle relies on Plasma's shortcut infrastructure , which doesn't work/conflicts with Gnome's. On X11 it can kind of work, on Wayland it completely doesn't
Comment 2 cirnos 2022-11-18 14:55:54 UTC
(In reply to Nicolas Fella from comment #1)
> X11 or Wayland?
> 
> Spectacle relies on Plasma's shortcut infrastructure , which doesn't
> work/conflicts with Gnome's. On X11 it can kind of work, on Wayland it
> completely doesn't

I'm using X11. Should I close this bug?
Comment 3 Noah Davis 2023-01-17 01:39:38 UTC
I suppose I'll close this since we don't have a way to set global shortcuts on GNOME. If we want it to be possible to do that, it should be done via XDG standards/by extending the libraries we use for setting shortcuts rather than doing app and DE specific shortcut infrastructure.