Keyboard navigation
by Balazs Kezes
Dear Netsurf community!
I'm applying to GSOC for keyboard navigation, but got no response yet,
and was told on IRC that I should post my ideas to the mailing list.
Here are they (a little revised from what is in the application):
My proposal's content from the user's perspective:
(this is mainly for the PC's keyboard, but can be extended for others too)
- One-key default shortcuts for the most basic operations - like in Opera, for
example
F8 - focus the address bar
Z/Backspace - navigate back in history
X/Shift+Backspace - navigate forward in history
maybe J,K,^F,^B,^D,^U - scrolling the content for Vi fanatics
etc.
- highlight current text field - this is beneficial for the user for detecting
where is his focus as Jeff Atwood points out
[http://www.codinghorror.com/blog/archives/001055.html]
- TAB and SHIFT-TAB for jumping between text fields (for example at login
screens)
- keyboard navigation - when the Shift key is being pressed, a little number or
character or string of characters next to each link is displayed on the
screen, which when typed on keyboard focuses that link. Four links will be
special which next to the string also display a little custom colored arrow,
each with different color, with the meaning which will be the next focused
link when navigated with Shift+Arrows (this is called spatial navigation)
An alternative way for displaying those strings next to the links without
worrying ALT/CTRL/SHIFT portability problems is to do it the Konqueror way:
hit and release CTRL. Just try it in Konqueror. It is pretty neat,
pretty much what I have on mind, but in K. it is restricted only to one
character.
Altogether this is something like the spatial navigation + keyboard links
together.
The workarounds for the pages with lots of links or with long
scrollable content should also be discussed well.
The typing of links is very similar to MS Office's new GUI and to a Firefox
extension or to Konqueror for which I have no screenshot (unfortunately I
don't have much time to do it right now):
again, a Jeff Atwood article for a screen shot of Office
[http://www.codinghorror.com/blog/archives/000825.html], and a screen shot of
hit-a-hint can be found here:
[http://weblogs.asp.net/jgalloway/archive/2006/06/14/Mouseless-Computing.aspx]
- support for Access Keys - [http://en.wikipedia.org/wiki/Access_keys]
Konqueror seems to use this effectively in his navigation
(when you press Ctrl twice)
What do you think? Are these feasible ideas?
Thank you!
Bye!
Balazs Kezes
15 years
Re: train timetable sites (fwd)
by John-Mark Bell
---------- Forwarded message ----------
Date: Thu, 24 Apr 2008 23:37:48 +0100 (BST)
From: Jim Nagel <jim(a)archivemag.co.uk>
To: archive-online(a)orpheusinternet.co.uk
Subject: Re: train timetable sites
On Thu 24 April 2008 at 12:11, Chris Johnson wrote in Archive-online:
> These miniscule icons on web pages have been mentioned on a number of
> occasions in various newsgroups - I think it is a bug in Netsurf, rather
> than a problem with this particular site.
Matthew Somerville (developer of traintimes.org.uk, as mentioned in
Archive 21:5 p30) has replied to the message i copied to him and suggests
i copy it to the list:
-----
>>>> I have been trying to look up trains from London Waterloo to Hampton
>>>> Court next Saturday morning
Here's a direct URL for that, to bypass any problems with the form:
http://traintimes.org.uk/London_Waterloo/Hampton_Court/09:00/Saturday
Alan Adams <alan(a)adamshome.org.uk> wrote:
> Just tried it with NetSurf 1.2
> Not pretty. The boxes to enter the start and end are approx 2mm wide,
> just enough to get the cursor into, and don't grow when you type text.
I'm sorry to hear that; as far as I'm aware, I'm doing nothing special or
not standard. The width of all elements is set to "auto" to override any
possible fixed width-isms from the original; I guess it's possible this is
somehow causing problems with Netsurf. If someone can investigate and work
it out, or put me in touch with anyone at Netsurf who'd be interested in
helping, I'm happy to bug test or change things in order to get it working
properly.
-----
i'll copy it to the Netsurf team too.
--
Jim Nagel
15 years, 1 month
Page Reader
by mohammed mt
Hi all...
I am Mohammed, from India.
I were applied for page reader as a part of GSoc.
the page reader APIs should be built ourself or use the API provided by
developers related to Accessibility, for desktops like KDE ?
15 years, 1 month
GSoC "keyboard navigation" for netsurf project
by Jérôme Cros
Hello, I suscribed to the mailing list with "jerome.cros(a)etu.u-bordeaux1.fr"
but I seem to have problems sending emails (I get them) as it returns mail
delivery system errors.
Anyway, I tried to sent an email because à want to apply for the keyboard
navigation project idea.
First let me introduce myself : my name is jerome Cros, I am a 22 year old
student in computer science at the Bordeaux I university (france), currently
finishing the 4th semester.
I want to apply for the « Keyboard navigation » GSoC project because :
-
I got familiar with the netsurf project, installed netsurf on unbuntu
(gutsy gibbon) and found it very interesting. Adding feature that provides
navigation from keyboard is an idea I like as using the mouse becomes often
frustrating when having both hands over the keyboard.
-
C is my favourite programming language, and I think having quite good
C coding skills (this is the 3rd semester we learn C and use it in
various projects).
-
Searching algorithms is something I like a lot, during last semester
we used a lot tree algorithms (avl, heap, red & black trees, binary search
trees ...)
-
Moreover at university and at home I only use GCC compiler (we use it
with emacs and gdb on ubuntu or debian linux).
If I were choosen for this project, in a first idea I think I would proceed
like this :
-
Just after exams finish (start of May) : become familiar with the
netsurf project (code, tree structure ...)
-
Start creating algorithms to search links or outputs in the tree
-
test these algorithms
-
Implement them in C
-
Integrate this into netsurf
-
begin to take layout position into account and implement moving in 2D
For the last two points I think I will need some guidance from mentors to
get this finished right.
This would be my exclusive work during the summer (I only will be on
vacation one week in August). Weekly or more offen reports to my mentor are
not a problem (on the contrary!)
If you have any questions, don't hesitate to ask.
Sincerly,
Jérôme Cros.
15 years, 1 month
Re: Re: Printing variables with printf()
by Leon Stringer
> From: Rob Kendrick <rjek(a)netsurf-browser.org>
> Date: 2008/03/31 Mon PM 11:35:16 GMT
> To: netsurf-dev <netsurf-dev(a)netsurf-browser.org>
> Subject: Re: Printing variables with printf()
>
>
> On Mon, 2008-03-31 at 22:03 +0100, Leon Stringer wrote:
>
> > Let's say in gtk/gtk_options.c I insert the following at line 144:
> >
> > printf("%d\n", proxytype);
> >
> > I see nothing. Something like
> >
> > printf("test\n");
> >
> > works fine.
>
> I have no idea what might cause this: have you tried putting a fflush(stdout) after it?
Thanks for your reply. fflush() doesn't help. If I do a noddy C prog it's fine, of course. Very odd.
> Incidentally, we have our own debug logging macro, which you can call
> thus:
>
> LOG(("%d\n", proxytype));
>
> Note the double-brackets. These will then output something when nsgtk
> is launched with the -v flag, thus:
>
> NETSURFRES=./gtk/res ./nsgtk -v
Thanks for that. I saw the LOG function/macro but didn't now how to enable the output. That works fine for me.
> Hope this helps. Which issue are you referring to, and which BTS did
> you log it on?
On SourceForge ([ 1927155 ] Proxy Type setting). I wasn't complaining about this, I'd only just reported it. I just thought I'd have a crack at it (they joys of open source!).
-----------------------------------------
Email sent from www.virginmedia.com/email
Virus-checked using McAfee(R) Software and scanned for spam
15 years, 1 month