Bug 387779 - Allow reload to open previously opened file
Summary: Allow reload to open previously opened file
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-10 16:28 UTC by Andreas
Modified: 2017-12-12 04:15 UTC (History)
1 user (show)

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 Andreas 2017-12-10 16:28:14 UTC
If okular does not find a file when started with a command line argument, it displays an error message to indicate the error (which is completely fine).
Clicking "Ok" closes this message and leaves an open, empty okular window.

This error may happen because of a temporary unavailable resource (e.g. if the directory that contains the file is not mounted).
When restarting kde/plasma with several open okular session this can be quite annoying, since it produces many open, but empty, okular windows and the error messages. 
To open the files again, one needs to browse to each of the files location. 

Therefore, it would be great if pressing "F5" on such a window (okular session that failed to open the provided file) would try to load the file again from the same resource.

Some other kde applications (e.g. kate) show this behavior.