Bug 462171

Summary: loop over PDFs in same directory
Product: [Applications] okular Reporter: ferdymercury <fernando.hueso>
Component: generalAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description ferdymercury 2022-11-23 14:49:00 UTC
SUMMARY
Unlike other PDF viewers like Sumatra PDF reader, Okular lacks the ability of quickly shifting with a keyboard shortcut to the next PDF available within the same directory than the opened one. It would be really nice if this capability could be added.

STEPS TO REPRODUCE
1. Create a folder with very similar PDF files, one called a.pdf and the other called b.pdf
2. Open a.pdf in Okular
3. Press CTRL+SHIFT+Left and CTRL+SHIFT+Right repeatedly to quickly browse between them

OBSERVED RESULT
Nothing happens 

EXPECTED RESULT
It would be a nice enhancement if Okular would close the current one and open the next one automatically, for facilitating the comparison between them.

ADDITIONAL INFORMATION
Several users want this behavior, see:
https://askubuntu.com/questions/388782/how-to-use-evince-to-loop-over-ps-files-in-current-folder
https://askubuntu.com/questions/563956/is-there-a-way-to-quickly-browse-multiple-pdfs-in-a-directory
https://forum.sumatrapdfreader.org/t/feature-request-single-key-to-open-next-pdf-in-folder/1944