scudcloud
scudcloud copied to clipboard
X11 primary selection doesn't work with scud
Latest version on ubuntu 16.04, unity
Try selecting something in some other window and then use a middle mouse button to paste it to scud - it pastes something else.
There is Qt5 doc at https://doc.qt.io/qt-5/qclipboard.html#Mode-enum, maybe we can try force to use the mouse selection. Hope this do not disable the general clipboard.
Hmm, this used to work previously.
Probably is qt5 (which the latest version is based) handling different. I'll test.
I actually came here to report exactly this bug. scudcloud always pastes the clipboard, not the primary selection. If I paste into a text editor, then ^C-copy to the clipboard, then scudcloud pastes it. But now I can't paste out of xterm.
Pasting out of Scudcloud does not work as an X11-user would expect either. When I right-click on a link and ask for it to be "copied", it is not placed onto the primary. Doing the middle-button paste into browser fails...
Other apps do it -- for example, doing the same in Thunderbird and Firefox, for example, works as expected. This link may be useful...
Hi @UnitedMarsupials, thanks for the feedback.
Unfortunately, Scudcloud has no code dedicated to copy and paste: we're using the standard Qt copy & paste functionality.
It was working with both clipboards as intended months ago, but after the past upgrades, Qt changed this.
There may be some sort of a flag to pass to Qt, perhaps?
@UnitedMarsupials If I correctly understood, only when setting data to the clipboard: https://doc.qt.io/qt-5/qclipboard.html#Mode-enum
Sorry, I'm not a GUI expert at all :-( And I certainly never programmed with Qt -- my sole ventures into GUI were using Tcl/Tk... But this can't be affecting only Scudcloud -- other users of Qt (and/or Python Qt) must've encountered this issue and discussed it. I'm sure, the solution is known by now :)
Sorry, any hope for a fix for this? It is really annoying to, when trying to copy-paste from xterm
, have to copy into an editor first, and then ctrl-c/ctrl-v from the editor into scudcloud...
This problem still exists in v1.6.5 on Fedora 28. Any plans or ideas on fixing this?