Bug 434419

Summary: Empty entries in Klipper on X11
Product: [Unmaintained] klipper Reporter: Sudhir Khanger <sudhir>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate, tagwerk19, till2.schaefer
Priority: NOR    
Version First Reported In: 5.21.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot

Description Sudhir Khanger 2021-03-15 02:26:42 UTC
Created attachment 136683 [details]
Screenshot

SUMMARY

Clipboard has empty entries. These entries are not blank spaces but actual empy entries. You can't do anything with empty entries so they should not be there.

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT

I consistently see empty entries in the clipboard manager.


EXPECTED RESULT

Empty entries can't be used they are neither blank space nor new lines so they should not pollute the clipboard.

SOFTWARE/OS VERSIONS

Operating System: Fedora 33
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.10.21-200.fc33.x86_64
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-6820HQ CPU @ 2.70GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 530
Comment 1 Till Schäfer 2021-03-19 10:23:32 UTC
I can confirm this bug on wayland only. Since the reported information do not provide the graphics platform, I will mark this bug as a wayland issue.

@Sudhir can you please elaborate regarding the used graphics platform?

I can reliably reproduce this issue on wayland when copying some text from konsole. In this case an empty entry always appears beneath the actual copied text.


Operating System: Gentoo Linux
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Kernel Version: 5.11.7-gentoo
OS Type: 64-bit
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-4810MQ CPU @ 2.80GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4600
Comment 2 Till Schäfer 2021-03-19 10:24:11 UTC
possibly related to Bug 434262
Comment 3 Nate Graham 2021-03-19 19:40:21 UTC

*** This bug has been marked as a duplicate of bug 434262 ***
Comment 4 Nate Graham 2021-03-20 04:50:31 UTC
So you are experiencing this on X11 only, right? Do you have the "Prevent empty clipboard" setting checked?
Comment 5 Sudhir Khanger 2021-03-20 06:27:58 UTC
>X11 only

$ echo $XDG_SESSION_TYPE
x11

I am running into this problem on X11. I have no knowledge or experience of this issue on Wayland whatsoever.

>Do you have the "Prevent empty clipboard" setting checked?
It was enabled before but I have unchecked it and I continue to see an empty entry in the clipboard manager.

Operating System: Fedora 33
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.10.23-200.fc33.x86_64
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-6820HQ CPU @ 2.70GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 530
Comment 6 Nate Graham 2021-03-21 04:18:09 UTC

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