Bug 417729 - [X11] Can't paste correctly if history is limited to 1 entry
Summary: [X11] Can't paste correctly if history is limited to 1 entry
Status: RESOLVED DUPLICATE of bug 417590
Alias: None
Product: plasmashell
Classification: Plasma
Component: Clipboard (show other bugs)
Version: 5.15.3
Platform: Manjaro Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-16 05:12 UTC by Yoann
Modified: 2022-09-21 07:22 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yoann 2020-02-16 05:12:20 UTC
SUMMARY
If clipboard history limit is set to "1 entry", I am unable, in certain condition, to paste selection (middle clic).
If clipboard history limit is set to "1 entry", I am unable, in certain condition, to paste clipboard (Ctrl+C).

STEPS TO REPRODUCE
1. Limit history to 1 entry and untick every other option.
2. Fill clipboard by copying something (Ctrl+C).
3. Select something else (it's correctly put into klipper history).
4(issue). You can't paste selection with middle clic.
5. ReFill clipboard by copying something else (Ctrl+C)
6(issue). You can't paste selection with middle clic OR paste clipboard (Ctrl+V).

SOFTWARE/OS VERSIONS
Kernel: 5.5.4-1-MANJARO x86_64
KDE Plasma Version: 5.18.0
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1

ADDITIONAL INFORMATION
Increasing clipboard history limit to "2 entry" solve the issue.
Comment 1 Evgeny 2020-11-11 18:25:36 UTC
Can confirm, but only on Wayland. There are no issues on X11.

Operating System: Manjaro Linux
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Kernel Version: 5.9.6-2-MANJARO
OS Type: 64-bit
Comment 2 Yoann 2021-01-18 15:07:58 UTC
I re-tested recently:
 - Under Wayland, it's working perfectly with 1 entry, selection and clipboard can paste two different things and don't interfere with each other.
 - Under X11, it still have the first reported behavior.
 - Under X11, if "Prevent empty clipboard" is ticked, Selection will erase clipboard (like if they were merged together).
 - Under X11, increasing clipboard history limit to "2 entry" still solve the issue.

SOFTWARE/OS VERSIONS
Kernel: 5.10.7-3-MANJARO
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Comment 3 Philip Murray 2021-08-24 21:47:33 UTC
I'll post my info here rather than a new bug, as the above looks the same. I'm getting it in X11, not Wayland.

STEPS TO REPRODUCE
1. Reduce clipboard to 1 entry only.
2. Create a folder in home directory.
3. Enter the directory & create a text file.
4. Right-click & copy the file.
5. Right click to paste, but no paste option exists on menu.
6. Right click on the same file again & copy.
7. Right-click & paste, and 'Paste one file' option now exists as it should.

OBSERVED RESULT: As above.

EXPECTED RESULT: Paste option to be available upon the first attempt.

SOFTWARE/OS VERSIONS:
Operating System: Debian GNU/Linux 11
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.10.0-8-amd64
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-4570 CPU @ 3.20GHz
Memory: 7.7 GiB of RAM
Graphics Processor: GeForce GTX 750 Ti/PCIe/SSE2
Comment 4 David Edmundson 2022-01-12 16:18:50 UTC
Updating title based on the last two comments to be about X11
Comment 5 Fushan Wen 2022-09-21 07:22:59 UTC

*** This bug has been marked as a duplicate of bug 417590 ***