Bug 11226 - Left-Key should collapse folder in Solution Pad
Summary: Left-Key should collapse folder in Solution Pad
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 4.0.1
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Mikayla Hutchinson [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2013-03-18 08:17 UTC by aaron
Modified: 2013-04-08 18:28 UTC (History)
5 users (show)

Tags: gtk
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 on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description aaron 2013-03-18 08:17:17 UTC
When navigating with the keyboard in the solution pad, left-arrow should collapse the container/folder.  Also, page-up/page-down should work.
Comment 1 Mikayla Hutchinson [MSFT] 2013-04-04 13:14:00 UTC
I think this is something that needs to be fixed in the gtktreeview bindings.
Comment 2 Michael Natterer 2013-04-05 03:07:46 UTC
This fixes it, goes into some gtkrc, like of the theme:

binding "gtk-mac-expand-collapse-cursor-row"
{
  unbind "Left"
  unbind "Right"
  bind "Left"  { "expand-collapse-cursor-row" (0, 0, 0) }
  bind "Right" { "expand-collapse-cursor-row" (0, 1, 0) }
}

class "GtkTreeView" binding "gtk-mac-expand-collapse-cursor-row"
Comment 3 Michael Natterer 2013-04-05 03:08:14 UTC
(assuming that "Right" without modifier should expand)
Comment 4 Mikayla Hutchinson [MSFT] 2013-04-05 03:59:16 UTC
Why wouldn't it got into gtkrc.key.mac? I see this behaviour in e.g Finder.
Comment 5 Michael Natterer 2013-04-05 04:48:48 UTC
That was my first thought too, but GTK+ allows to have multiple focussable
cells per tree row, and the default is to navigate between them. Is this
at all possible in native trees? And if yes, how do they handle keyboard
focus?
Comment 6 Kristian Rietveld (inactive) 2013-04-05 04:55:19 UTC
I have never seen a native tree handle multiple focussable cells per row like GTK+ does.
Comment 7 Michael Natterer 2013-04-05 05:12:07 UTC
Me neither. I suggest to start with adding that to MD's theme so we don't
break a GTK+ feature. Opinions?
Comment 8 Mikayla Hutchinson [MSFT] 2013-04-08 18:28:11 UTC
Seems like a reasonable solution for now. Landed.