Bug#399935: libgtk2.0-0: wrong cursor positioning on big words inside a text view

Rafael C. Almeida almeidaraf at yahoo.com
Wed Nov 22 22:38:16 UTC 2006


Package: libgtk2.0-0
Version: 2.8.20-3
Severity: normal

Typing a big word on a text view widget (wider than the horizontal space of the
text view), which is set to not scroll horizontally and to wrap on characters,
makes the cursor positioning not to work correctly when you click with the mouse
in the end of the wrapped line.

For example, on a text view screen that can hold 10 'a' characters horizontally
and that wrap on characters, if you type 11 characters the text view looks like
this:

  ___________
\|aaaaaaaaaa\|
\|a         \|
  -----------

But if you click with the mouse right after the 10th 'a', the cursor appears right
behind the 10th 'a' and not right after it or right before the 11th 'a' as
expected.

This behaviour can be seen on gaim and gedit (using the preferences "Enable text
wrapping" and "Do not split words over two lines").


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages libgtk2.0-0 depends on:
ii  libatk1.0-0                  1.12.3-1    The ATK accessibility toolkit
ii  libc6                        2.3.6.ds1-7 GNU C Library: Shared libraries
ii  libcairo2                    1.2.4-4     The Cairo 2D vector graphics libra
ii  libfontconfig1               2.4.1-2     generic font configuration library
ii  libglib2.0-0                 2.12.4-1    The GLib library of C routines
ii  libgtk2.0-common             2.8.20-3    Common files for the GTK+ graphica
ii  libjpeg62                    6b-13       The Independent JPEG Group's JPEG 
ii  libpango1.0-0                1.14.7-1    Layout and rendering of internatio
ii  libpng12-0                   1.2.8rel-7  PNG library - runtime
ii  libtiff4                     3.8.2-6     Tag Image File Format (TIFF) libra
ii  libx11-6                     2:1.0.3-3   X11 client-side library
ii  libxcursor1                  1.1.7-4     X cursor management library
ii  libxext6                     1:1.0.1-2   X11 miscellaneous extension librar
ii  libxfixes3                   1:4.0.1-4   X11 miscellaneous 'fixes' extensio
ii  libxi6                       1:1.0.1-3   X11 Input extension library
ii  libxinerama1                 1:1.0.1-4.1 X11 Xinerama extension library
ii  libxrandr2                   2:1.1.0.2-4 X11 RandR extension library
ii  libxrender1                  1:0.9.1-3   X Rendering Extension client libra

Versions of packages libgtk2.0-0 recommends:
ii  hicolor-icon-theme            0.8-4      default fallback theme for FreeDes
ii  libgtk2.0-bin                 2.8.20-3   The programs for the GTK+ graphica

-- no debconf information





More information about the pkg-gnome-maintainers mailing list