FossifyOrg / File-Manager

Easy app for managing your files without ads, respecting your privacy & security
https://www.fossify.org
GNU General Public License v3.0
618 stars 31 forks source link

File Editor: Open .txt crash #123

Open jujubeja opened 1 month ago

jujubeja commented 1 month ago

Checklist

Affected app version

1.0.1

Affected Android/Custom ROM version

GrapheneOS

Affected device model

Pixel 7

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug

  1. download txt https://archive.org/download/20240411_1320/%E6%83%85%E6%AC%B2%E8%B6%85%E5%B8%82.txt
  2. File Editor open txt
  3. crash

Expected behavior

It should Open .txt

Actual behavior

It will crash

Screenshots/Screen recordings

No response

Additional information

https://github.com/RohitKushvaha01/Xed-Editor It open .txt files, very smoothly. I don't know how it works.

Aga-C commented 1 month ago

I think it's a very rare case that someone wants to open a text file that has over 100 MB. This file crashes/hangs most editors on good phones, and even on computers.

In my opinion, instead of handling such large files, the built-in text editor should have a file size limit, similarly as we have in Fossify Notes.