Il 21/nov/2013 21:35 "Julian Harnath" <julian.harnath@xxxxxxxxxxxxxx> ha scritto: > > Hello! > > Stephan Aßmus <superstippi@xxxxxx> schrieb: > > However, in Gobe Productive, the behavior would result in either the > > menu staying open > > (making BMenu::Show() robust), or the menu opening again (when the > > menu is forced to > > close, but the click registers). > > The former is not a problem, because that's exactly how it works in > Gobe when running on BeOS: clicking on the popup toolbar button again > when it's open simply does nothing, it does not close the menu. > > So I think it would be enough to make BMenu::Show() more robust... > there's still some unused reserved bytes in BMenu, I guess we can just > use those to save a "is menu open"-boolean. > IIRC it should be possible to check if there's a window, that would be the sign that tge menu is already opened. Problem is, as I said: that doesn't stop ANOTHER menu to open.