Bug#581656: gedit: cursor placement ignores character directly before line wrap with certain character combinations

Zach Wheeler zachw.foss at gmail.com
Fri May 14 18:08:21 UTC 2010


Package: gedit
Version: 2.30.2-1
Severity: normal
Tags: sid

Example (pipe indicates cursor placement):
A (no wrap):
1   sample text. sample text.(sample text)
<note absence of space between '.' and '('>
B (wrap at column 26):
1   sample text. sample text|.
    (sample text)
<press right arrow key and...>
C: (wrap at column 26 #2)
1   sample text. sample text.
    |(sample text)
<note how cursor skips over period>

pressing left arrow key at C results in B again.

This is not just graphical; typing will insert text at cursor location.

To reproduce:
Type text long enough to wrap. Ensure that it wraps either directly before a
'(', '[', '{', '\', '+', or '$' character and immediately after a non-
whitespace character, or directly before a non-whitespace character and
immediately after a '!', '%', ')', ']', '}', '|', '/', '-', or '?' character (I
did some testing myself to try to isolate the character combinations that
caused this effect). Try using the arrow keys (or the mouse) to place the
cursor directly before where the line wraps.



-- Package-specific info:
Active plugins:
  - docinfo
  - modelines
  - filebrowser
  - spell
  - time

No plugin installed in $HOME.

Module versions:
  - glib                  2.24.0
  - gtk+                  2.20.1
  - gtksourceview         
  - pygobject             
  - pygtk                 
  - pygtksourceview       
  - enchant               
  - iso-codes             3.16

Python module versions:
  - python                2.5.5
  - pygtk                 2.17.0 (GTK+ 2.20.1)


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-3-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gedit depends on:
ii  gconf2                      2.28.1-3     GNOME configuration database syste
ii  gedit-common                2.30.2-1     official text editor of the GNOME 
ii  iso-codes                   3.16-1       ISO language, territory, currency,
ii  libatk1.0-0                 1.30.0-1     The ATK accessibility toolkit
ii  libc6                       2.10.2-6     Embedded GNU C Library: Shared lib
ii  libcairo2                   1.8.10-4     The Cairo 2D vector graphics libra
ii  libenchant1c2a              1.4.2-3.6    a wrapper library for various spel
ii  libgconf2-4                 2.28.1-3     GNOME configuration database syste
ii  libglib2.0-0                2.24.0-1     The GLib library of C routines
ii  libgtk2.0-0                 2.20.1-1     The GTK+ graphical user interface 
ii  libgtksourceview2.0-0       2.10.0-1     shared libraries for the GTK+ synt
ii  libice6                     2:1.0.6-1    X11 Inter-Client Exchange library
ii  libpango1.0-0               1.28.0-1     Layout and rendering of internatio
ii  libsm6                      2:1.1.1-1    X11 Session Management library
ii  libx11-6                    2:1.3.3-3    X11 client-side library
ii  libxml2                     2.7.7.dfsg-2 GNOME XML library
ii  python                      2.5.4-9      An interactive high-level object-o
ii  python-gobject              2.21.1-1     Python bindings for the GObject li
ii  python-gtk2                 2.17.0-2     Python bindings for the GTK+ widge
ii  python-gtksourceview2       2.10.1-1     Python bindings for the GtkSourceV
ii  python-support              1.0.8        automated rebuilding support for P
ii  python2.5                   2.5.5-6      An interactive high-level object-o

Versions of packages gedit recommends:
ii  python-gnome2                 2.28.1-1   Python bindings for the GNOME desk
ii  zenity                        2.30.0-1   Display graphical dialog boxes fro

gedit suggests no packages.

-- no debconf information





More information about the pkg-gnome-maintainers mailing list