This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The horizontal arrow keys in the debugger views currently seem to be used to expand and collapse nodes in the tree, when there is one. But, these should actually move the keyboard focus between cells in the table. (we might reasonably use ctrl-left and ctrl-right to expand and collapse tree nodes, though I haven't done the research to verify that this is a safe shortcut)
sorry,
This is stadard behaviour in JTree, so I don't think its reasonable to change it. You can use Tab to move focus between cells.
The trouble is that this isn't a tree. it is a table which happens to have a tree in the first column.
I still don't agree. If you are in first column, you are in tree. Not easy to implement. I suggest: - in first column use horizontal keys to expand and collapse tree nodes (it's standard) - use Tabs to move the focus between cells Reassign to Jano to get his opinion.
OK. I talked with some other folks here and here is what I'm thinking now: the notion of using the arrow keys to move the focus around in the list is less crucial than being able to expand and collapse the tree nodes with the arrow keys (and, as you point out, the tab key does move the focus well enough). So, I agree with you that using the arrow keys SHOULD be used to expand and collapse the nodes rather than move the focus. What that means is that this issue should now be phrased as: The horizontal arrow keys in the debugger views sometimes are used to move the keyboard focus between cells. This should never happen anywhere in the list. instead, when a horizontal arrow key is pressed, it should either expand the selected row(s) or it should do nothing, because it is undesirable for the arrow keys to move the focus around in some parts of the table and not in others. This should also be true for a list where none of the nodes have children.
Sounds good. And what about making some modifier (shift?) plus horizontal arrows move focus horizontally? Ales may you implement what David John suggested?
OK, fixed in trunk as suggested. 1. Shift+horizontal arrow will move focus between cells, 2. horizontal arrow will expand/collapse in tree column and in other columns it will do nothing
Argh. :-( Shift+arrow key shouldn't move the focus, as that is usually used to extend a selection. Can that feature be removed? (I know you'll say "you should have said something about that days ago", and you'd be right. I did, in fact, add a comment about this yesterday, but clearly it didn't get into this issue... maybe I wasn't logged on and I didn't notice when it reported the error. Very sorry about this!)
OK, shift+arrow part of fix was removed.
verified in [nb_dev](20021120)
Resolved for 3.4.x or earlier, no new info since then -> closing.