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 93049 - pressing space doesn't scroll the view
pressing space doesn't scroll the view
Status: RESOLVED WONTFIX
Product: gtkhtml2
Classification: Deprecated
Component: General
2.0.x
Other Linux
: Normal enhancement
: ---
Assigned To: Anders Carlsson
Anders Carlsson
Depends on:
Blocks:
 
 
Reported: 2002-09-11 16:40 UTC by Peter Toneby
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Peter Toneby 2002-09-11 16:40:41 UTC
I was expecting a press on space (in Yelp) to scroll the view, most other
apps that view noneditable contents, such as help-pages scroll when space
is pressed, not follows possible links to another page.
Look at all major web browsers and console pagers.
Comment 1 Calum Benson 2002-09-11 17:27:21 UTC
Well, Space is the key we primarily use and document to activate all
buttons, icons etc., so IMHO it would be highly inconsistent not to
use Space to activate hyperlinks as well.  Although I recognise it's
slightly more convenient than reaching for the PgDn key.

Any other views, usability folks?
Comment 2 Anna Marie Dirks 2002-10-21 17:51:17 UTC
Hi guys,

(Disclaimer: maybe the a11y guys are going to dislike this proposal,
I'm  just throwing it out there.) 

Peter and Calum, you are both correct after a fashion. Space does
scroll most other browsers, and it is also the key which activates
widgets in Gnome. The problem with yelp is that focus should, by
default, be on the help page, not on a hyperlink (in this case, on the
"Index" hyperlink). While focus is on the help page, pressing space
should scroll the page. When focus is shifted to a hyperlink, pressing
space should activate the link.

What do you think?
Anna
Comment 3 Calum Benson 2002-10-21 18:48:07 UTC
That's a fair point... and indeed focus used to go to the page rather
than the first link by default.  However there were two issues with that:

- Giving focus to the page is only really useful if you can do
something to it, which (prior to the space=scroll suggestion) you
couldn't.  Help pages don't currently have pop-up menus, for example,
which would probably have been the main reason for giving them focus.
 The other reason would be to make text selections from the page using
just using the keyboard, but GtkHTML2 currently doesn't allow that either.

- There were technical problems with showing the focus indicator when
you scrolled the page... it left some nasty visual artefacts.  I
forget if we ever found a solution to that... maybe Padraig can
refresh our memory.
Comment 4 padraig.obriain 2002-10-22 09:36:49 UTC
We did not find a solution which was one reason I was relieved when it
was decided that we did not need to give focus to the page.
Comment 5 padraig.obriain 2003-02-05 11:06:17 UTC
If focus were on a page using space for scrolling down would not work
as it is not defined as a key binding for GtkScrolledWindow. If space
were to be used for scrolling down should it work for all
GtkScrolledWindows?
Comment 6 Calum Benson 2003-03-24 16:11:08 UTC
I'm guessing it probably wouldn't do any harm to have Space work for
all scrolled windows, provided of course the contents of the window
got the first opportunity to do something with the keypress before
letting it pass through to the GtkScrolledWindow.  Nine times out of
ten I presume those 'contents' will be icons or list items or
something else that will consume the keypress anyway, so there would
probably be little noticeable difference overall for the user.

That doesn't help with the technical problems though, and I'm still
not convinced it's worth changing the current behaviour anyway when
there's another perfectly good key that will do the same thing :)