Bug 9304 - Autogenerated actions from gui designer can not be deleted
Summary: Autogenerated actions from gui designer can not be deleted
Status: NEW
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: GTK# Designer ()
Version: 3.0.x
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2013-01-06 18:48 UTC by Pawel
Modified: 2013-01-06 18:48 UTC (History)
1 user (show)

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 for Bug 9304 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description Pawel 2013-01-06 18:48:40 UTC
For example:

Lets say i have created a button on a toolbar widget. An action called openAction is automatically created after adding a button. 

Fragment of gui.stetic file after deleting the button itself and connected action using action group view.

  <action id="openAction">
    <property name="Type">Action</property>
    <property name="Label" translatable="yes" />
    <property name="StockId">gtk-open</property>

Yes.. it's still there and in the toolbox menu at the bottom. It messed up once whole test project. Around 20-30 actions were present in the toolbox and stetic file after few addings and removings of buttons. Which led to problems with compilation with error like: null reference or something similar.

After clicking delete in the toolbox menu nothing happens.

And I have found a way around(while writing this report actually :)). If I rename any action in the group view then.. no problem... after deleting it there it dissapears from code and all the menus. But still deleting through toolbox menu doesn't work.

create button on "toolbar widget", select an icon, try to delete action without renaming it => fail

try to have fun with buttons and end up with 20-30 actions named like openAction(1-30) and sometimes null reference compilation errors.

I know it is not very concise but I hope that it will help.