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 663097 - gedit unresponsive with a file containing long line
gedit unresponsive with a file containing long line
Status: RESOLVED WONTFIX
Product: gedit
Classification: Applications
Component: general
3.2.x
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2011-10-31 12:55 UTC by Robert Roth
Modified: 2011-12-03 09:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
CSS to use to test (31.64 KB, text/css)
2011-10-31 12:55 UTC, Robert Roth
Details

Description Robert Roth 2011-10-31 12:55:31 UTC
Created attachment 200333 [details]
CSS to use to test

When opening the file attached, a 32 kb CSS file having a very long line (more then 32000 chars) gedit becomes unresponsive very often, slows down noticeably, and it becomes unusable. 
I guess this happens with any files having one very long line.

Tried both with text wrapping enabled and disabled from preferences, but the behavior is not affected, gedit is unresponsive regardless of the setting.
Comment 1 Paolo Borelli 2011-12-03 09:50:39 UTC
Unfortunately this is how GtkTextView works, so there is little that gedit can do.

GtkTextView internal data structure makes some trade offs that improve things for "normal" files at the expense of the very-long-line corner case.