Fragment always ignored when opening documents
It used to be possible to refer to individual pages in PDF documents by opening them with URIs such as file:///home/user/document.pdf#5
(for page 5).
This currently appears to be broken because get_label_from_filename
in shell/main.c
creates a new file object using g_file_new_for_commandline_arg
. This function appears to strip the fragment on its own, so if the file exists under its fragment-less name (document.pdf
), the function will return NULL. In practice, this means that specified fragment is always ignored.