https://bugs.kde.org/show_bug.cgi?id=524503

            Bug ID: 524503
           Summary: When user selects an older Libreoffice Calc entry, it
                    gets pasted as image into Libreoffice or browsers.
    Classification: Plasma
           Product: plasmashell
      Version First master
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Clipboard widget & pop-up
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

DESCRIPTION
This is a followup to https://bugs.kde.org/show_bug.cgi?id=505209

STEPS TO REPRODUCE
1. Copy two cells in Libreoffice Calc
2. Copy something else
3. Click on the entry from 1. in clipboard history (it was not second, it will
move to top)
4) Paste it to LibreOffice Calc

OBSERVED RESULT
An image of the two cells is pasted.

EXPECTED RESULT
What was originally copied is pasted.

SOFTWARE/OS VERSIONS

Operating System: Fedora Linux 44
KDE Plasma Version: 6.7.4 (but also reproduced on master, just not running that
when reporting this)
KDE Frameworks Version: 6.28.0
Qt Version: 6.11.1
Kernel Version: 7.1.8-200.fc44.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × Intel® Core™ i9-9880H CPU @ 2.30GHz
Memory: 64 GiB of RAM (62.5 GiB usable)
Graphics Processor 1: Intel® UHD Graphics 630
Graphics Processor 2: NVIDIA GeForce GTX 1650 with Max-Q Design

ADDITIONAL INFORMATION
It is cause by klipper whitelisting only some text and image mime types to keep
in itr history. LO sends about 20 different formats, some natives ones that get
discarded in history (they are only kept when they are in the system clipboard,
Klipper's database discards them) and one of them is image/png - for apps that
support images, like browsers or LO itself, image than has priority over text,
leading to unexpected results.

Two possible solutions:
1) whitelist libreoffice (but not DDE links)
2) Always keep the first mime format. That would also solve
https://bugs.kde.org/show_bug.cgi?id=504469

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to