Bug 3997 - Gtk treeview disclosure triangle does not work when "Deploy to Device" pad is visible
Summary: Gtk treeview disclosure triangle does not work when "Deploy to Device" pad is...
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Hardware: PC Mac OS
: Normal major
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2012-03-20 18:10 UTC by Eric Beisecker
Modified: 2013-01-14 13:25 UTC (History)
3 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:

Description Eric Beisecker 2012-03-20 18:10:13 UTC
Using the latest Gtk+ version from Mono 2.10.9 which is 2.24.10 the Gtk+ triangle used in Gtk treeviews is no longer able to expand or collapse a tree.

In this screencast, you can see how the enter/leave mouse into the little triangle shows the triangle going black/white.

They work sometimes, but at some point they get into a state where they no longer work.   Not even using the spacebar on the item when selected works.


== Full version info ==

Installation UUID: b046ef01-76ff-45c4-b07c-1e73f890a2db
	Mono 2.10.9 (tarball Wed Feb 29 17:12:24 EST 2012)
	GTK 2.24.10
	GTK# (
Comment 1 Eric Beisecker 2012-03-20 18:12:06 UTC
This bug only seems to happen in MonoDevelop in the "Debug" layout.

If you switch to a different layout, the disclosure indicator works.
Comment 2 Eric Beisecker 2012-03-20 18:19:41 UTC
We determined that this is not really a Gtk+ bug, but it seems that if "Deploy to Device" pad is active, then the Gtk+ triangle does not work.

Steps to reproduce:
* Deploy application to Device
* Ensure that the Deploy to Device pad is visible
* Set a breakpoint
* Run app
* Stop at breakpoint
* Try to go to local variables or the solution
* Notice that the disclosure buttons do not work.
Comment 3 Mikayla Hutchinson [MSFT] 2012-04-04 16:43:30 UTC
We don't know that it's not a GTK+ bug, all we know is that switching dock layout (which causes mapping and unmapping of widgets) seems to fix/break the GTK+ treeview.
Comment 4 Michael Natterer 2012-06-03 19:21:22 UTC
This is most likely fixed by this commit in upstream GTK+:

commit b32a9eb691920f21ad3b9127c833aaba15727c4b
Author: Michael Natterer <mitch@gimp.org>
Date:   Thu May 31 11:02:09 2012 +0200

    GtkTreeView: make tree expanding/collapsing more robust
    gtk_grab_remove() *after* we did the expanding/collapsing, otherwise
    grab_notify() might kick in and mess with our state. Fixes bug #675835.
Comment 5 Kristian Rietveld (inactive) 2013-01-12 10:13:04 UTC
Could somebody verify this is now fixed?  IIRC we don't have access to "deploy to device" windows.
Comment 6 Mikayla Hutchinson [MSFT] 2013-01-14 13:25:21 UTC
This wasn't reliably reproducible so it's not possible to verify for sure. However, I haven't seen this mentioned in some time, so let's close it. It can be reopened if it comes up again.