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

            Bug ID: 526646
           Summary: impossible to paste a text selection
    Classification: Plasma
           Product: plasmashell
      Version First 6.3.6
       Reported In:
          Platform: Debian stable
                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

Created attachment 196822
  --> https://bugs.kde.org/attachment.cgi?id=196822&action=edit
possible bugfix that works for me

DESCRIPTION

When selecting a text with the mouse in konsole (e.g. a keyword or error
message), you cannot paste it with C-v in Firefox (or other apps, I guess),
although synchronization in klipper is enabled.

STEPS TO REPRODUCE
1. Select a text in konsole to in copy to *Primary* (aka X11 mouse selection
clipboard).
2. Switch to Firefox.
3. Press Ctrl-v to insert from Clipboard.

OBSERVED RESULT

Nothing is pasted.

EXPECTED RESULT

The selected text from the konsole is pasted.

SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window):
KDE Plasma Version: 6.3.6
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION

I have added a small patch, which fixes the behavior for me. It modifies
`HistoryModel::checkClipData()` to update **BOTH** clipboards on changes (if
synchronization is enabled) instead of only the one where the clipboard content
did **NOT** came from. This might not be the correct fix, but at least it works
for. Feel free to fix it more correctly.
If the patch is the correct fix, I can create a PR, if you prefer. But I
currently have no idea how to test the patch with the latest plasma-workspace
version.

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

Reply via email to