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 63480 - scrolled window keyboard scrolling
scrolled window keyboard scrolling
Status: RESOLVED WONTFIX
Product: gtk+
Classification: Platform
Component: Widget: GtkScrolledWindow
1.3.x
Other Linux
: Normal normal
: Medium fix
Assigned To: gtk-bugs
gtk-bugs
AP3 scrolling
: 91257 153968 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2001-10-31 17:24 UTC by Matt Wilson
Modified: 2015-05-11 10:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matt Wilson 2001-10-31 17:24:07 UTC
If no widgets in a scrolled window are focusable, the scrolled window
should take focus to allow cursor key scrolling
Comment 1 Owen Taylor 2001-11-19 18:48:56 UTC
Interesting question is how to indicate the focus - it's not
the same as focusing a scrollbar since you need to scroll
both horizontall and verticlaly.

Also, what key binding for page left-right for the horizontal 
scrollbar (if you need to do that?)

If somone was looking at this, they might also want to 
look at keybindings that should work when children of the
scrolled window have focus; I think in Windows there are
bindings (ctrl-arrows?) to scroll the window in similar cases.

Putting this on 2.0.0, but I suspect it will be moved to
a future milestone when we review 2.0.0 for puntage.
Comment 2 Luis Villa 2002-01-22 21:29:55 UTC
Adding GNOME2 keyword to all keynav bugs per sander's request. You can filter on
the phrase 'luis doing GNOME2 work' to catch all instances of this so that you
can ignore them.
Comment 3 Owen Taylor 2002-02-16 01:16:23 UTC
See 

http://mail.gnome.org/archives/gtk-devel-list/2002-February/msg00104.html

For patch and discussion.

Fri Feb 15 20:09:45 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkscrolledwindow.[ch] gtk/gtkmarshallers.list:
	Add key bindings on GtkScrolledWindow for arrow keys,
	PageUp/PageDown Home/End to scroll the window. 
	Bind Control-[Shift]-Tab to focus out of the scrolled
	window entirely. Allow the scrolled window to be
	focused if no child can be focused. (#63480)

Fixes most of this. Remaining issues are:

 - Drawing of focus indication if the scrolled window itself
   is focused.

 - Should Home/End be left-right or top-bottom. (Control-Home/End
   takes the other.)
Comment 4 Owen Taylor 2002-02-27 00:41:31 UTC
Tue Feb 26 19:38:14 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init):
        Switch control-home/end and home/end with
        the idea that scrolled windows more typically contain
        vertical sets of controls and to correspond to the bindings
        in GtkTreeView.

Leave focus indication as a future fix.

Comment 5 Matthias Clasen 2002-04-05 13:35:22 UTC
Move open bugs from milestones 2.0.[012] -- > 2.0.3, since 2.0.2 is already out.
Comment 6 Owen Taylor 2002-08-21 11:27:45 UTC
*** Bug 91257 has been marked as a duplicate of this bug. ***
Comment 7 Owen Taylor 2002-10-24 16:58:36 UTC
Move various non-critical bugs onto 2.2.1 milestone.
Comment 8 Calum Benson 2003-04-03 14:28:05 UTC
Updating status_whiteboard field to reflect A11Y team's assessment 
of accessibility impact.
Comment 9 Calum Benson 2003-08-07 16:18:00 UTC
Apologies for spam... marking as GNOMEVER2.3 so it appears on the official GNOME
bug list :)
Comment 10 yuedong du 2003-09-03 08:23:57 UTC
Do not know if it's proper to append my problems into this bug,

My question is, why gtkscrolledwindow need Control+PageUp/Down to
PageUp/Down? Can we remove it?

In evolution, there is a case that a gtkscrolledwindow is contained in
a GtkNotebook. And the control+pageup/down is conflicted. In the
notebook, C+PageUp/Down is used to switch tab. But in the
scrolledwindow, it is used to scroll page up/down. Thus if focus is in
the scrolledwindow, control+pageup fail to switch to next tab.
Comment 11 Calum Benson 2003-11-27 12:17:07 UTC
You're right, Ctrl-PgUp quite often conflicts with controls in
notebooks.  However, to resolve this, Ctrl-Alt-PgUp/PgDn was added to
GtkNotebook as an alternative for switching tabs.  See bug #97860.
Comment 12 Matthias Clasen 2004-09-29 05:16:36 UTC
*** Bug 153968 has been marked as a duplicate of this bug. ***
Comment 13 David Christian Berg 2004-09-29 08:37:53 UTC
Well, Bug 153968 is not quite a doublicate. Even if there is a focusable widget
within the GtkScrolledWindow, I'd like to have the possibility to draw a focus
anyway.
Comment 14 Calum Benson 2004-10-21 16:41:24 UTC
Apologies for spam-- ensuring Sun a11y team are cc'ed on all current a11y bugs.
 Filter on "SUN A11Y SPAM" to ignore.
Comment 15 Calum Benson 2006-04-26 17:12:04 UTC
Apologies for spam... ensuring Sun a11y folks are cc'ed on all current accessibility bugs.
Comment 16 Matthias Clasen 2015-05-11 10:22:21 UTC
10 years of no activity, closing