Ticket #17 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

Menu DWT.Show and Hide events not always sent

Reported by: baxissimo Assigned to: keinfarbton
Priority: major Milestone: dwt-win-3.3-01
Component: dwt-win Version:
Keywords: Cc:

Description

This can be seen in dwt-samples\snippets\menu\Snippet97.d

After the first Show event, DWT just keeps using the same menu without re-firing the Show event. The result is that the pop-up menu shows the text doesn't ever change after the menu is initially created.

This also affects my app in which I try to dynamically generate a menu that hangs off the menu bar. If I pop up the same menu twice in a row then Show doesn't fire. But if I switch to another menu and then back then it does. It appears that Hide on the first menu also doesn't get sent until the other menu pops up. I.e. if you just pop up and close the same menu repeatedly, you get one Show the first time, then nothing until you open a different menu, at which point you get a Hide for the first menu.

Change History

06/01/08 09:10:28 changed by keinfarbton

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in -rf9b2183acd62, thanks for the detailed report.