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

Tray menu commands won't work after locking screen and login back in. (Ubuntu 23.10) #2693

Open
aortega89 opened this issue Apr 23, 2024 · 0 comments
Labels

Comments

@aortega89
Copy link

aortega89 commented Apr 23, 2024

Describe the bug
I am running CopyQ 8 in Ubuntu 23.10 (X11). I use a shortcut to show the tray menu under my mouse cursor to select some global shortcuts that I have added like Paste and copy previous/next, Paste as plain text and Paste formatted JSON. Normally this commands would work as expected: press the shortcut to show the tray menu, select the menu option, the item gets pasted and the tray menu automatically closes. The problem arises when I press Super (windows) + L to lock screen. When I log back if I try to replicate the steps explained I would get to the point where I click the menu option but nothing happens: no item get pasted and the tray menu doesn't automatically close. In the case I hit the 'Paste and copy previous/next' command the clipboard indicator changes from entry 1 to 2 for example but still nothing is pasted and the tray menu stays open. The only way to make it work again is closing CopyQ from the tray icon and opening it again.

To Reproduce
Steps to reproduce the behavior:

  1. Add some global shortcuts like: Paste and copy previous/next, Paste as plain text and Paste formatted JSON.
  2. Set a keyboard shortcut to show tray menu under cursor. ctrl + shift + a in my case.
  3. Press Super (Windows) + L to lock screen.
  4. Log back in.
  5. Go to a text field and press 'ctrl + shift + a' and then select one of the commands added in the first step.
  6. Nothing gets pasted and the tray menu doesn't close automatically.

Expected behavior
After login back in the tray menu commands should work as expected: item gets pasted and the tray menu is closed.

Screenshots
imagen

Version, OS and Environment
CopyQ Clipboard Manager 8.0.0~mantic
Qt: 5.15.10
KNotifications: 5.110.0
Compiler: GCC
Arch: x86_64-little_endian-lp64
OS: Ubuntu 23.10

Additional context
I notice that when I lock screen and log back in clipboard is set to EMPTY. Even if I copy something before trying the tray menu commands it doesn't work.

Pressing the entries (1 to 10) does work, the item is pasted and the tray menu is closed.

Thank you very much. This application is great and greatly optimizes my workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant