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

            Bug ID: 471515
           Summary: CTRL + C sometimes not copying when image in clipboard
    Classification: Plasma
           Product: plasmashell
           Version: 5.27.5
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Clipboard
          Assignee: plasma-b...@kde.org
          Reporter: amub...@gmail.com
  Target Milestone: 1.0

SUMMARY

Copying something after having an image in the clipboard will clear the
clipboard instead of copying.
This happens only when the clipboard history is limited to 1 entry.

STEPS TO REPRODUCE
1. Configure the clipboard history to have:
  - 1 entry history
  - See video for all other configuration, but I'm don't think that's need
beyond the history depth
2. Press `PrtScn` key to open Spectacle
3. Click on the Copy button of Spectacle repeatedly.
  - This will alternatively put the image in the clipboard and clear the
clipboard.
4. Click on the Copy button of Spectacle so the image is in the clipboard
5. Copy a text, this will clear the clipboard instead of copying the text
6. Try to paste, nothing is pasted as the clipboard is cleared (expected: the
copied text should be pasted)

OBSERVED RESULT
See video in attachment that show how to reproduce.
When the clipboard is cleared unexpectedly (when copying something while having
an image in the clipboard), the copied object (image or text) can't be pasted
(which is probably explained by the fact that it cleared the clipboard
instead).

EXPECTED RESULT

When copying something while having an image already in the clipboard, it
should be replaced with the newly copied stuff (even if the history depth is
only 1 entry).

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.8
Kernel Version: 6.3.0-1-amd64 (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15.6 Gio of RAM
Graphics Processor: AMD Radeon RX 580 Series
Manufacturer: Micro-Star International Co., Ltd
Product Name: MS-7B86
System Version: 4.0

Spectacle version 23.04.2

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

Reply via email to