Popup menu displays after setting enabled false then true of TMenuItem

Hi Bruno,

I have made a demo
2. popup menu.zip (1.6 MB)for this issue. In the demo, I right-clicked inside a panel to bring up the popup menu window. Then I have a button down below to set enabled property of Menuitem to false first and then true:

SD1.enabled := false;
SD1.enabled := true;

At this point, the popup menu appears without right-clicking panel.

Any tip would help!

Thanks,

Thanks for reporting
We traced & solved this issue. Next update will address this.