gedit 2.22.3 can't open a big file (719.1 kB) correctly

Bug #251899 reported by Jaakko Seppälä
This bug report is a duplicate of:  Bug #134352: gedit slow on long lines. Edit Remove
2
Affects Status Importance Assigned to Milestone
gtksourceview2 (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gedit

I opened the file http://www.ohjelmointiputka.net/tiedostot/mpera.zip by File Roller 2.22.3. Then I opened the file 10.txt by doubleclicking the file. Now gedit 2.22.3 won't show the file correctly but for example OpenOffice.org 2.4.1 can open it.

ProblemType: Bug
Architecture: i386
Date: Fri Jul 25 19:17:09 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/gedit
NonfreeKernelModules: nvidia
Package: gedit 2.22.3-0ubuntu1
PackageArchitecture: i386
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gedit
Uname: Linux 2.6.24-19-generic i686

Tags: apport-bug
Revision history for this message
Jaakko Seppälä (jaakkoseppala) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report, how not correctly? are you sure that's a text file? can you open it correctly using an another text editor?

Changed in gedit:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Jaakko Seppälä (jaakkoseppala) wrote :

I'm pretty sure it's a text file, since it is a sample input of a certain programming exercise. When I open it, it looks like those letters f and g overlaps themselves. As I said, OpenOffice.org 2.4.1 can open it as well as vi.

In those zip-file mpera.zip there are another files. I guess those are of the same format because that programming exercise has been tested on several inputs. gedit 2.22.3 can open those other files well.

Revision history for this message
Sebastien Bacher (seb128) wrote :

to send on bugzilla.gnome.org by somebody having the issue

Changed in gedit:
status: Incomplete → New
Revision history for this message
Pedro Villavicencio (pedro) wrote :

I was able to reproduce the issue, that's a gtksourceview one, the "Long delays in loading long lines", re assigning, thanks.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

and it's also a duplicate of bug 134352, thanks again.

Changed in gtksourceview2:
status: New → Invalid
Revision history for this message
Jaakko Seppälä (jaakkoseppala) wrote :

I'm not sure if this is a duplicate of bug 134352. Gedit is not slow. It shows the letters incorrectly. The same bug appears in Geany 0.14.

Revision history for this message
Jaakko Seppälä (jaakkoseppala) wrote :

2^19 plays some role in this bug.

file: http://www.ohjelmointiputka.net/tiedostot/mpera.zip 10.txt

split -b 524289 10.txt
gedit xaa
gives one overlapped letter

split -b 524288 10.txt
gedit xaa
outputs correctly.

Hope this helps to find out the bug.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.