SUPERCILEX / gnome-clipboard-history

Gnome Clipboard History is a clipboard manager Gnome extension that saves what you've copied into an easily accessible, searchable history panel.
https://extensions.gnome.org/extension/4839/clipboard-history/
MIT License
455 stars 45 forks source link

Enabling extension results in the wrong application opening via Activities search bar when typing fast #179

Closed cryobry closed 2 months ago

cryobry commented 2 months ago

Describe the bug

If I enable this extension, frequently the wrong application is opened from the Activities search, seems like it is due to lagging and the enter key being processed before the rest of what I had typed.

How To Reproduce

Enable extension, press Super to bring up the Activities overview, quickly start typing the application you want to open, in my case "terminal". Hit Enter (quickly) and the wrong application will be opened (in this case the text editor).

Disable the extension and try doing the same thing and the correct application will open.

Versions

GNOME Shell 46.3.1 GCH Version: 42 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 ['V'] org.gnome.shell.extensions.clipboard-history toggle-private-mode ['P'] org.gnome.shell.extensions.clipboard-history topbar-preview-size 10 org.gnome.shell.extensions.clipboard-history window-width-percentage 33

Steps to repro

What causes the crash/bug?

Additional context (if a crash, provide stack trace)

Add any other context about the problem here.

cryobry commented 2 months ago

It looks like this is a problem with GNOME 46. The extensions adds a little bit of lag so I don't have to type as fast to trigger it, but I can still recreate in GNOME 46 when this extension is disabled, so closing.