Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird behaviour of shortcut setting #112

Open
Pheggas opened this issue Nov 5, 2022 · 2 comments
Open

Weird behaviour of shortcut setting #112

Pheggas opened this issue Nov 5, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@Pheggas
Copy link

Pheggas commented Nov 5, 2022

Describe the bug

When i want to set a shortcut, it shows "New acceleration..." instead of shortcut key combination that i pressed.

How To Reproduce

  1. Install extension
  2. Go to shortcuts section (at the bottom)
  3. Find "Toggle the menu" and doubleclick on pre-set shortcut combination to change it
  4. Press any key / combination
  5. Still see "New acceleration..."
  6. If kept, UI is frozen and cannot be closed

Versions

GNOME Shell 42.5
GCH   Version: 21
org.gnome.shell.extensions.clipboard-history cache-only-favorites false
org.gnome.shell.extensions.clipboard-history cache-size 100
org.gnome.shell.extensions.clipboard-history clear-history @as []
org.gnome.shell.extensions.clipboard-history confirm-clear true
org.gnome.shell.extensions.clipboard-history disable-down-arrow true
org.gnome.shell.extensions.clipboard-history display-mode 0
org.gnome.shell.extensions.clipboard-history enable-keybindings true
org.gnome.shell.extensions.clipboard-history history-size 1000
org.gnome.shell.extensions.clipboard-history move-item-first true
org.gnome.shell.extensions.clipboard-history next-entry @as []
org.gnome.shell.extensions.clipboard-history notify-on-copy false
org.gnome.shell.extensions.clipboard-history paste-on-selection true
org.gnome.shell.extensions.clipboard-history prev-entry @as []
org.gnome.shell.extensions.clipboard-history private-mode false
org.gnome.shell.extensions.clipboard-history process-primary-selection false
org.gnome.shell.extensions.clipboard-history strip-text false
org.gnome.shell.extensions.clipboard-history toggle-menu ['<Super><Shift>V']
org.gnome.shell.extensions.clipboard-history toggle-private-mode ['<Super><Shift>P']
org.gnome.shell.extensions.clipboard-history topbar-preview-size 1
org.gnome.shell.extensions.clipboard-history window-width-percentage 33

Steps to repro

What causes the crash/bug?
I'm not sure. I'm on Fedora 36 (Workstation Edition) with Gnome 42.5 and Wayland.

Additional context (if a crash, provide stack trace)

Add any other context about the problem here.

@Pheggas Pheggas added the bug Something isn't working label Nov 5, 2022
@SUPERCILEX
Copy link
Owner

That's code I haven't really touched. It looks like we just use Gtk's implementation:

[, key, mods] = Gtk.accelerator_parse(settings.get_strv(id)[0]);
No idea what could be causing that, sorry.

@Pheggas
Copy link
Author

Pheggas commented Nov 5, 2022

I wrote this same issue on original repo. We'll see what will the dev reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants