Bug 14745

Summary: gnome-terminal double-click bug
Product: [Retired] Red Hat Linux Reporter: Matthew Kirkwood <matthew>
Component: gnome-libsAssignee: Havoc Pennington <hp>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: high    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-08-09 23:40:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matthew Kirkwood 2000-07-27 19:07:16 UTC
(Again, I believe this to be a zvt bug, hence gnome-libs.  It has been in
the gnome-1.2 stuff forever, so I don't believe that it will have been
fixed since beta3.)

Double-middle-clicking in a gnome-terminal will cause the text to be pasted
three times.

Also, affects mouse-wheel scrolling -- two clicky-scrolly-movements in
close succession on the wheel appear to effect three scrolls, whereas done
slowly it

Comment 1 Glen Foster 2000-07-30 21:51:07 UTC
... the text of the above defect report appears to have been cut off.  Please
check it and see if there is any more data to present.  I need to know what's
missing so I can determine it it's a MUST-FIX or not for Winston. Thanks!

Comment 2 Matthew Kirkwood 2000-07-30 22:39:18 UTC
Oops, my attention span is a bit ... Hey!  Nice car!

So what was I saying?  I don't think there's much more info to present, but the
bug might be more complete with "scrolls roughly (probably exactly) a third
less".

Comment 3 Matthew Kirkwood 2000-07-31 15:43:24 UTC
Here's a possible fix to the paste bit, from Paul Warren
<pdw.ox.ac.uk> (who would be a very worthwhile addition to the beta
team, BTW).  I guess that the scroll thing is as easily fixed but don't have
time to read source right now.

> Index: zvtterm.c
> ===================================================================
> RCS file: /cvs/gnome/gnome-libs/zvt/zvtterm.c,v
> retrieving revision 1.138.4.7
> diff -u -r1.138.4.7 zvtterm.c
> --- zvtterm.c 2000/06/18 03:18:22     1.138.4.7
> +++ zvtterm.c 2000/07/31 14:30:20
> @@ -1583,7 +1583,9 @@
>      break;
>  
>    case 2:                    /* middle button - paste */
> -    request_paste (widget, 0, event->time);
> +    if (event->type == GDK_BUTTON_PRESS) {
> +      request_paste (widget, 0, event->time);
> +    }
>      break;
>  
>    case 3:                    /* right button - select extend? */
> 


Comment 4 Havoc Pennington 2000-08-09 23:40:25 UTC
I've fixed this but it isn't in the tree yet, has to get through QA

Comment 5 Havoc Pennington 2000-08-16 20:20:57 UTC
This should now be in the tree