linuxmint / xed

X-Apps [Text] Editor (Cross-DE, backward-compatible, GTK3, traditional UI)
GNU General Public License v2.0
448 stars 84 forks source link

Crash opening big files #558

Open llucasll opened 1 year ago

llucasll commented 1 year ago
 * Xed 3.2.2
 * Distribution - Linux Mint 20.3 Cinnamon

Issue

Xed crashes when opening large files (also losing all other opened and sometimes changed files). Sometimes you simply opened the big file accidentally, (e.g. by the GUI, using nemo (File Manager)) and have no way to cancel the operation.

It could gracefully fail to load them, instead.

Steps to reproduce

Simply try to open a file with ~10MB or more

Expected behaviour

kacperpaczos commented 1 year ago

I can reproduce it. I use this file. norm_wiki_sample.txt