Summary: | not all bookmarks are saved when using two and more copied of okular | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Ilya Zonov <izonov> |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Ilya Zonov
2009-11-26 11:27:11 UTC
Can you specify the exact steps you do, because it seems to work for me. 1. Open first file in okular [1]: # okular 1.pdf 2. Add some bookmarks; 3. Open second file in other okular window [2]: # okular 2.pdf 4. Add some bookmarks for second file; 5. Close okular [1]; 6. Close okular [2]; 7. Open new okular and look which bookmarks were saved. (Saved only bookmarks from okular [2]). SVN commit 1066286 by pino: Change the saving strategy for bookmarks: instead of saving them manually or at closing, save them after each action. This should avoid any bookmark loss due to premature crash or similar abnormal closing. BUG: 157246 BUG: 213206 Also, the above change triggers the D-Bus synchronisation of the internal bookmark manager of the various Okular instances; react to those changes properly by updating the own info (because of the changes in the bookmark manager of another instance). BUG: 216239 On the technical note, keep the cache of known file just with the bookmark address instead of the group itself (which gets changed behind our back). M +98 -25 bookmarkmanager.cpp M +2 -0 bookmarkmanager.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1066286 |