OK, an update to where I am with this problem. For the record as much as anything else.

Firstly, what happens-

tomboy-ng, when it copies or cuts to the clipboard, makes both a plain text and a Rich Text Format entry in the clipboard. However, with Qt5 (and I suspect Qt6), when it notifies the system Clipboard of the change in content, "something" goes wrong. I believe that this something is within the Qt5/6 to Wayland space, having tracked the code (through LCL and LCL-Qt5) to the libqt5pas library.

While I will prepare a bug report, I don't have high hopes.

For my next release of tomboy, I have a workaround. The Qt versions will all have a "-platform xcb" added that will force use of libxcb instead of wayland. This will also restore a few other, perhaps less important tomboy-ng features as well. This will be version 0.40 of tomboy-ng, as soon as I get the extensive testing necessary done.

For existing users, my suggested approach is still to do one of the following -

* Switch (gear symbol on login screen) your desktop to xorg instead of Wayland. Wayland is not ready yet !

* When copying from tomboy-ng, use the Plain Text Copy (from right click menu), as it does not insert a RTF block into the clipboard, it works fine, and plain text is usually what you want.

* Use the gtk2 version of tomboy-ng, on U2404 eg it requires no extra dependencies.

* Use a desktop that does not use Wayland.

You can also use your older tomboy-ng with xcb -

$> tomboy-ng -platform xcb [enter]

But on some gnome systems, this produces a very ugly and confusing double menu when clicking the system tray icon. I don't recommend that.

I will let you know when mature betas with the work around are available.

Davo


On 18/4/24 04:43, Konrad Schwenke wrote:
Dear David,
I can confirm that I have the same issue with copy-pasting....

Reply via email to