Bug 362727 - When Keepassx clears clipboard with password, he stays in Klipper
Summary: When Keepassx clears clipboard with password, he stays in Klipper
Status: RESOLVED INTENTIONAL
Alias: None
Product: klipper
Classification: Unmaintained
Component: plasma-widget (other bugs)
Version First Reported In: 5.6.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Martin Flöser
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-05 21:57 UTC by svadkost
Modified: 2017-05-24 09:32 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.