← Back to team overview

desktop-packages team mailing list archive

[Bug 505765] Re: gedit problem with long lines

 

Hello,

here is a bit of update of what Morgane reported, it seems that there are specific characters with which you can reproduce this bug like "(", "[", "{", "$", "\" ... (there may be others). 
When those are followed by a lot of space chars the cursor position on the screen and the position it seems to be on, aren't the same. Furthermore if you try to delete the last character you end up deleting characters that are above the cursor and the cursor itself isn't moving from its position.

We explored Gedit's source code and we doubt that this is a Gtk issue.
We posted a message on Gtk's bugzilla to ask them if they can confirm it
is related or not. If anyone has any updates to make let us know.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/505765

Title:
  gedit problem with long lines

Status in Light-Weight Text Editor for Gnome:
  Confirmed
Status in One Hundred Papercuts:
  Triaged
Status in gedit package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: gedit

  Hi,

  I was editing a text file when the cursor began to behave strangely.
  The file contained these lines:

  CREATE TABLE people(
   integer primary key,
   name varchar(50),
   age integer
  )

  When I put the cursor after the 'l' in 'people', the arrow key would
  not move the cursor to the right. Instead it jumped to the next line.
  Similarly, I could not add text at this position.

  Viewing the file in a hex editor revealed a lot of spaces (284 to be
  accurate) after the opening parenthesis. Probably I've added those
  spaces without knowing it (resting my book "beginning Ruby" on the
  space bar ^ ^). Still, I feel the editor should handle a few hundred
  chars on a line without misbehaviour.

  I attached a copy of the text file.

  Thanks for developing and maintaining this simple but useful editor!

  Tor

  ProblemType: Bug
  Architecture: i386
  DistroRelease: Ubuntu 9.04
  ExecutablePath: /usr/bin/gedit
  Package: gedit 2.26.1-0ubuntu1
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: gedit
  Tags:  ubuntu-unr
  Uname: Linux 2.6.28-17-generic i686

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/505765/+subscriptions