Bug 470368 - Bookmarks to PDF doc on smb shared folder do not open the document
Summary: Bookmarks to PDF doc on smb shared folder do not open the document
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-28 15:00 UTC by Paul Worrall
Modified: 2023-09-17 18:46 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Worrall 2023-05-28 15:00:22 UTC
SUMMARY
***
If you create a bookmark in a PDF that is stored on a remote SMB-shared folder, and then close the PDF, subsequently clicking on the bookmark does not reopen the PDF.  Bookmarks to local PDF docs do reopen the file.
***


STEPS TO REPRODUCE
1. Open a PDF file on an SMB share (e.g. smb://server.local/share/myfile.pdf)
2. Add a bookmark to the document
3. Close the document
4. Click on the bookmark

OBSERVED RESULT
Nothing happens

EXPECTED RESULT
The PDF file is opened and scrolled to where the bookmark was created

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Bookmarks to local files (e.g. file:///home/user/myfile.pdf) do reopen the file
Comment 1 Paul Worrall 2023-09-17 18:46:33 UTC
Additional info:

I've noticed that the error message says "Could not open file://<current directory>/smb://<server>/<path>"

i.e. it seems to be prepending the current directory (the last one navigated to in the file open dialog) to the smb address