Bug 10913 - Exception when resizing Number TextEdit
Summary: Exception when resizing Number TextEdit
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Android Designer ()
Version: unspecified
Hardware: PC Windows
: Normal normal
Target Milestone: 4.2.3 (from master)
Assignee: Lluis Sanchez
URL:
Depends on:
Blocks:
 
Reported: 2013-03-05 11:11 UTC by Juan Manuel
Modified: 2014-01-06 01:08 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:
VERIFIED FIXED

Description Juan Manuel 2013-03-05 11:11:34 UTC
When resizing a Number TextEdit on the designer, it throws an exception. Doesnt close or anything, just an error.
Here is all the data:


Version 4.0.1 (build 8)
Installation UUID: 9dbda59f-623a-477d-b2b9-96f26760d7cd
Runtime:
Microsoft .NET 4.0.30319.18033
GTK 2.24.13
GTK# (2.12.0.0)

=== Xamarin.Android ===

Version: 4.6.0 (Starter Edition)
Android SDK: C:\Users\Juanu\AppData\Local\Android\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)
Java SDK: C:\Program Files (x86)\Java\jdk1.6.0_39

=== Build Information ===

Git revision: Release ID: 400010008
c3584fce55cc2f5b16b4bde96640951ccf4e21e2
Build date: 2013-02-28 17:28:28Z
Xamarin addins: e9ab6a45369c332c3baf0cdff5ecb2b9ac568ba4

=== Operating System ===

Windows 6.2.9200.0 (64-bit)

System.ArgumentException: Widget is not a child of the canvas
en Xwt.Canvas.RemoveChild(Widget widget)
en Xamarin.Designer.PropertyEditing.PropertyTableRow.UpdateEditor(Widget newEditor)
en Xamarin.Designer.PropertyEditing.PropertyTable.RefreshRow(PropertyTableRow row)
en Xamarin.Designer.PropertyEditing.PropertyTable.RefreshRow(String propertyName)
en Xamarin.Designer.DesignerPropertyPanel.HandlePropertyChanged(Object sender, ItemPropertyChangedEventArgs e)
en System.EventHandler`1.Invoke(Object sender, TEventArgs e)
en Xamarin.Designer.DesignerSession.OnPropertyChanged(DesignerItem item, String propName)
en Xamarin.AndroidDesigner.AndroidDesignerSession.NotifyPropertyChanged(AndroidDesignerItem item, String propName)
en Xamarin.AndroidDesigner.AndroidDesignerSession.EndUpdateItem(String parentId, String itemId, XElement itemXml, Boolean internalUpdate, Boolean propagateChanges)
en Xamarin.AndroidDesigner.AndroidDesignerSession.EndUpdateItem(String parentId, String itemId, XElement itemXml)
en Xamarin.AndroidDesigner.AndroidDesignerItem.SetProperty(String name, String val)
en Xamarin.AndroidDesigner.VisualItems.ResizeHandle.UpdateProperties(Double dx, Double dy, Boolean commitChanges)
en Xamarin.Designer.VisualItems.DraggableHandle.OnButtonReleased(ButtonEventArgs args)
en Xamarin.Designer.DesignerSurface.OnButtonReleased(ButtonEventArgs args)
en Xwt.Widget.WidgetBackendHost.Xwt.Backends.IWidgetEventSink.OnButtonReleased(ButtonEventArgs args)
en Xwt.GtkBackend.WidgetBackend.<>c__DisplayClass1e.<HandleButtonReleaseEvent>b__1d()
en Xwt.Engine.Toolkit.Invoke(Action a)

MonoDevelop: 4.0.1
Runtime: Microsoft .NET v4.0.30319.18033
Operating System: Windows (Microsoft Windows NT 6.2.9200.0)
Distributor: Xamarin
=== Xamarin Studio ===
Comment 1 Lluis Sanchez 2013-11-21 04:59:12 UTC
Already fixed.
Comment 2 Prashant manu 2014-01-06 01:08:59 UTC
I have checked this issue with following builds:

All Man and Windows
X.S 4.2.3(build 24) for Mac
X.S 4.2.3(build 23) for Windows
X.Android 4.12.0-1

I am not getting crash when resizing Number Edit text on designer. This is the screencast for the same: http://screencast.com/t/z0cclqNNA3w

Changing the status to Verified.