I want to report a curious behavior with Terminology relating to copy&paste with the X clipboard.
The desired behavior is the one I'm experiencing with Xterm, which works:
- Selecting text in Xterm copies the selected text to any other application, i.e. Ctrl+V in firefox, geany or IntelliJ pastes the selected text.
- Copying text from firefox, geany or IntelliJ using Ctrl+C allows to paste the copied text using middle-mouse-click into Xterm
So far, so good. The actual behavior I'm experiencing with Terminology is the following
- Selecting text in Terminology copies the selected text to any other Terminology window, but nowhere else. When I Ctrl+V in firefox, geany or IntelliJ I only receive the previously selected text, but not the text I selected in Terminology. It works as expected, when I explicitly select "Copy" from the Terminology-context-menu, or Shift+Ctrl+C.
- Copying text from firefox, geany or IntelliJ using Ctrl+C does NOT allow to paste the copied text using middle-mouse-click into Terminology, except right after Terminology has been launched! It pastes any text I've previously selected with any Terminology window. It works when I explicitly select "Paste" from the right-click context menu in Terminology, or Shift+Ctrl+V.
I've tried to debug it by myself, but failed because the problem seems to be in the underlying efl code...but I'm not sure. I inserted fprintf() calls into the copy- and paste-related functions, and they do work as expected, please take a look at this screenshot, and watch out for the (1), (2), (3), (4) and (5) marked positions, which is the order of the actions I've taken (instead of a video):
- Copied text from IntelliJ using Ctrl+C
- Middle-click into terminology obviously works once!
- Copy text from Xterm by simply selecting it
- Middle-click into terminology pastes the text I previously copied in IntelliJ
- Shift+Ctrl+V finally pastes the text from Xterm!
The screenshot does also show an Xterm printing the fprintf() outputs, so the text is obviously the one being copied or pasted.
Can I provide any more useful information?