Summary: | impossible to assign bookmarks in certain pdf files | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | p92 |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gkaukola |
Priority: | NOR | ||
Version: | 0.10 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
p92
2010-03-02 16:08:27 UTC
> in the one joined
What does this mean?
I could not join the pdf where I have this problem (28 Mb). But I think I discovered the problem, my filename have an invalid char (\n) in the middle. Don't know how I have created such a filename. Here is a dump of this filename : $ ls IBM* | od -xc 0000000 4249 204d 7953 7473 6d65 5320 6f74 6172 I B M S y s t e m S t o r a 0000020 6567 4e20 7320 7265 6569 0a73 6773 3432 g e N s e r i e s \n s g 2 4 0000040 3137 3932 702e 6664 000a 7 1 2 9 . p d f \n 0000051 So do bookmarks work after fixing the filename? yes they do Caused by this: https://bugs.kde.org/show_bug.cgi?id=140673 From /home/kdedev/kde/src/KDE/kdelibs/kio/bookmarks/kbookmark.cc: QString KBookmark::fullText() const { if (isSeparator()) return i18n("--- separator ---"); QString text = element.namedItem("title").toElement().text(); text.replace('\n', ' '); // #140673 return text; } Or I may have spoke too soon. Investigating further. Fixed in commit r1108063 will be fixed in KDE 4.5 |