Okular and restoration of tabs (plus Debian packages)
I have the need to restore my okular tab setup on restart, since I often have quite a lot of pdfs open to view at the same time. Unfortunately, the current okular doesn’t provide this feature. There is a merge request by one of the main authors of okular, but it doesn’t work for me in a stand-alone setup, that is not running KDE but only Okular. I developed a much simpler fix for the restoration problem (because most of the code is already there!), see this merge request, which – although not perfect for sure – does the trick for me.
I have recently updated Okular for Debian in my private repository, which maybe has triggered an update of the maintainers of Okular to update the package in the main repository, too. Thanks a lot to the maintainers for their work. But since it does not contain my own tab-restore patches, I still provide NMU versioned Okular packages in my private repo:
deb https://www.preining.info/debian unstable main deb-src https://www.preining.info/debian unstable main
and the git changes to it in this git repo.