I don't have enough context to know what XSync does. This didn't seem to make a difference on its own. This does help! I tested this in isolation by adding usleep(50000) before line 322 and have been able to paste from tray 100% of the time out of my tests pasting about a total of 150 times across a number of applications.īut maybe just XSync(display, False) below the line would suffice. Is there a workaround to make tray pasting work more consistently, or as consistently as pasting from native menu? I don't know much about how the tray functionality is implemented but I would assume if case 3 executes consistently then cases 1 and 2 should as well? The other strange behavior is that pasting from tray works somtimes. I have tried starting copyq with env QT_QPA_PLATFORM=xcb copyq to no avail.Ĭuriously, double clicking from the history viewer pastes to the focused window consistently.ĭEBUG: Raising window "Get started with Firefox - An overview of the main features | Firefox Help - Mozilla Firefox"ĭEBUG: Pasting item from main window to "Get started with Firefox - An overview of the main features | Firefox Help - Mozilla Firefox".ĭEBUG: Saving items on application state change (2)ĭEBUG: Focus window is "Get started with Firefox - An overview of the main features | Firefox Help - Mozilla Firefox"ĭEBUG: Executing: copyq onOwnClipboardChangedĭEBUG: Executing: copyq onClipboardChanged Desktop environment, window manager (if applicable) ubuntu:GNOME.(Get details from copyq version command if possible.) Since I have Preferences -> Tray -> Paste activated item to current window checked, I expect the entry to paste to my text editor 100% of the time. Open up a text editor or use a text box in any browser. ![]() I would be happy to provide logs if someone can point me to them. ![]() This is puzzling because it suggests that there is a valid path of execution to get the desired behavior but it doesn't happen consistently. Surprisingly, 1/10 clicks produced the desired behavior of pasting to the last focused window. However, during my frustration I clicked on random entries in my list. I would have to manually insert it with ctrl+v, shift+ insert, or the middle mouse button. Users who dig deeper get even more functionality and while some of it may seem overkill to most users, it certainly is useful to some.I am unable to paste to current window by clicking on a history item in my trayįor example, if I were to click either line from a text editor, CopyQ does not paste it. Closing WordsĬopyQ is a powerful clipboard manager that works well out of the box. While that is not a full sync feature, it still gives you options to sync your clipboard data across devices or create a backup of the data for safekeeping. Run copy q add "text1" "text2" to add text to the clipboard, copyq read 0 to print the content of the first item, or copyq -help to display the available command line arguments.ĬopyQ supports exports and imports of the history. The command line options that it provides are quite handy. A good starting point for these is the official program documentation. Advanced clipboard operationsĬopyQ supports advanced features such as sort options for clipboard entries, ignore rules for certain programs, password protection, advanced command line and scripting functions, or an option to sync tab items with files in a directory. You may notice that some keyboard shortcuts may interfere with program shortcuts. Change the display format of specific items, e.g., images, text or notes. ![]() Disable the tray icon (so that you use it with shortcuts solely).Here is just a short list of preferences:
0 Comments
Leave a Reply. |