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 172766 - The key bindings associated with the scrolling operation should be user configurable
The key bindings associated with the scrolling operation should be user confi...
Status: RESOLVED DUPLICATE of bug 399057
Product: vte
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: VTE Maintainers
VTE Maintainers
AP4
Depends on: 399057
Blocks:
 
 
Reported: 2005-04-06 05:23 UTC by Muktha
Modified: 2007-11-28 13:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot of the keyboard shortcuts dialog. (41.37 KB, image/png)
2005-04-06 05:27 UTC, Muktha
  Details
Screenshot of the view menu. (34.82 KB, image/png)
2005-04-06 05:28 UTC, Muktha
  Details
Proposed patch for gnome-terminal (12.42 KB, patch)
2005-04-06 05:29 UTC, Muktha
none Details | Review
Proposed patch for vte (3.16 KB, patch)
2005-04-06 05:30 UTC, Muktha
none Details | Review
Modified patch to make use of GtkBindingSet (4.85 KB, patch)
2005-04-29 13:11 UTC, Muktha
none Details | Review
modifying the patch to use g_signal_new instead of _gtk_binding_signal_new (5.42 KB, patch)
2005-05-25 09:25 UTC, Muktha
none Details | Review

Description Muktha 2005-04-06 05:23:21 UTC
Currently, gnome-terminal uses <Shift>Page Up, <Shift>Page Down, <Shift>Home and
<Shift>End keys to scroll up/down. It would be nice if these keys be made
configurable. This would help people who wish to scroll up/down using only the
PageUp/PageDown/Home/End keys (without having to use the Shift key).

One of the approaches to achieve the above is:

1. Add new gconf keys.
   -> apps/gnome-terminal/keybindings/scroll_page_up
   -> apps/gnome-terminal/keybindings/scroll_page_down
   -> apps/gnome-terminal/keybindings/scroll_home
   -> apps/gnome-terminal/keybindings/scroll_end

2. In the 'Edit->Keyboard Shortcuts' dialog, include the following under the    
   'Go' action. (See attached screenshot terminal1.png)
   -> Scroll One Page Up
   -> Scroll One Page Down
   -> Scroll to First Line
   -> Scroll to Last Line

3. In the 'View' menu,  add Scroll Page Up, Scroll Page Down, Scroll Home, 
   Scroll End menuitems (See attached screenshot terminal2.png)

I'm attaching terminal and vte patches for the same. Please let know if the
approach is fine or is there any other way that the problem can be fixed.
Comment 1 Muktha 2005-04-06 05:27:27 UTC
Created attachment 39732 [details]
Screenshot of the keyboard shortcuts dialog.
Comment 2 Muktha 2005-04-06 05:28:33 UTC
Created attachment 39733 [details]
Screenshot of the view menu.
Comment 3 Muktha 2005-04-06 05:29:36 UTC
Created attachment 39734 [details] [review]
Proposed patch for gnome-terminal
Comment 4 Muktha 2005-04-06 05:30:42 UTC
Created attachment 39735 [details] [review]
Proposed patch for vte
Comment 5 Muktha 2005-04-14 13:41:09 UTC
Havoc, kindly give your comments on the above approach.
Comment 6 Havoc Pennington 2005-04-26 17:56:43 UTC
I noted in email that I would change vte over to use GtkBindingSet and then
people can immediately configure this from .gtkrc-2.0

Then figure out how to do a GUI editor around that.

But these patches are wrong, you don't want to break VTE's keybindings, and you
definitely don't want these View menu items.
Comment 7 Muktha 2005-04-29 13:11:00 UTC
Created attachment 45824 [details] [review]
Modified patch to make use of GtkBindingSet
Comment 8 Muktha 2005-05-25 09:25:48 UTC
Created attachment 46865 [details] [review]
modifying the patch to use g_signal_new instead of _gtk_binding_signal_new

havoc: patched based on your comments, okay to commit? please let know if any
modifications need to be done.
Comment 9 Muktha 2005-06-08 11:35:35 UTC
havoc: ping :)
Comment 10 Olav Vitters 2005-07-01 21:57:30 UTC
--> vte
Comment 11 Calum Benson 2006-04-26 17:15:53 UTC
Apologies for spam... ensuring Sun a11y folks are cc'ed on all current accessibility bugs.
Comment 12 Calum Benson 2006-04-26 17:52:25 UTC
Apologies for spam... marking as AP4 to reflect accessibility impact.
Comment 13 Mariano Suárez-Alvarez 2006-11-16 19:06:27 UTC
I like this, and the patch looks sane.

We should fold into this the scroll back/down one line patch from bug 118967.
Comment 14 Calum Benson 2007-03-02 15:00:42 UTC
Ping?  We still get regular complaints about PgUp/PgDn/Home/End being "broken" in gnome-terminal on [Open]Solaris.
Comment 15 Chris Wilson 2007-03-02 15:17:48 UTC
I intend to look at the key bindings issues once gnome-2.18 is out of the way.
Comment 16 Behdad Esfahbod 2007-11-28 13:10:22 UTC
Shouldn't we use GtkBindings as Chris suggested in bug 399057?  Please reopen if not.

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