Bug 478723 - Okulars startup get delayed by accessing recent files which are on a unavailable network drive
Summary: Okulars startup get delayed by accessing recent files which are on a unavaila...
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 23.08.4
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-19 12:43 UTC by me
Modified: 2023-12-19 12:43 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 me 2023-12-19 12:43:23 UTC
SUMMARY
When the list of recent files contains entries from e.g. an unmounted samba drive, the startup is delayed as okular tries to stat all recent files

STEPS TO REPRODUCE
1. open files from a connected samba drive
2. unmount the samba drive
3. open okular by clicking on a local pdf file

OBSERVED RESULT
it takes a long time until okular appears

EXPECTED RESULT
okular should immediately start and show the requested file

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.113.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
if accessing the recent files is really needed, could that be done in the backgroud?