-
-
Notifications
You must be signed in to change notification settings - Fork 109
Description
Preflight Checklist
- I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Describe your suggested feature
Feature Request
Currently, when opening a folder, OpenComic appears to process the entire directory before allowing normal reading.
This means scanning, indexing, and preparing all images first,and only then rendering the content.
While this behavior is more noticeable on remote or high-latency sources (such as network drives, WebDAV, SMB, etc.),
it also affects local storage, especially for folders with many large images.
If the folder contains many files, the initial loading phase can take a long time.
In some cases, a portion of the images may already be discovered or loaded,but they are not displayed until the entire folder processing step completes.
Proposed improvement
Move from a blocking, full-folder loading model to an incremental,prefetch-based loading pipeline.
Possible improvements could include:
- Render pages as soon as they are available
- Continue scanning and loading remaining files in the background
- Allow reading of already-prepared content while the rest is still being processed
Optional configuration ideas:
- Limit initial loading to the first N pages
- Configurable prefetch depth for upcoming pages
- Ability to reduce or skip full pre-scan behavior for large folders
Why this is useful
- Improves responsiveness for both local and remote sources
- Avoids long blocking load times for folders with many images
- Allows users to start reading immediately instead of waiting for full processing
- Scales better with large chapters and high-resolution images
Notes
This is not intended as a remote-only optimization.
The core issue is blocking on full folder processing,and an incremental / prefetch-based model would improve overall performance and usability.
This behavior could be optional or adaptive,so the current behavior remains available if preferred.
Thanks for considering this improvement, and for your work on OpenComic.
Additional Information
No response
Sample file
No response