copy items are not saved, log: "Clipboard unchanged, selection unchanged. Test again in 0ms."
- Dominant language
- C++
- Stars
- 12.3k
- Forks
- 593
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 9
Description
**the bug**
copyq starts and works properly on ubuntu, randomly after a day or two without restarting, maybe after suspend, copyq stops saving the clipboard entries.
The issue is only resolved after restart. Stopping and starting copyq doesn't resloved it. even if the configuration folder is completely removed
**To Reproduce**
1. start copyq on ubuntu
2. wait few days without restarting
3. Copy anything to clipboard, using any tools, mouse, keyboard or xclip
4. The item is not saved in copyq
Everything in the log seems normal, except nothing happen when copying to clipboard.
**Version, OS and Environment**
Ubuntu 20.04 LTS
copyq 3.12.0
**Additional context**
Tried disable and enabled "Clipbaoard storing" did not help
When watching the logs, I got the following when I click "ctl+c"
: Clipboard unchanged, selection unchanged. Test again in 0ms.
Debug logo
`DEBUG: Geometry: Window "MainWindow": Restore geometry "Options/MainWindow_geometry": 645x421,673,343 -> 645x421,267,301
DEBUG: Focus window is " _hh_ "
DEBUG: Loading configuration
DEBUG: Configuration loaded
DEBUG: Starting monitor
DEBUG: Executing: copyq --clipboard-access monitorClipboard
DEBUG: Starting callback: onStart
DEBUG: Executing: copyq onStart
DEBUG: Got save state request from session manager.
DEBUG: Focus window is " _hh_ "
DEBUG: Updating tray menu
DEBUG: Tab "&clipboard": Loading items
DEBUG: Tab "&clipboard": 2338 items loaded
DEBUG: Executing: copyq eval -- runMenuCommandFilters()
DEBUG: Updating tray menu
DEBUG: Focus window is "copyq not saving clipboard - Google Search - Brave"
DEBUG: Geometry: Window "ConfigurationManager": Restore geometry "Options/ConfigurationManager_geometry": 679x621,656,243 -> 1049x621,327,211
DEBUG: Focus window is "Configuration — CopyQ"
DEBUG: Focus window is "copyq not saving clipboard - Google Search - Brave"
DEBUG: Terminating monitor
DEBUG: Executing: copyq eval -- setTitle(); showDataNotification()
DEBUG: Clipboard monitoring disabled.
DEBUG: Monitor finished
DEBUG: Raising window "copyq not saving clipboard - Google Search - Brave"
DEBUG: Focus window is "copyq not saving clipboard - Google Search - Brave"
DEBUG: Focus window is "copyq not saving clipboard - Google Search - Brave"
DEBUG: Starting monitor
DEBUG: Executing: copyq --clipboard-access monitorClipboard
DEBUG: Clipboard monitoring enabled.
DEBUG: Raising window "copyq not saving clipboard - Google Search - Brave"
DEBUG: Focus window is "copyq not saving clipboard - Google Search - Brave"
DEBUG: Executing: Command "Show/hide main window"
DEBUG: Focus window is " _hh_ "
DEBUG: Raising window "CopyQ"
DEBUG: Geometry: Window "MainWindow": Restore geometry "Options/MainWindow_geometry": 645x421,673,343 -> 645x421,267,301
DEBUG: Saving items on application state change (2)
DEBUG: Focus window is " _hh_ "
DEBUG: Focus window is "New Issue · hluk/CopyQ - Brave"
DEBUG: Raising window "New Issue · hluk/CopyQ - Brave"
`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.