GNOME Bugzilla – Bug 107527
Shift+right should become shift+left in RTL in GtkTreeView
Last modified: 2011-02-04 16:16:03 UTC
The shift+right key combo works the same way in RTL as it does in LTR, and shift+left does nothing. In RTL, shift+left should do what shift+right does in LTR.
Updating status_whiteboard field to reflect A11Y team's assessment of accessibility impact.
Will fix before 2.4 comes out.
Apologies for spam... marking as GNOMEVER2.3 so it appears on the official GNOME bug list :)
Created attachment 19288 [details] [review] patch (Aug 17)
This should do the trick. Maybe I misused the "logical" parameter, because I don't know what it is for. Jonathan should comment on that.
Eek. I screwed this up Kris, and got the logical flag backwards. The 'logical' flag is to indicate that the key press means the action directly, and has nothing to do with a direction. So the test in the code needs to really be: if (!logical && gtk_widget_get_direction (GTK_WIDGET (tree_view)) == GTK_TEXT_DIR_RTL) expand = !expand; Additionally, all the keybindings having to deal with the '+' and '-' key can be considered 'logical' keybindings. Those dealing with arrows should be considered not logical.
Fixed on HEAD.