Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 226393 - x11-libs/vte and x11-terms/gnome-terminal don't allow disabling of keystroke scroll for alternate screen
Summary: x11-libs/vte and x11-terms/gnome-terminal don't allow disabling of keystroke ...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-13 19:35 UTC by Heath Caldwell (RETIRED)
Modified: 2011-01-27 10:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
vte patch to turn feature on or off (vte-0.16.14-alternate_screen_scroll.patch,3.05 KB, patch)
2008-06-13 19:36 UTC, Heath Caldwell (RETIRED)
Details | Diff
gnome-terminal patch to configure the feature (gnome-terminal-2.22.2-alternate_screen_scroll.patch,19.42 KB, patch)
2008-06-13 19:37 UTC, Heath Caldwell (RETIRED)
Details | Diff
Unified diff for vte patch (vte-0.16.14-alternate_screen_scroll.patch,3.87 KB, patch)
2008-06-13 20:46 UTC, Heath Caldwell (RETIRED)
Details | Diff
Unified diff for gnome-terminal patch (gnome-terminal-2.22.2-alternate_screen_scroll.patch,14.70 KB, patch)
2008-06-13 20:47 UTC, Heath Caldwell (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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