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 98440 - Right-clicking text selection highlights empty line
Right-clicking text selection highlights empty line
Status: RESOLVED DUPLICATE of bug 90435
Product: gtk+
Classification: Platform
Component: Widget: GtkTextView
2.0.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2002-11-13 23:43 UTC by Evert Verhellen
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Evert Verhellen 2002-11-13 23:43:14 UTC
Description of Problem:
Right-clicking the mouse on a text selection that is right behind an empty
line, will highlight the empty line as well. The empty line doesn't appear
to be part of the selection.

Steps to reproduce the problem:
1. Start gedit2.
2. Type in the following text (do not type the line numbers):

   1 Blah.
   2 
   3 Blah.
   4 

3. Select the 2nd "Blah" occurence.
4. Right-click the mouse on the text selection.

Actual Results:
The pop-up menu appears and the empty line in front of the text selection
is highlighted.

Expected Results:
Only the pop-up menu should appear.

5. Click on "Cut".

Actual (Expected) Results:
The 2nd "Blah" occurence is removed. The empty line is no longer highlighted.

How often does this happen?
Always.

Version Details:
gtk+-2.0.6.tar.bz2
gedit-2.0.5.tar.bz2
Comment 1 Luis Villa 2002-12-05 21:32:25 UTC

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