Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Explorer freezes when loading big image #4

Open
AleryBerry opened this issue Aug 26, 2024 · 3 comments
Open

bug: Explorer freezes when loading big image #4

AleryBerry opened this issue Aug 26, 2024 · 3 comments

Comments

@AleryBerry
Copy link

Describe the bug
When moving fast through files, if it catches a big image file, it freezes until the image is loaded, even though I jumped out of the file already.

To Reproduce
Go to any directory with any big image and other files. Hold J to navigate down the directory. When it catches the big file, it freezes and jumps 2-4 files ahead when the file finishes loading.

Expected behavior
The explorer should behave smoothly and kill the loading process if the user already jumped out of the file.

@BrookJeynes
Copy link
Owner

Hey @AleryBerry, thanks for the bug report. I'm currently working on this issue!

It's unfortunately a bit of a tricky one but I'm going to test with updating the library / possibly threading the image loading process as to not cause the user to freeze.

@BrookJeynes
Copy link
Owner

Hey @AleryBerry, I've gone ahead and created a new release which should help with viewing large images.
You can download the latest version here https://github.com/BrookJeynes/zfe/releases/tag/v0.5.0

Unfortunately, this doesn't really fix the issue at hard but more or less optimises the current approach. I'm going to leave this issue open as I plan to experiment with threading the image loading process to hopefully fix the problem at its root.

@AleryBerry
Copy link
Author

@BrookJeynes I tested it and it's working a lot better although it still freezes the explorer a bit. Looking forward for the threading update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@BrookJeynes @AleryBerry and others