ictwod created this revision. ictwod added a reviewer: aacid. Herald added a project: Okular. Herald added a subscriber: okular-devel. ictwod requested review of this revision.
REVISION SUMMARY Further description here: https://bugs.kde.org/show_bug.cgi?id=361740 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?" (See part.cpp) - This makes typical Slide/LaTeX/Beamer editing workflow completely unusable. FIX: - Completely disable this warning on reload of the changed document. TEST PLAN F8267430: TexToPdfTestMaterials.zip <https://phabricator.kde.org/F8267430> 1. Download and unzip test materials First Test: 1. Run demo.sh 2. Open generated demo.pdf in Okular 3. Click 'Deny Request' on full-screen prompt 4. Reload pdf by pressing F5 <https://phabricator.kde.org/F5> or File>Reload 5. demo.pdf should reload without full-screen prompt showing again Second Test: 1. Run demo.sh 2. Open generated demo.pdf in Okular 3. Click 'Deny Request' on full-screen prompt 4. Keep demo.pdf open in Okular and run demo.sh again 5. demo.pdf should automatically reload without full-screen prompt showing again REPOSITORY R223 Okular REVISION DETAIL https://phabricator.kde.org/D29246 AFFECTED FILES part.cpp To: ictwod, aacid Cc: aacid, ictwod, okular-devel, johnzh, andisa, siddharthmanthan, maguirre, fbampaloukas, joaonetto, kezik, ngraham, darcyshen