Bug 362727

Summary: When Keepassx clears clipboard with password, he stays in Klipper
Product: [Unmaintained] klipper Reporter: svadkost
Component: plasma-widgetAssignee: Martin Flöser <mgraesslin>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: germano.massullo
Priority: NOR    
Version First Reported In: 5.6.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description svadkost 2016-05-05 21:57:44 UTC
When KeePassX clears clipboard with password, he stays in Klipper window even through i can't paste it anymore without select it in Klipper.
Option "Prevent empty clipboard" is turned off.

Reproducible: Always

Steps to Reproduce:
1.copy password from Keepassx
2.wait, before Keepassx clear clipboard

Actual Results:  
I can't paste password in text field, but password still visible in Klipper window and i can select it from here (by first selecting another item), and then paste.

Expected Results:  
Clipboard should be cleared everywhere.

Keepassx version 2.0.2
Comment 1 Martin Flöser 2016-05-06 05:46:04 UTC
I'm sorry, but that is just not possible from a technical point of view. In the days before becoming the maintainer of klipper and understanding how this technically works I reported a similar bug 156547.

Technically that's just not possible. We don't get a signal "don't save this password", we just get a "hey the new clipboard content is an empty string". We don't have any meta information about the clipboard content. We don't know that it is a password, we don't know which application send it, and so on.