When using Okular as previewer in PDFTex workflow, preparing beamer slides, the following usability hell occured: * LaTex/Beamer slides should be compiled to PDF with metadata "StartFullScreen" * But while editing, on every PDF change/and reload, user got a modal popup "The document requested to be launched in presentation mode." "Do you want to allow it?" (See part.cpp) * This make typical Slide/LaTeX/Beamer editing workflow completely unusable. I see several options how to handle it. * Should be commandline options ("--disablefullscreen" or like this), and Okular launched from Kile with this option should ignore all this "StartFullScreen" metadata. * Global preference "Disable Presentation Mode". And if the OS is used to LaTex editing workflow, the owner possible can swith Okular in Presentation Mode. * Completelety disable this warning on reload of the changed document.
I'd say the third option is the one that makes more sense, could you edit the subject to match it?
OK. I will try to patch it.
Could you upload a sample file or show where to download one to reproduce this?
Yes, demo https://github.com/belonesox/demo-of-beamer-problem-for-okular- Need texlive/pdflatex. run demo.sh
Full URL should be «https://github.com/belonesox/demo-of-beamer-problem-for-okular-», bugzilla did not hyperlink correctly in prev.comment.
I tried to access the link to the demo file, but the link is stale. Can you update it?
You can use https://gitlab.freedesktop.org/poppler/test/-/blob/master/unittestcases/FullScreen.pdf
Git commit 08a76adda1b29b33cdb7f7430be231595e109aed by Albert Astals Cid, on behalf of Arshad Husain. Committed on 16/05/2020 at 22:24. Pushed by aacid into branch 'master'. Do not show dialog when reloading file that requests fullscreen When using Okular as previewer in PDFTex workflow, preparing beamer slides, the following usability hell occurred: * LaTex/Beamer slides should be compiled to PDF with metadata "StartFullScreen" * But while editing, on every PDF change/and reload, the user gets a modal popup "The document requested to be launched in presentation mode." "Do you want to allow it?" M +1 -1 part.cpp https://invent.kde.org/graphics/okular/commit/08a76adda1b29b33cdb7f7430be231595e109aed