https://bugs.kde.org/show_bug.cgi?id=507792
--- Comment #27 from Anders Wenhaug <[email protected]> --- Even easier to reproduce: Screenshot on a non-empty virtual desktop, wait >0.3s, and then open the application launcher ("windows key"). That clears the clipboard. It seems to me that the "application/x-kde-onlyReplaceEmpty" MIME type is relevant here. If it's set to empty string (or whitespace, not sure which), then opening the application launcher (or making sure there's no active window (which is what switching to a virtual desktop did, I think)), then the clipboard is cleared. However, if one avoids the bug by making sure there's no active window before the 0.3s, then "application/x-kde-onlyReplaceEmpty" is set to "1". When it's set to "1" I can never reproduce the bug. I can only find the value/MIME type being explicitly set in this function: https://invent.kde.org/cwo/plasma-workspace/-/blob/d0069721c8152fe7e92b38d4e032ebd8846461d0/klipper/systemclipboard.cpp#L119, and there the "1" is hardcoded. -- You are receiving this mail because: You are watching all bug changes.
