Bug 9648 - Project view: expand/collapse with cursor key
Summary: Project view: expand/collapse with cursor key
Status: NEW
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Shell ()
Version: 3.1.x
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: master
Assignee: Bugzilla
Depends on:
Reported: 2013-01-17 11:34 UTC by Matthias Fuchs
Modified: 2016-01-08 17:21 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report for Bug 9648 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description Matthias Fuchs 2013-01-17 11:34:49 UTC
Under windows and mac os x it's possible to navigate treeviews, eg in windows explorer, only with the cursor keys.
If you are on a node with subnodes, you can use curor left to collapse the node/folder.

In gtk this is normally done by - and + (for expand). This is tedious. 

By adding this to ~/.gtkrc-2.0 it is possible to overcome this behaviour:

binding "gtk-binding-tree-view" {
    bind "Left"      { "expand-collapse-cursor-row" (0,0,0) }
    bind "Right"     { "expand-collapse-cursor-row" (0,1,0) }
class "GtkTreeView" binding "gtk-binding-tree-view"

Would it be possible to add this to MonoDevelop (or even Mono itself).
It would be also ok, if there would be an option to change the users .gtkrc-2.0 file in the home directory.
Comment 1 Colby Russell 2015-12-31 04:03:52 UTC
Both the Solution pad and the Classes pad now handle the arrow keys as expected, although the Document Outline pad does not.  The latter has separate keyboard navigation issues anyway, since a click/selection automatically activates the scrolling and buffer focus behavior, while the other two use double click and Enter to activate it.