SUMMARY Klipper appears to prevent copy/paste of more than one cell between Calc sheets. STEPS TO REPRODUCE 1. In LibreOffice Calc, make a selection over more than one cell. 2. Execute "Copy" 3. Switch to another sheet tab. 4. Execute "Paste". OBSERVED RESULT Nothing is pasted. EXPECTED RESULT The source cells are pasted. SOFTWARE/OS VERSIONS KDE Plasma Version: 5.23.80 KDE Frameworks Version: 5.87.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION The same happens if step 2 is not executed and middle-mouse paste used at step 4. There is no problem if the selection covers only one Calc cell. A blank entry is inserted at the top of the Klipper items history when the sheet tab is switched at step 3, even though the "Prevent empty clipboard" option is turned on in Klipper's configuration. Other Klipper options "Text selection only" and "Synchronise clipboard and selection" are also turned on.
See the "See also" bugs for possible reports on the LibreOffice side. As reported in LibreOffice bug 130715, disabling Klipper eliminates the problem.
Can you confirm if this is X11 or wayland? I could not immediately reproduce. I don't quite see how this can be klipper at fault without libreoffice also doing something weird - such as emptying the clipboard between changing selections.
Sorry, should have said that this is with X11. Maybe an addition to the bug reporting template, now that Wayland is becoming more widespread? Should have also clarified that "switch to another sheet tab" means to another tab (bottom tab bar) within the same Calc window. LibreOffice does indeed appear to be doing something odd. Select two cells (no need to even copy, can be a read-only sheet)) and switch to another sheet tab. The debug messages klipper/org.kde.klipper Klipper::checkClipData: Checking clip data klipper/org.kde.klipper Klipper::checkClipData: Synchronize? true klipper/org.kde.klipper Klipper::setClipboard: Setting clipboard to < "" > are shown, and an empty item appears at the top of Klipper's history.
Cannot reproduce on Wayland. Can you? It really seems like LibreOffice is to blame here for monkeying with the clipboard on X11 in a way that's prevented on Wayland.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!