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

            Bug ID: 519908
           Summary: Clipboard applet fails to synchronize Selection and
                    Clipboard buffers when selecting the current primary
                    selection
    Classification: Plasma
           Product: plasmashell
      Version First 6.6.4
       Reported In:
          Platform: Kubuntu
                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
In Plasma Desktop, when an item is selected from the Clipboard applet history
with the intention of synchronizing both the Primary Selection (middle-click)
and the Clipboard (Ctrl+V) buffers, the action fails if the item being clicked
in the history is already the active Primary Selection. The Clipboard buffer
remains stuck on the previous entry, requiring the user to select a different
item and then switch back to achieve synchronization.

STEPS TO REPRODUCE
1. Type two different words in a text editor, for example: "one" and "two".
2. Select the word "two" and press Ctrl+C (it is now in the Clipboard buffer).
3. Select the word "one" with the mouse (it is now in the Primary Selection
buffer).
4. At this point, Middle-click pastes "one", Ctrl+V pastes "two". This is
correct/expected behavior.
5. Open the Plasma Clipboard applet from the system tray.
6. Click on the first entry "one" (expecting this to set "one" as the active
content for BOTH buffers).
7. Try to paste using Ctrl+V.

OBSERVED RESULT
Ctrl+V still pastes "two", and middle-click still pastes "one". The Clipboard
buffer was not updated because the applet likely detected that "one" was
already the active Primary Selection and skipped the update.

To fix it manually, the user must click "two" in the applet (which synchronizes
both to "two") and then click "one" again.

EXPECTED RESULT
Clicking any entry in the Clipboard applet history should forcefully update
both the Primary Selection and the Clipboard buffers to that entry, regardless
of whether that entry was already present in one of the buffers.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 26.04 LTS
KDE Plasma Version: 6.6.4
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.2
Kernel Version: 7.0.0-14-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ Ultra 9 288V
Memory: 32 GiB of RAM (31.0 GiB usable)
Graphics Processor: Intel® Graphics

ADDITIONAL INFORMATION
This is particularly annoying for users like me who keep both buffers separate
but use the history applet as a "synchronization point" to merge them when
needed.

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

Reply via email to