Version: 0.9.3 (using 4.3.3 (KDE 4.3.3), Gentoo) Compiler: i686-pc-linux-gnu-gcc OS: Linux (i686) release 2.6.30-gentoo-r8 If I open two or more files in okular (two or more windows) and add some bookmarks for each file, then are saved bookmarks only from last closing file.
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