Bug 302530

Summary: sweeper should clean okular data too
Product: [Applications] sweeper Reporter: Toralf Förster <toralf.foerster>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: REPORTED ---    
Severity: wishlist CC: aacid, cfeck, darrella, dj217492, erup, scarpino
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Patch which implement this

Description Toralf Förster 2012-06-25 20:35:34 UTC
that dir should be (optionally) included :

/home/tfoerste/.kde4/share/apps/okular/docdata/

Reproducible: Always

Actual Results:  
a

Expected Results:  
b

KDE 4.8.4
Comment 1 Andrea Scarpino 2012-09-05 22:09:47 UTC
Created attachment 73684 [details]
Patch which implement this
Comment 2 Christoph Feck 2012-09-05 22:35:49 UTC
Thanks for the patch, Andrea.

Albert, can you check if the patch from comment #1 is doing the right thing?
Comment 3 Andrea Scarpino 2012-09-06 11:03:39 UTC
Don't know which is the right procedure, so I also opened https://git.reviewboard.kde.org/r/106344/
Comment 4 Albert Astals Cid 2012-09-06 11:06:53 UTC
You don't want to do that, you'll lose annotations etc.
Comment 5 Andrea Scarpino 2012-09-06 11:25:49 UTC
(In reply to comment #4)
> You don't want to do that, you'll lose annotations etc.
Well, maybe the description should be more verbose then "okular metadata", but I guess is a valid action...I had a very big docdata dir.
Comment 6 Albert Astals Cid 2012-09-06 11:27:28 UTC
Sure, the next user that runs sweeper, lost all his day of work and comes shouting at me saying he is going to kill me, i forward him to you, deal?
Comment 7 Andrea Scarpino 2012-09-06 11:29:47 UTC
(In reply to comment #6)
> Sure, the next user that runs sweeper, lost all his day of work and comes
> shouting at me saying he is going to kill me, i forward him to you, deal?

Then close this as WONT IMPLEMENT.
Comment 8 Andrea Scarpino 2012-09-06 11:41:38 UTC
For the reference, this has been requested in BUG#244769 too.
Comment 9 Albert Astals Cid 2012-09-06 16:55:42 UTC
Yes, people ask for hot coffee and then sue the company when they get burnt. Happens all the time.
Comment 10 Albert Astals Cid 2012-09-06 17:13:37 UTC
Note the proper way of implementing this cleaning is imho in okular, where you can clear "useless" metadata like last-open page, but you can keep interesting stuff like annotations.

If you are interested in implementing that we are a bunch of nice people
Comment 11 Toralf Förster 2012-12-30 17:42:53 UTC
*** Bug 244769 has been marked as a duplicate of this bug. ***
Comment 12 Woodsman 2013-03-18 17:13:14 UTC
I find the metadata files useful, but within the spirit of Sweeper, which according to --help and the handbook, is an app that "Helps clean unwanted traces the user leaves on the system." Seem then that Okular data should be included in Sweeper.

Related to that option, perhaps Okular should have an option to prevent saving metadata.