Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 226393

Summary: x11-libs/vte and x11-terms/gnome-terminal don't allow disabling of keystroke scroll for alternate screen
Product: Gentoo Linux Reporter: Heath Caldwell (RETIRED) <hncaldwell>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED UPSTREAM    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://bugzilla.gnome.org/show_bug.cgi?id=518405
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: vte patch to turn feature on or off
gnome-terminal patch to configure the feature
Unified diff for vte patch
Unified diff for gnome-terminal patch

Description Heath Caldwell (RETIRED) gentoo-dev 2008-06-13 19:35:33 UTC
x11-libs/vte has a feature where scrolling in an alternate screen (or when scrolling is restricted) causes Up/Down keystrokes to be sent instead of normal scrolling.  This feature can be very annoying when using some applications like mutt or screen.  Alternate screen keystroke scrolling should be configurable so that the user can turn it on or off.

This bug has been submitted upstream at:
http://bugzilla.gnome.org/show_bug.cgi?id=538195

I will attach patches that make the feature configurable.

Reproducible: Always

Steps to Reproduce:
Comment 1 Heath Caldwell (RETIRED) gentoo-dev 2008-06-13 19:36:31 UTC
Created attachment 156653 [details, diff]
vte patch to turn feature on or off

Here is a patch to add the ability to toggle alternate screen keystroke
scrolling.
Comment 2 Heath Caldwell (RETIRED) gentoo-dev 2008-06-13 19:37:42 UTC
Created attachment 156655 [details, diff]
gnome-terminal patch to configure the feature

Here is a patch for gnome-terminal that allows the user to configure turning
the feature on or off.
Comment 3 Arun Raghavan (RETIRED) gentoo-dev 2008-06-13 20:36:09 UTC
(In reply to comment #0)
> I will attach patches that make the feature configurable.

Please attach 'unified' diffs (diff -urNp should be good enough) when submitting patches. These are the de-facto standard, more compact, and much easier to review.
Comment 4 Heath Caldwell (RETIRED) gentoo-dev 2008-06-13 20:46:33 UTC
Created attachment 156669 [details, diff]
Unified diff for vte patch
Comment 5 Heath Caldwell (RETIRED) gentoo-dev 2008-06-13 20:47:30 UTC
Created attachment 156671 [details, diff]
Unified diff for gnome-terminal patch
Comment 6 Heath Caldwell (RETIRED) gentoo-dev 2008-06-13 20:48:55 UTC
(In reply to comment #3)
> Please attach 'unified' diffs (diff -urNp should be good enough)

Done.
Comment 7 Daniel Gryniewicz (RETIRED) gentoo-dev 2008-06-25 13:41:41 UTC
I'm watching the upstream discussion.  Not sure if I should apply this or not (even though the scrolling in screen really annoying).  I'd obviously prefer a solution that actually worked for screen, but that may not be a possibility.
Comment 8 Heath Caldwell (RETIRED) gentoo-dev 2008-06-25 16:32:45 UTC
(In reply to comment #7)

This seems to me to be the only valid solution.  Anything else would be a work around to avoid or mollify the keystroke feature.

It seems perfectly reasonable to simply make it configurable and let the user decide whether or not they want it.  Unfortunately, I seem to be having trouble convincing the vte maintainer that this is what is best for the users.
Comment 9 Pacho Ramos gentoo-dev 2010-11-19 21:53:46 UTC
Does the rest of gnome team think we should include this downstream or wait for upstream? In the last case, I would vote for closing this as "UPSTREAM"
Comment 10 Pacho Ramos gentoo-dev 2011-01-27 10:23:55 UTC
As I can read in last comments from upstream bug report, this patch won't be included as-is and needs more work, then, this needs to be handled directly with upstream in upstream bug report:
http://bugzilla.gnome.org/show_bug.cgi?id=518405