<table><tr><td style="">michaelweghorn created this revision.<br />michaelweghorn added a reviewer: Okular.<br />Herald added a project: Okular.<br />Herald added a subscriber: okular-devel.<br />michaelweghorn requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D20868">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Support the '#page=<pagenum>' fragment to specify which page<br />
to open the document at, in addition to the existing '#<pagenum>'<br />
syntax.<br />
For PDF, the '#page=<pagenum>' fragment is specified in RFC 8118,<br />
section 3.</p>

<p>BUG: 406831</p></div></div><br /><div><strong>TEST PLAN</strong><div><ol class="remarkup-list">
<li class="remarkup-list-item">Put a test file that has multiple pages at '/tmp/testfile.pdf'</li>
<li class="remarkup-list-item">Check that all of the following commands open the test file on page 2:
<br /><br />
okular /tmp/testfile.pdf#2 okular /tmp/testfile.pdf#page=2 okular file:///tmp/testfile.pdf#2 okular file:///tmp/testfile.pdf#page=2</li>
</ol></div></div><br /><div><strong>REPOSITORY</strong><div><div>R223 Okular</div></div></div><br /><div><strong>BRANCH</strong><div><div>michaelweghorn/kdebug406831_support_rfc_compliant_way_to_open_at_page</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D20868">https://phabricator.kde.org/D20868</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>part.cpp</div></div></div><br /><div><strong>To: </strong>michaelweghorn, Okular<br /><strong>Cc: </strong>okular-devel, joaonetto, tfella, ngraham, darcyshen, aacid<br /></div>