Jorge Arellano Cid wrote:
For instance: placing the nav cursor in the [gtk_type_new] link inside the "struct GtkTypeObject" section and pressing DOWN, brings the cursor to the leftmost [GtkType] under gtk_type_unique but it is possible to get to the leftmost [GtkType] too! That is focusing the leftmost one, then going UP then DOWN again.
You mean left- and right-most link? As in... A . . B . . C Going from A sometimes lands you in B, sometimes in C, depending where you came from? If so, that is by design. The code only modifies the 'x' cursor coordinate when the link is explicitly moved to the left or right, NOT when it is moved up or down. The reason for this is best explained in yet another ASCII-graphic: A . . . B . C . . . D . E . F . . . G . H . I When moving focus DOWN from A, it will land in B (because that is the next LOWER link closest to A). Moving it down again lands it in C (NOT E), as that is the next LOWER link closest to the original x-coordinate. If you now were to move focus to link E (by moving it to the right), it would update the 'x' cursor coordinate, so the next move DOWN after that would end up on H. The cursor is ALWAYS set to the current link's 'y' coordinate. In case focus is moved out of context (eg when it is set by the search feature) it should be set to the current link's 'x' coordinate as well. That's the theory, which is followed in the code - mostly. It might be that there are some cases where context is retained while it should be discarded. Combined with the unknown-location-problems this can lead to unexpected behaviour.
The gain I see with this scheme is that you can scroll down a page, and when you find an interesting link "call" the keyboard navigation cursor and quickly select the link. Otherwise you're carried to the top of the page (or to wherever the cursor was left) and will have to start finding the scrolled region where the to-be-clicked link is.
Ah, that's what you mean. Yes, this will be implemented in the next version as well. Cheers//Frank -- WWWWW ________________________ ## o o\ / Frank de Lange \ }# \| / +46-734352015 \ \ `--| _/ <Hacker for Hire> \ `---' \ +31-640037120 / \ frank@unternet.org / `------------------------' [ "Omnis enim res, quae dando non deficit, dum habetur et non datur, nondum habetur, quomodo habenda est." ]