Writer and the Secondary Clipboard

Hi All,

Fedora 39
libreoffice7.6-7.6.5.2-2.x86_64 (From LO’s web site)

Is it just me or is LO’s Secondary clipboard ( etc.) a real pain in your neck? The first copy work. The second does not. The paste is still the first copy. I have to paste to Leafpad and recopy in Leafpad to get it to work.

Odd that it will paste to Leafpad, but other maintain the first copy. I can all I want in LO nd it is still the first copy. And that includes inside LO. Why Leafpad is working, I can only fathom.

-T

What is your desktop manager? Gnome? Mate? LXDE?
I am too under Fedora 39 but under KDE Plasma with a very sophisticated configuration and never had any problem with the clipboard.

oops, forgot to press reply

oops. Forgot to add that: xfce4-session-4.18.3-2.fc39.x86_64

I also have MATE 1.26 installed, but I have not tested this issue under MATE. Both MATE and Xfce use X11. I have not tested Wayland (spelling) as gnome is too weird for me.

I only have issues with Libre Office and Firefox. Firefox’s issues are different from LO though.

I use the primary and the secondary clipboard to death. I get rather “crabby” when they fail.

Stay with X11 for the time being. Wayland still have BIG issues with some graphics card, mainly older ones which have no update to their drivers. Xfce is a good choice for low-end machines or simple DE.

What do you call “primary and secondary clipboard”? Do you use two clipboard managers? Or is it one where you can select the desired entry from a list a recently used ones?

https://codeyarns.com/tech/2017-01-18-the-two-clipboards-in-linux.html#gsc.tab=0

Thanks, I was not aware of this. It seems that KDE Plasma which is based on Qt widgets is immune against this “glitch”. It also explains a “strange” behaviour I faced very recently with a GTK+ application which forced me to split a procedure into several steps: I copied a string, selected some other text text, applied a menu command to open a dialog (which revealed to be “modal”) and wanted to paste the string in a box. Unfortunately I ended with the selected text. Since the dialog is “modal”, it preempts focus and I can’t copy anything from outside the dialog window. Hopefully, the clipboard manager has a history list and I could workaround by explicitly choosing the second entry (my copied text).


This seems native to GTK+. Applications based on Qt widgets don’t suffer this.

My DE is KDE Plasma (Qt-based) and I installed the corresponding LO UI package, turning LO into a KDE-integrated app.

In your case, I’m afraid there’s nothing you can do because Xfce is GTK+ based.

Here is a nice video on X11 four clipboards (Windows users do not know what they are missing):

http://www.cs.man.ac.uk/~lindsec/secondary-selection.html

I have no idea if all four work in Wayland.

On a program I wrote, I found that “Xclip” would hold on to things too, but that “Xsel” worked perfectly. This goes along with Leafpad working perfectly but LO not. There is something amiss here.