Currently, Xreader will start in fullscreen if the PageMode entry in the PDF catalog dictionary is set to FullScreen (as far as I can tell, the PDF backend is the only backend that will do this). More often than I'd like, I end up downloading and trying to open PDFs where this property is set (it's seemingly randomly set on some academic journal articles) and find this behavior quite irritating. I can't think of a use case where this behavior would be desired. Thus, I'd advocate for removing it, which is what this pull request does, although adding a preference is also an option.
Poppler's FullScreen.pdf unit test case can be used to trigger this behavior.
Currently, Xreader will start in fullscreen if the
PageMode
entry in the PDFcatalog
dictionary is set toFullScreen
(as far as I can tell, the PDF backend is the only backend that will do this). More often than I'd like, I end up downloading and trying to open PDFs where this property is set (it's seemingly randomly set on some academic journal articles) and find this behavior quite irritating. I can't think of a use case where this behavior would be desired. Thus, I'd advocate for removing it, which is what this pull request does, although adding a preference is also an option.Poppler's FullScreen.pdf unit test case can be used to trigger this behavior.