Re: [dev] [surf] arrows
Peter John Hartman peterjohnhart...@gmail.com writes: I'd be happy to hear of someone who has a quick-n-dirty solution to this problem. I patched my surf to check whether input focus was in a text field before processing shortcut keys. The patch is somewhere on the list. -- \ Troels /\ Henriksen
[dev] [surf] arrows
Do the arrows are intend to be useful with surf? I experience strange behaviour. First hit takes me to the the top or bottom of the page. Then they allow me to scroll. Is it a bug or a feature? I did try to define bindings in the config file, but then it messes with desired behaviour in pages with forms. Is there a reason (not) to bind home/end buttons? s.
Re: [dev] [surf] arrows
On Fri, Mar 25, 2011 at 04:19:40PM +0100, Swiatoslaw Gal wrote: Do the arrows are intend to be useful with surf? I experience strange behaviour. First hit takes me to the the top or bottom of the page. Then they allow me to scroll. Is it a bug or a feature? I did try to define bindings in the config file, but then it messes with desired behaviour in pages with forms. Is there a reason (not) to bind home/end buttons? This is a known mess in surf. Or I should say a conceptual mess, a mess that, as far as I can tell, only implementing modes would fix. On the one hand, you might be tempted to bind Up/Down to replace C-j and C-k. Then the strange behaviour won't occur, of course. But *then* if you try to use Up/Down in a textarea box it won't be treated as an Up/Down but a C-j/C-k. Which is (I think) more annoying than the original annoyance. The solution is to train yourself to never hit Up/Down and rather aim your fingers at C-j/C-k. PgUp/PgDown work fine, fwiw. I'd be happy to hear of someone who has a quick-n-dirty solution to this problem. Peter -- sic dicit magister P PhD Candidate Collaborative Programme in Ancient and Medieval Philosophy University of Toronto http://individual.utoronto.ca/peterjh
Re: [dev] [surf] arrows
On Fri, Mar 25, 2011 at 12:11:50PM -0400, Peter John Hartman wrote: The solution is to train yourself to never hit Up/Down and rather aim your fingers at C-j/C-k. PgUp/PgDown work fine, fwiw. I'd be happy to hear of someone who has a quick-n-dirty solution to this problem. The solution is to turn off spatial navigation.
Re: [dev] [surf] arrows
On Fri, Mar 25, 2011 at 12:28:55PM -0400, Josh Rickmar wrote: The solution is to turn off spatial navigation. Huh? -- sic dicit magister P PhD Candidate Collaborative Programme in Ancient and Medieval Philosophy University of Toronto http://individual.utoronto.ca/peterjh
Re: [dev] [surf] arrows
On Fri, Mar 25, 2011 at 12:30:52PM -0400, Peter John Hartman wrote: On Fri, Mar 25, 2011 at 12:28:55PM -0400, Josh Rickmar wrote: The solution is to turn off spatial navigation. Huh? diff -r 7a931a352cf9 surf.c --- a/surf.cThu Sep 09 11:15:02 2010 +0200 +++ b/surf.cFri Mar 25 12:36:10 2011 -0400 @@ -501,7 +501,7 @@ g_object_set(G_OBJECT(settings), auto-load-images, loadimage, NULL); g_object_set(G_OBJECT(settings), enable-plugins, plugin, NULL); g_object_set(G_OBJECT(settings), enable-scripts, script, NULL); - g_object_set(G_OBJECT(settings), enable-spatial-navigation, true, NULL); + g_object_set(G_OBJECT(settings), enable-spatial-navigation, false, NULL); g_free(uri);
Re: [dev] [surf] arrows
The solution is to turn off spatial navigation. Spatial navigation is not that bad. But, the annoying bug/feature is that the _first_ hit down brings me to the last link. Can this be avoided? Does anyone has a patch to bin toggling spatial navigation to some key? s.