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 108491 - gedit: Sometimes v2.1.91-1 displays TWO cursors.
gedit: Sometimes v2.1.91-1 displays TWO cursors.
Status: RESOLVED DUPLICATE of bug 72734
Product: gtk+
Classification: Platform
Component: Widget: GtkTextView
2.2.x
Other Linux
: Low minor
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2003-03-15 23:33 UTC by Joe Drew
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.1/2.2



Description Joe Drew 2003-03-15 23:33:52 UTC
[This bug report is forwarded from Debian's BTS by gedit's maintainer. View
the original bug at http://bugs.debian.org/179424 ]

Sometimes 'gedit' shows two text cursors -- NOT including the mouse 
pointer, which of course should always be there.  Unfortunately,
the bug is tricky to reproduce!  Here's a 10 step method for 
seeing the "two text cursors" bug:

1) Put a fair sized scratch-pad file in the /tmp directory:
    # cp /usr/share/doc/gedit/README /tmp/

2) Open it:
    # gedit /tmp/README

3) Hit 'Ctrl-END'.

4) Move the cursor up to the start of the second to last paragraph,
which begins with "If you are interested in helping..."

5) Hit 'END'. Now the cursor should be one space after "see the".

6) Hit 'delete'.  The next line is added, so it says "see the file...".

7) Hit the down-arrow, then the spacebar, then 'delete'.  Another line
is added.

8) Again hit the down-arrow, then spacebar, then 'delete'.  A third 
line is added.

9) Hit the down-arrow.  The cursor should be just after "todos."

10) Hit the down-arrow.  Wait a moment.  Now there's two cursors.  
The first is just after the "todos." and does not blink.  
The second is on the next line and does blink.

Note: I have virtual desktops running in sawfish.  If I switch away 
from the desktop with 'gedit' and then switch back, the first (unblinking)
cursor vanishes.  But if I press 'up-arrow', then 'down-arrow', the
two cursors reappear.

Tis a complicated tale, but I hope this helps...
Comment 1 Paolo Maggi 2003-03-16 17:37:50 UTC
I am not able to reproduce it.

BTW, I think it could be a GtkTextView refreshing problem.

Moving to gtk+ (GtkTextView).
Comment 2 Owen Taylor 2003-05-24 17:31:21 UTC
A lot of misdrawing problems were fixed in 2.2.1. If this
is actually occurring with GTK+-2.2.1, please reopen.


*** This bug has been marked as a duplicate of 72734 ***