SUMMARY Clipboard content gets automatically erased, when image is pasted to clipboard. STEPS TO REPRODUCE 1. Copy some text to Clipboard. 2. Take a screenshot and paste it to clipboard. 3. Now again copy some text. 4. All Clipboard content is erased. OBSERVED RESULT No clipboard content. EXPECTED RESULT Availability of Clipboard contents. SOFTWARE/OS VERSIONS Linux/KDE Plasma: CachyOS KDE Plasma Version: 5.26.90 KDE Frameworks Version: 5.102.0 Qt Version: 5.15.8 ADDITIONAL INFORMATION The bug persists even with default settings.
When you say "All Clipboard content is erased", did you mean that the image was erased? Or was other text content erased too? If it was just the image, does it help to change the value of "Non-Text selection" to "Always Save in History" or "Only when explicitly copied?"
(In reply to Nate Graham from comment #1) > When you say "All Clipboard content is erased", did you mean that the image > was erased? Or was other text content erased too? Yes everything is erased. To verify its occurrence just now, firstly I took a screenshot of the desktop. Then, copied some text and all of sudden clipboard disappeared from the panel along with its content. One important point which I want to mention is, this error only happens if the first copied content is image via a screenshot only. If already something else is copied, then this does not occurs. So, if you take a screenshot and keep it in clipboard, and then copying text removes the entire clipboard.
But does "everything" consist of "just the image" or "just the image plus other text in the clipboard that was previously copied before you copied the image" ?
All of them were getting erased. But, I had pondered about you said last time for configuring the Clipboard settings. Therefore, I did the following 2 points as per your previous suggestion : 1. Text selection always save in history 2. Non-text selection always save in history. By enabling both of these altogether, the issue was fixed. But I wonder, why those options are not enabled by default ?
Can you attach your /home/nate/.config/klipperrc file when you're using the settings that you use to reproduce the bug?
(In reply to Nate Graham from comment #5) > Can you attach your /home/nate/.config/klipperrc file when you're using the > settings that you use to reproduce the bug? Sorry for responding late. I was out of station, for about a week for examination purposes, hence I didn't logged in to the PC. As soon as I opened the PC, I came here. See this : [General] IgnoreImages=true Version=5.26.90
Also. If I select the option to "reset to default" , the bug was producible back then...
Thanks!
*** This bug has been marked as a duplicate of bug 491488 ***