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
471 stars 46 forks source link

Desktop logs out by itself #155

Closed medicamin closed 8 months ago

medicamin commented 10 months ago

Describe the bug

when gnome-clipboard-history is enabled, wait until the screen dims and goes to the lockscreen. suddenly just before the monitor turns off, desktop logs out by itself instead of just showing the lock screen. It makes me loose all my unsaved jobs. But with gnome-clipboard-indicator there is no such issue. There is no conflict with other active extensions, ad I tested one by one to find the missbehaving one.

Versions

gnome 45.2 on wayland extension 1.4.4 installed by source. OS: Manjaro 23.1.1

GNOME Shell 45.2 GCH Version: 34 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 ['F12'] 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 ['F11'] 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 ['F10'] 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 20

Steps to repro

Just enable the extension and wait until the screen dims.

SUPERCILEX commented 10 months ago

Dang, that's not good. Unfortunately I don't use gnome 45 so I haven't vetted that code. Can you share logs: $ journalctl -n 1000000 | grep -B 10 -A 10 'clipboard-history'. Maybe that will give us a hint.