Re: Split/dual pane view again (but this time with code)



On Wed, 2009-03-04 at 18:17 +0100, Holger Berndt wrote:
> On Di, 03.03.2009 11:11, Alexander Larsson wrote:
> 
> >> Well, Tab is the standard key for walking through the focus chain. The
> >> question is just what the focus chain should contain. The draft that I
> >> coded up so far sets a focus chain containing only the left and right
> >> panes in split view mode. That's what people who used a split-view
> >> filebrowser before most likely expect.
> >
> >It is however not what users of Gtk+ applications expect. They expect
> >all focusable widgets to be in the focus chain.
> >
> 
> Personally, I consider the following functionality to be essential in
> order for split view to be useful in the first place:
>  - make other pane active
>  - copy selection to other pane
>  - move selection to other pane
>  - visit same location in other pane
> 
> These should either have a keyboard shortcut, or it should be possible
> to assign one.
> 
> As discussed in other leafs of this thread, there should be no problem
> with the latter three.
> 
> If overruling Tab during split view by default is not an option, I can
> see the following solutions:
> 
> 1. create a gconf key, defaulting to false, to set the focus chain only
>    containing the two panes in split view mode
> 2. leave the focus chain as it is, but create a menu item "switch to
>    other pane"

I'd rather pick another key shortcut that is not used currently. As I
commented in another thread, such a shortcut is useful even in the
no-split-view case where it could set focus on the view, independent on
where focus was before. Not sure what the best shortcut would be though.

Ctrl-Tab?

10.2.4.2. Standard Widget Navigation Shortcut Keys in
http://library.gnome.org/devel/hig-book/stable/input-keyboard.html.en 
lists some interesting keys, like:

F6, Shift+F6 - Give focus to next/previous pane in a GtkPaned window
F8 - Give focus to splitter bar in paned window

Maybe we could use F4 or something for switching between views /
focusing the view.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]