Bug 142882 - clearing the clipboard does not clear the clipboard history
Summary: clearing the clipboard does not clear the clipboard history
Status: RESOLVED FIXED
Alias: None
Product: klipper
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: Esben Mose Hansen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-12 19:29 UTC by Olivier Vitrat
Modified: 2010-01-19 19:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Vitrat 2007-03-12 19:29:34 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Debian testing/unstable Packages

This has been reported in Debian BTS at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=410123

I think 'clear clipboard' should clear the clipboard history file.
(Currently, the file is only cleared if one empties the clipboard and
 then saves the empty clipboard on program exit.)

Suppose that, after using klipper for some days, user does two things:
 -- clears the clipboard
 -- changes from "save clipboard contents" to "don't save"

Then user's old, already-saved clipboard remains on file at
   ~/.kde/share/apps/klipper/history2.lst
and will happily remain there for months.

This is unlikely to be what the user wanted to achieve.  It's so
unexpected that it should probably be considered a 'normal' bug.
Comment 1 Nicholas Tung 2007-12-12 21:49:15 UTC
particularly not a good idea if people happen to copy passwords. perhaps defaults are the distro's responsibility, but if not, please change it to not save on exit by default.
Comment 2 Esben Mose Hansen 2009-09-21 21:21:57 UTC
SVN commit 1026419 by esben:

Clear on-disk clipboard history when either the user switches from saving history
to not, or when manually clearing history
BUG: 142882

 M  +13 -5     klipper.cpp  
 M  +2 -2      klipper.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1026419
Comment 3 Esben Mose Hansen 2010-01-19 19:50:24 UTC
SVN commit 1077232 by esben:

Clear on-disk clipboard history when either the user switches from saving history to not, or when manually clearing history 
CCBUG: 142882


 M  +12 -6     klipper.cpp  
 M  +2 -2      klipper.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1077232