<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Inline dynamic menu fails to open or causes crash in ArcGIS Pro 3.4 in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/inline-dynamic-menu-fails-to-open-or-causes-crash/m-p/1565689#M12384</link>
    <description>&lt;P&gt;The bug number is&amp;nbsp;BUG-000172868.&lt;/P&gt;
&lt;H1 class="gh-header-title mb-2 lh-condensed f1 mr-0 flex-auto wb-break-word"&gt;&amp;nbsp;&lt;/H1&gt;</description>
    <pubDate>Fri, 06 Dec 2024 16:49:43 GMT</pubDate>
    <dc:creator>UmaHarano</dc:creator>
    <dc:date>2024-12-06T16:49:43Z</dc:date>
    <item>
      <title>Inline dynamic menu fails to open or causes crash in ArcGIS Pro 3.4</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/inline-dynamic-menu-fails-to-open-or-causes-crash/m-p/1560506#M12310</link>
      <description>&lt;P&gt;In ArcGIS Pro 3.4, adding an inline dynamic menu, below another menu item, to an existing menu causes errors (It works fine the first time it's parent menu is opened, but either it prevents the menu from opening when clicked a second time, or it crashes pro).&lt;BR /&gt;&lt;BR /&gt;It seemed to work without problems in Pro 3.3 (and earlier). It also appears to work if the dynamic menu is not inline (ie. a pull right menu).&amp;nbsp; The dynamic menu seems to work fine if it's directly in the ribbon group too.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone else experienced this issue?&amp;nbsp; Any idea why it happens?&amp;nbsp; Suggestions for workarounds?&amp;nbsp; Is it something that will be fixed in a future release?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks much!&lt;/P&gt;&lt;P&gt;Here's the .daml and .cs code from my sample.&lt;BR /&gt;.daml:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  &amp;lt;modules&amp;gt;
    &amp;lt;insertModule id="ProAppModule4_dynamicMenu_Module" className="Module1" autoLoad="false" caption="Module1"&amp;gt;
      &amp;lt;groups&amp;gt;
        &amp;lt;group id="ProAppModule4_dynamicMenu_Group1" caption="Group 1" appearsOnAddInTab="true"&amp;gt;
          &amp;lt;menu refID="ProAppModule4_parent_Menu1" size="middle" /&amp;gt;
          &amp;lt;dynamicMenu refID="ProAppModule4_DynMenu1" separator="true" /&amp;gt;
        &amp;lt;/group&amp;gt;
      &amp;lt;/groups&amp;gt;
      &amp;lt;controls&amp;gt;
        &amp;lt;dynamicMenu id="ProAppModule4_DynMenu1" caption="Menu Items" className="DynMenu1"  smallImage="GenericButtonGreen16" largeImage="GenericButtonGreen32"&amp;gt;
        &amp;lt;/dynamicMenu&amp;gt;
        &amp;lt;button id="ProAppModule4_Button1" caption="Menu Button 1" className="Menu1_button1" loadOnClick="true" smallImage="GenericButtonGreen16" largeImage="GenericButtonGreen32"&amp;gt;
          &amp;lt;tooltip heading="Menu Button 1"&amp;gt;ToolTip&amp;lt;disabledText /&amp;gt;&amp;lt;/tooltip&amp;gt;
        &amp;lt;/button&amp;gt;
      &amp;lt;/controls&amp;gt;
      &amp;lt;menus&amp;gt;
        &amp;lt;menu id="ProAppModule4_parent_Menu1" caption="Inline Menu 1" smallImage="GenericButtonGreen16" largeImage="GenericButtonGreen32"&amp;gt;
          &amp;lt;button refID="ProAppModule4_Button1" /&amp;gt;
          &amp;lt;dynamicMenu refID="ProAppModule4_DynMenu1" separator="true" inline="true" /&amp;gt;
        &amp;lt;/menu&amp;gt;
      &amp;lt;/menus&amp;gt;
    &amp;lt;/insertModule&amp;gt;
  &amp;lt;/modules&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;.cs:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;    internal class DynMenu1 : DynamicMenu
    {
        protected override void OnPopup()
        {
            for (int i = 0; i &amp;lt; 3; i++)
            {
                this.Add(i + " item");
            }
        }

        protected override void OnClick(int index)
        {
            MessageBox.Show($"Button {index} Clicked!");
        }
    }

    internal class Menu1_button1 : Button
    {
        protected override void OnClick()
        {
        }
    }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 23:45:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/inline-dynamic-menu-fails-to-open-or-causes-crash/m-p/1560506#M12310</guid>
      <dc:creator>Justin_ODell</dc:creator>
      <dc:date>2024-11-19T23:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Inline dynamic menu fails to open or causes crash in ArcGIS Pro 3.4</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/inline-dynamic-menu-fails-to-open-or-causes-crash/m-p/1564838#M12359</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/251063"&gt;@Justin_ODell&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reporting this issue. I will post back as soon as I have more information on this issue.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 19:18:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/inline-dynamic-menu-fails-to-open-or-causes-crash/m-p/1564838#M12359</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2024-12-04T19:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Inline dynamic menu fails to open or causes crash in ArcGIS Pro 3.4</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/inline-dynamic-menu-fails-to-open-or-causes-crash/m-p/1564922#M12362</link>
      <description>&lt;P&gt;This is a bug. It will be addressed in 3.5 and also in a service pack for 3.4.&lt;/P&gt;
&lt;P&gt;In the meantime, as a workaround, you can remove the separators. The separators are causing the crash.&lt;/P&gt;
&lt;P&gt;Thanks again for reporting this issue.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 22:01:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/inline-dynamic-menu-fails-to-open-or-causes-crash/m-p/1564922#M12362</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2024-12-04T22:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Inline dynamic menu fails to open or causes crash in ArcGIS Pro 3.4</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/inline-dynamic-menu-fails-to-open-or-causes-crash/m-p/1565615#M12382</link>
      <description>&lt;P&gt;Thanks for investigating/confirming Uma!&lt;BR /&gt;&lt;BR /&gt;Is there a bug number associated with this that I could follow? Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 14:59:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/inline-dynamic-menu-fails-to-open-or-causes-crash/m-p/1565615#M12382</guid>
      <dc:creator>Justin_ODell</dc:creator>
      <dc:date>2024-12-06T14:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Inline dynamic menu fails to open or causes crash in ArcGIS Pro 3.4</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/inline-dynamic-menu-fails-to-open-or-causes-crash/m-p/1565689#M12384</link>
      <description>&lt;P&gt;The bug number is&amp;nbsp;BUG-000172868.&lt;/P&gt;
&lt;H1 class="gh-header-title mb-2 lh-condensed f1 mr-0 flex-auto wb-break-word"&gt;&amp;nbsp;&lt;/H1&gt;</description>
      <pubDate>Fri, 06 Dec 2024 16:49:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/inline-dynamic-menu-fails-to-open-or-causes-crash/m-p/1565689#M12384</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2024-12-06T16:49:43Z</dc:date>
    </item>
  </channel>
</rss>

