After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 733206 - gedit should ask to confirm if is used to open a big file
gedit should ask to confirm if is used to open a big file
Status: RESOLVED OBSOLETE
Product: gedit
Classification: Applications
Component: file loading and saving
git master
Other Linux
: Normal enhancement
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2014-07-15 14:52 UTC by Pacho Ramos
Modified: 2020-11-24 10:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pacho Ramos 2014-07-15 14:52:42 UTC
Today I got a .nva file opened by gedit by error (nautilus offered gedit as default option even if it cannot open it). The file is around 25 MB and, once gedit is opened, it starts to consume CPU and memory until system is nearly get stalled (I was able to kill it manually login in a console after waiting a bunch fortunately)

Maybe gedit should at least show a window asking for confirmation about opening a file that it's not supposed to support (this .nva file is shown as text/x-matlab by nautilus, but I am not sure it's even the case :/). NVA format is the one read by this one:
http://nvareader.com/
Comment 1 Sébastien Wilmet 2014-07-15 15:26:48 UTC
Normally gedit doesn't freeze anymore when loading a big file. And the loading can be cancelled.
Comment 2 Pacho Ramos 2014-07-15 15:42:02 UTC
The problem in this case is that system gets nearly frozen before that possibility for cancelling appears :(
Comment 3 Peter Vágner 2017-10-19 08:09:01 UTC
This is also very problematic when relying on the accessibility support.
I am using Gnome desktop with Orca screen reader and I can barely open files larger than a megabyte or so.
The system freezes to a point I do need to turn to another virtual tty in order to kill Gedit otherwise I'm risking that I will have to restart the whole gnome session.
Last time this has happened to me I have tried to load 3.5MB text file into gedit.
Comment 4 Sébastien Wilmet 2020-11-24 10:01:00 UTC
Mass-closing of all gedit bugzilla tickets.

Special "code" to find again all those gedit bugzilla tickets that were open before the mass-closing:

2bfe1b0590a78457e1f1a6a90fb975f5878cb60064ccfe1d7db76ca0da52f0f3

By searching the above sha256sum in bugzilla, the gedit contributors can find again the tickets. We may be interested to do so when we work on a specific area of the code, to at least know the known problems and possible enhancements.

We do this mass-closing because bugzilla.gnome.org is being replaced by gitlab.gnome.org.