After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 106545 - Suggestion for keynav editing
Suggestion for keynav editing
Status: RESOLVED WONTFIX
Product: gtk+
Classification: Platform
Component: Widget: GtkTreeView
2.2.x
Other All
: Normal normal
: Small feature
Assigned To: gtktreeview-bugs
gtktreeview-bugs
AP3
Depends on:
Blocks:
 
 
Reported: 2003-02-19 18:09 UTC by Calum Benson
Modified: 2014-03-24 02:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Calum Benson 2003-02-19 18:09:10 UTC
In light of the recent decision to remove click-to-edit for icon names from
nautilus, a more consistent keynav model for the treeview control might be:

Space = double-click selected row
Enter = Space :)
F2    = edit selected cell

with all editable cells having an "Edit" item in their context menus.
Comment 1 Kristian Rietveld 2003-04-09 17:33:24 UTC
> with all editable cells having an "Edit" item in their context menus.

The GtkTreeView does not have a context menu of it's own.

I don't think the keybinding for row activation should be space, enter
sounds much more sane to me.

And, possibly we can't make such changes until 3.0.
Comment 2 Calum Benson 2003-05-05 21:18:53 UTC
Space is documented in the user guide as the "do it" key for all 
other controls, so I believe it would be the right choice here as 
well.  Enter should activate the default button in the dialog, so 
my "Enter=Space" suggestion above should only actually hold true if 
there's no default set.

As for the menu, yes, I know it doesn't currently have one but 
there's no reason why it shouldn't :)  Cut, Copy, Paste and Edit 
sound like useful things to have on a popup menu for any cell that 
supports editing.
Comment 3 Kristian Rietveld 2003-05-22 22:19:48 UTC
Maybe for 2.4. Need opinion from jrb.
Comment 4 Calum Benson 2003-08-07 16:06:39 UTC
Apologies for spam... marking as GNOMEVER2.3 so it appears on the official GNOME
bug list :)
Comment 5 Calum Benson 2004-10-21 16:52:41 UTC
Apologies for spam-- ensuring Sun a11y team are cc'ed on all current a11y bugs.
 Filter on "SUN A11Y SPAM" to ignore.
Comment 6 Kristian Rietveld 2005-07-13 12:09:16 UTC
I'm afraid that F2 might interfere with applications already using F2 for
something. So, personally, I would rather leave it as it is.
Comment 7 bill.haneman 2005-07-13 12:15:13 UTC
I agree with Calum's comment #2.  And we need _some_ keyboard method of
initiating edit here, for accessibility.  If not a context menu, then we need a
key, there's no way around that.  The F2 argument would be true of any
convenient key, but leaving things as-is doesn't solve the problem, unless I am
missing the point somewhere.
Comment 8 Matthias Clasen 2014-03-24 02:35:25 UTC
closing out ancient bugs