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 709899 - Gedit won't render a long line properly
Gedit won't render a long line properly
Status: RESOLVED DUPLICATE of bug 127731
Product: gedit
Classification: Applications
Component: general
3.6.x
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2013-10-11 10:27 UTC by Jaakko Seppälä
Modified: 2013-10-16 16:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jaakko Seppälä 2013-10-11 10:27:31 UTC
I found the following bug. 

I openen the file 10.txt from http://www.ohjelmointiputka.net/tiedostot/mpera.zip . Now Gedit seems to have problems with rendering that file. Also, gedit opens the file much slower than for example Leafpad 0.8.18.1. I tried to make a similar file and I was able to see it properly:

#include <stdio.h>

int main()
{
   FILE *fp;
   int a=0;
   fp = fopen("/tmp/test.txt", "w");
   for(a=0;a<100000;++a) {
     fprintf(fp, "fffg");
   }
   fclose(fp);
   return 0;
}
Comment 1 Sébastien Wilmet 2013-10-16 12:46:48 UTC
GtkTextView is not optimized for very long lines, this is a known problem.

*** This bug has been marked as a duplicate of bug 127731 ***
Comment 2 Jaakko Seppälä 2013-10-16 16:38:25 UTC
Why not just write code which does not use GtkTextView?