Created attachment 129879 [details] Page number widget with a text box for the page name, but not for the page number SUMMARY This is a bit inconvenient. When you view a LaTeX presentation which holds multiple versions of the same slide, many slides have the same number, and you can’t type an exact page number into the page number widget. The page number widget is like this: < [ page ] of pages > When pages have names other than just numbers it is like this: < [ name ] number of pages > So you can only enter a name, like 16, but not a number like 144, 148, 150, ... Entering 16 is not sufficient, because many pages have this name. Would it make sense to additionally allow entering a number, like by clicking on the number (i. e. on the 150 in the screenshot)? ADDITIONAL INFORMATION – Equivalent for the page bar, which isn’t the default anymore. – I call it page name here, because I don’t remember the precise name for this.
Attach such a file
https://www.uncg.edu/cmp/reu/presentations/Charles%20Batts%20-%20Beamer%20Tutorial.pdf Example use case: Go to page 2 1. Enter “2” Observed result: Goes to page 15
Honestly i don't see this being a bug in okular, that pdf is broken having multiple pages with the same page name. We have to choose one of them, i guess we're choosing the last one. If you want to really really really go to page *number* 2 use Ctrl+G (you can access the same dialog by pressing on the page number total (i.e. the 110))
(In reply to Albert Astals Cid from comment #3) > If you want to really really really go to page *number* 2 use Ctrl+G (you > can access the same dialog by pressing on the page number total (i.e. the > 110)) Aaah, that is what I was looking for. I only tried to click the current page number, not the total page number. Making the current page number clickable too is probably not worth the coding, but would make it a bit more idiot proof. :/
I agree with Albert that this is mostly the PDF's fault for being broken. But I suppose if we want to be really nice to the user, we could have Okular display a dialog asking you which page you want to switch to when you ask to switch to a page whose number is shared among multiple pages in the document.
Make the page name line edit an editable combo box, so it suggests completions? Enter “2”, it suggests: 2 (Page 15) [Default choice] 2 (Page 2) 2 (Page 3) 2 (Page 4) ... Pretty useless in this case, but maybe helpful for other documents with sophisticated page names. (Never seen such a document.) I think it should suggest TOC entries instead. > That pdf is broken having multiple pages with the same page name. [...] > I guess we're choosing the last one. Choosing the last page is probably the best choice, it displays the slide without parts covered by overlays. Considering that, I don’t think the PDF is broken, it just uses the slide number as page name.