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 307396 - Mouse scroll mode not controllable
Mouse scroll mode not controllable
Status: RESOLVED FIXED
Product: gnome-terminal
Classification: Core
Component: general
2.10.x
Other Linux
: Normal enhancement
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-06-12 17:03 UTC by Luis Gutierrez
Modified: 2006-11-17 00:52 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
Make the mouse wheel scroll by tenths of a screenful (711 bytes, patch)
2006-08-28 03:26 UTC, Mariano Suárez-Alvarez
committed Details | Review

Description Luis Gutierrez 2005-06-12 17:03:59 UTC
Distribution/Version: gentoo

when using the mouse scroll wheel, gnome terminal advances by 1/2 of the page,
like emacs does. I find this confusing.

Some apps, like Firefox or Ephyphany scroll by 3 or 4 lines. This ammount is
much easier to follow by the eyes, specilly when the terminal lenght is large.

Not sure if an option in the terminal is a good idea, or a system wide option.
Comment 1 Michele Baldessari 2005-07-08 07:15:33 UTC
*** Bug 309773 has been marked as a duplicate of this bug. ***
Comment 2 Timo Saarinen 2005-07-08 11:28:50 UTC
It would also be nice if shift arrow-up/arrow-down scrolled one line up/down.
Comment 3 Michele Baldessari 2005-07-08 20:47:45 UTC
Hi Timo,

you can find such a patch on this bug:
http://bugzilla.gnome.org/show_bug.cgi?id=118967

Comment 4 Michele Baldessari 2005-07-08 21:02:40 UTC
doh.. which reminds me I have marked Timo's bug as a wrong DUPLICATE.
Should be #309773 is a duplicate of #118967 not of this one.

Apologies for the mistake
Comment 5 Adam Dingle 2006-08-06 01:02:38 UTC
I agree with Luis; having the mouse wheel scroll by half a page is just way too fast.  I'd also prefer that gnome-terminal behave like other Gnome apps which scroll by just a few lines.
Comment 6 Mariano Suárez-Alvarez 2006-08-28 03:26:47 UTC
Created attachment 71742 [details] [review]
Make the mouse wheel scroll by tenths of a screenful

This trivial patch makes the mouse wheel scroll by tenths of a screenful (or 1, whichever is greater). The number 10, of course, was suggested to me by elves...
Comment 7 Adam Dingle 2006-11-15 17:18:16 UTC
Mariano, I applied your patch and rebuilt libvte9.  It works fine.  In my opinion this is a huge improvement - I'd love to see this checked in.
Comment 8 Behdad Esfahbod 2006-11-15 18:40:25 UTC
Lets get this in.
Comment 9 Mariano Suárez-Alvarez 2006-11-15 19:26:34 UTC
I'll commit it in a bit.
Comment 10 Mariano Suárez-Alvarez 2006-11-17 00:52:43 UTC
This is in HEAD now.

2006-11-16 Mariano Suárez-Alvarez <mariano@gnome.org>

	Bug 307396 – Mouse scroll mode not controllable

	* src/vte.c(vte_terminal_scroll): make the scrollwheel scroll by tenths of
	a screen (or 1 line, whichever is bigger) instead of half screens.