Large files crash file viewer?#1108

Closed
opened 2022-04-11 10:21:44 +02:00 by mmarif · 3 comments
Owner

I don't know if this is a common issue but I noticed that some large files will crash the file viewer or in some cases hang the process and phone for a while.

Check with these files, any js/json etc file with around 50kb and over can be tested.

https://codeberg.org/nobody/LocalCDN/src/branch/main/resources

Example file on emulator to hang the app.
https://codeberg.org/nobody/LocalCDN/src/branch/main/resources/angular-material/1.2.4/angular-material.min.jsm

I don't know if this is a common issue but I noticed that some large files will crash the file viewer or in some cases hang the process and phone for a while. Check with these files, any js/json etc file with around 50kb and over can be tested. https://codeberg.org/nobody/LocalCDN/src/branch/main/resources Example file on emulator to hang the app. https://codeberg.org/nobody/LocalCDN/src/branch/main/resources/angular-material/1.2.4/angular-material.min.jsm
Contributor

Can reproduce this, this happens while rendering the code I think, downloading /syntax highlighting should happen in the background.

Can reproduce this, this happens while rendering the code I think, downloading /syntax highlighting should happen in the background.
Author
Owner

I thought it was suppose to be that way, work in the background?

I thought it was suppose to be that way, work in the background?
Contributor

Yes, but rendering (setting text to text view) still runs on main thread, maybe this is the issue.

Yes, but rendering (setting text to text view) still runs on main thread, maybe this is the issue.
mmarif added this to the 8.0.0 milestone 2025-03-15 16:02:08 +01:00
mmarif self-assigned this 2025-03-15 16:02:10 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: gitnex/GitNex#1108
No description provided.