Summary: | Don't use PDF titles as resource names | ||
---|---|---|---|
Product: | [Unmaintained] Active | Reporter: | Thomas Pfeiffer <thomas.pfeiffer> |
Component: | Contour activity screen | Assignee: | Marco Martin <notmart> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | active, lamarque |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | unscheduled | ||
Platform: | Meego/Harmattan | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Here one can see that some resources are called "untitled" or "Microsoft Word" |
Git commit 5498d493408b4fe22a74685b674055f123cfc958 by Lamarque V. Souza. Committed on 09/04/2012 at 21:33. Pushed by lvsouza into branch 'master'. Do not use PDF titles as resource names. M +6 -1 components/metadatamodel/metadatamodel.cpp http://commits.kde.org/plasma-mobile/5498d493408b4fe22a74685b674055f123cfc958 Git commit 40e9ed48355dcd056735227565be9f6126ff40bf by Lamarque V. Souza. Committed on 09/04/2012 at 21:33. Pushed by lvsouza into branch 'Active/2.1'. Do not use PDF titles as resource names. (cherry picked from commit 5498d493408b4fe22a74685b674055f123cfc958) M +6 -1 components/metadatamodel/metadatamodel.cpp http://commits.kde.org/plasma-mobile/40e9ed48355dcd056735227565be9f6126ff40bf Works in 2012-04-23-16-57-basyskom-plasma-active-testing-meego-usb-live.iso |
Created attachment 68978 [details] Here one can see that some resources are called "untitled" or "Microsoft Word" Version: unspecified (using Devel) OS: Linux The title meta-information of PDF files (the one Okular uses as window title for example) is nonsensical in many PDFs, because authors mostly seem to not care about them and just take whatever their application puts in there (things like "Microsoft Word" or "Title" are quite common). However they sometimes replace the filenames as resource name in the Add Items dialog and Activity screen as soon as I open the PDF in Okular (for some reason this is not always the case). This makes the resource names pretty much useless for these files, since changing the title is far more complicated than changing the file name. Reproducible: Sometimes Steps to Reproduce: Connect a PDF with a set title to an activity. Open it in Okular Actual Results: In some cases, the resource is renamed to the PDF title Expected Results: The filename should remain the resource name. Image used: 2012-01-31-15-30-basyskom-plasma-active-devel-meego with updates from Feb. 20