hoffmannrobert created this revision. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel. hoffmannrobert requested review of this revision.
REVISION SUMMARY Password manager tools like Keepassx offer an option to clear the clipboard/selection after some time, e.g. 10 seconds, after the password was copied to the clipboard. This works fine, but unfortunately the password isn't removed from Klipper's history. This is a great security risk, which may make the use of password managers impossible. This patch offers an option to remove the top history item if Klipper::checkClipData was called, but actually there isn't any data. This is the case, if QClipboard::clear was called (by Keepassx), which does setMimeData(0, mode). REPOSITORY R120 Plasma Workspace BRANCH master REVISION DETAIL https://phabricator.kde.org/D12373 AFFECTED FILES klipper/generalconfig.ui klipper/klipper.cpp klipper/klipper.h klipper/klipper.kcfg To: hoffmannrobert Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart