Bug 11779 - Exception when resizing controls in a frameLayout
Summary: Exception when resizing controls in a frameLayout
Status: RESOLVED NORESPONSE
Alias: None
Product: Android
Classification: Xamarin
Component: Designer ()
Version: 4.6.x
Hardware: Macintosh Mac OS
: High normal
Target Milestone: ---
Assignee: Lluis Sanchez
URL:
Depends on:
Blocks:
 
Reported: 2013-04-14 10:11 UTC by belial239
Modified: 2013-10-09 04:17 UTC (History)
2 users (show)

Tags:
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 NORESPONSE

Description belial239 2013-04-14 10:11:29 UTC
Whenever I try to resize controls in the designer in a frameLayout I get an exception raised. I've tried making frameLayout the parent layout, and placed one in a LineLayout, but ultimateley resizing a view gives me same error.

System.ArgumentException: Widget is not a child of the canvas
  at Xwt.Canvas.RemoveChild (Xwt.Widget widget) [0x0004c] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/monodevelop/main/external/xwt/Xwt/Xwt/Canvas.cs:161 
  at (wrapper remoting-invoke-with-check) Xwt.Canvas:RemoveChild (Xwt.Widget)
  at Xamarin.Designer.PropertyEditing.PropertyTableRow.UpdateEditor (Xwt.Widget newEditor) [0x0002d] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/md-addins/Xamarin.Designer/Xamarin.Designer.PropertyEditing/PropertyTable.cs:487 
  at Xamarin.Designer.PropertyEditing.PropertyTable.RefreshRow (Xamarin.Designer.PropertyEditing.PropertyTableRow row) [0x00016] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/md-addins/Xamarin.Designer/Xamarin.Designer.PropertyEditing/PropertyTable.cs:107 
  at Xamarin.Designer.PropertyEditing.PropertyTable.RefreshRow (System.String propertyName) [0x00013] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/md-addins/Xamarin.Designer/Xamarin.Designer.PropertyEditing/PropertyTable.cs:91 
  at (wrapper remoting-invoke-with-check) Xamarin.Designer.PropertyEditing.PropertyTable:RefreshRow (string)
  at Xamarin.Designer.DesignerPropertyPanel.HandlePropertyChanged (System.Object sender, Xamarin.Designer.ItemPropertyChangedEventArgs e) [0x00054] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/md-addins/Xamarin.Designer/Xamarin.Designer/DesignerPropertyPanel.cs:223 
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_ItemPropertyChangedEventArgs (object,Xamarin.Designer.ItemPropertyChangedEventArgs)
  at Xamarin.Designer.DesignerSession.OnPropertyChanged (Xamarin.Designer.DesignerItem item, System.String propName) [0x00021] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/md-addins/Xamarin.Designer/Xamarin.Designer/DesignerSession.cs:81 
  at Xamarin.AndroidDesigner.AndroidDesignerSession.NotifyPropertyChanged (Xamarin.AndroidDesigner.AndroidDesignerItem item, System.String propName) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/md-addins/MonoDevelop.MonoDroid/Xamarin.AndroidDesigner/Xamarin.AndroidDesigner/AndroidDesignerSession.cs:1808 
  at Xamarin.AndroidDesigner.AndroidDesignerSession.EndUpdateItem (System.String parentId, System.String itemId, System.Xml.Linq.XElement itemXml, Boolean internalUpdate, Boolean propagateChanges) [0x000c2] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/md-addins/MonoDevelop.MonoDroid/Xamarin.AndroidDesigner/Xamarin.AndroidDesigner/AndroidDesignerSession.cs:2358 
  at Xamarin.AndroidDesigner.AndroidDesignerSession.EndUpdateItem (System.String parentId, System.String itemId, System.Xml.Linq.XElement itemXml) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/md-addins/MonoDevelop.MonoDroid/Xamarin.AndroidDesigner/Xamarin.AndroidDesigner/AndroidDesignerSession.cs:2329 
  at (wrapper remoting-invoke-with-check) Xamarin.AndroidDesigner.AndroidDesignerSession:EndUpdateItem (string,string,System.Xml.Linq.XElement)
  at Xamarin.AndroidDesigner.AndroidDesignerItem.SetProperty (System.String name, System.String val) [0x0004b] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/md-addins/MonoDevelop.MonoDroid/Xamarin.AndroidDesigner/Xamarin.AndroidDesigner/AndroidDesignerItem.cs:455 
  at Xamarin.AndroidDesigner.VisualItems.MarginHandle.UpdateProperties (Double dx, Double dy, Boolean commitChanges) [0x00009] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/md-addins/MonoDevelop.MonoDroid/Xamarin.AndroidDesigner/Xamarin.AndroidDesigner.VisualItems/MarginHandle.cs:190 
  at Xamarin.Designer.VisualItems.DraggableHandle.OnButtonReleased (Xwt.ButtonEventArgs args) [0x00030] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/md-addins/Xamarin.Designer/Xamarin.Designer.VisualItems/DraggableHandle.cs:106 
  at Xamarin.Designer.DesignerSurface.OnButtonReleased (Xwt.ButtonEventArgs args) [0x000c3] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/md-addins/Xamarin.Designer/Xamarin.Designer/DesignerSurface.cs:417 
  at Xwt.Widget+WidgetBackendHost.Xwt.Backends.IWidgetEventSink.OnButtonReleased (Xwt.ButtonEventArgs args) [0x00000] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/monodevelop/main/external/xwt/Xwt/Xwt/Widget.cs:231 
  at Xwt.GtkBackend.WidgetBackend+<HandleButtonReleaseEvent>c__AnonStorey9.<>m__C () [0x00000] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/monodevelop/main/external/xwt/Xwt.Gtk/Xwt.GtkBackend/WidgetBackend.cs:814 
  at Xwt.Engine.Toolkit.Invoke (System.Action a) [0x00005] in /Users/builder/data/lanes/monodevelop-lion-bs1/fae7c2bd/source/monodevelop/main/external/xwt/Xwt/Xwt.Engine/Toolkit.cs:41 


My version information

=== Xamarin Studio ===

Version 4.0.3 (build 13)
Installation UUID: 
Runtime:
	Mono 2.10.12 (mono-2-10/c9b270d)
	GTK 2.24.16
	GTK# (2.12.0.0)
	Package version: 210120000

=== Apple Developer Tools ===

Xcode 4.6.1 (2067)
Build 4H512

=== Xamarin.Mac ===

Xamarin.Mac: Not Installed

=== Xamarin.iOS ===

Version: 6.2.1.201 (Business Edition)
Hash: ed9807c
Branch: 
Build date: 2013-19-03 13:42:59-0400

=== Xamarin.Android ===

Version: 4.6.2 (Business Edition)
Android SDK: /Developer/Android/sdk
	Supported Android versions:
		2.1 (API level 7)
		2.2 (API level 8)
		2.3 (API level 10)
		3.1 (API level 12)
		4.0 (API level 14)
		4.2 (API level 17)
Java SDK: /usr

=== Build Information ===

Release ID: 400030013
Git revision: 
Build date: 2013-03-21 19:16:39+0000
Xamarin addins: 906a1edff23bcfd0ab7518463620a8ee506eaea2

=== Operating System ===

Mac OS X 10.8.3
Darwin Carls-Mac-mini.local 12.3.0 Darwin Kernel Version 12.3.0
    Sun Jan  6 22:37:10 PST 2013
    root:xnu-2050.22.13~1/RELEASE_X86_64 x86_64
Comment 2 Lluis Sanchez 2013-08-29 13:08:47 UTC
Do you still have this problem. I can't reproduce in the most recent release.
Comment 3 Lluis Sanchez 2013-10-09 04:17:27 UTC
Closing.