Bug 5196 - The GUI designer generates an error when adding an action/signal
Summary: The GUI designer generates an error when adding an action/signal
Status: RESOLVED DUPLICATE of bug 5086
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: GTK# Designer ()
Version: 3.0.x
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-05-20 22:12 UTC by yacadoo
Modified: 2012-05-25 11:49 UTC (History)
3 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 DUPLICATE of bug 5086

Description yacadoo 2012-05-20 22:12:15 UTC
I am not able to add an action in the Signals tab. For example: If you add a simple button in the GUI designer, then go to Signals and then click in the area that says something like "click to add an action" and then type a name for the action and press ENTER an error will popup and no action will be assigned.
Comment 1 fheaven0 2012-05-25 07:09:38 UTC
i have the same problem with the GUI designer, in the gtk designer when using any control and trying to add an even an error occurred and can not create signal 

i tried to uninstall and reinstall nothing changed this is only on MonoDevelop 3, i returned back to MonoDevelop 2.8.4 and worked fine

this is the exception occurs:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NotImplementedException: The method or operation is not implemented.
   at MonoDevelop.Ide.TypeSystem.CodeGenerationService.GetNewMethodPosition(IEnumerable`1 points, IUnresolvedTypeDefinition cls)
   at MonoDevelop.Ide.TypeSystem.CodeGenerationService.GetSuitableInsertionPoint(IEnumerable`1 points, IUnresolvedTypeDefinition cls, IUnresolvedMember member)
   at MonoDevelop.Ide.TypeSystem.CodeGenerationService.AddNewMember(ITypeDefinition type, IUnresolvedTypeDefinition part, IUnresolvedMember newMember, Boolean implementExplicit)
   at MonoDevelop.GtkCore.GuiBuilder.CodeBinder.BindSignal(Signal signal)
   at MonoDevelop.GtkCore.GuiBuilder.GuiBuilderView.OnSignalAdded(Object sender, ComponentSignalEventArgs args)
   at Stetic.WidgetDesigner.OnSignalAdded(Object sender, ComponentSignalEventArgs args)
   at Stetic.Project.<>c__DisplayClass12.<NotifySignalAdded>b__11(Object , EventArgs )
   at Stetic.GuiDispatch.InvokeSync(EventHandler h)
   at Stetic.Project.NotifySignalAdded(Object obj, String name, Signal signal)
   at Stetic.ProjectBackend.Stetic.IProject.NotifySignalAdded(SignalEventArgs args)
   at Stetic.ObjectWrapper.OnSignalAdded(SignalEventArgs args)
   at Stetic.SignalCollection.OnInsertComplete(Int32 index, Object value)
   at System.Collections.CollectionBase.System.Collections.IList.Add(Object value)
   at Stetic.SignalCollection.Add(Signal signal)
   at Stetic.SignalsEditorBackend.AddHandler(TreeIter iter, String name)
   at Stetic.SignalsEditorBackend.OnRowActivated(Object sender, RowActivatedArgs args)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at GLib.Signal.ClosureInvokedCB(Object o, ClosureInvokedArgs args)
   at GLib.SignalClosure.Invoke(ClosureInvokedArgs args)
   at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)
Comment 2 Mikayla Hutchinson [MSFT] 2012-05-25 11:49:29 UTC

*** This bug has been marked as a duplicate of bug 5086 ***