Community
Participate
Working Groups
MenuItems in DropDown-menus can not be clicked in FireFox 2, the menu disappears before the click is registered.
Created attachment 148339 [details] Suggestred solution This fixes the problem. It was caused by the fact that DOM-blur-events bubble in FF2, but not in other browser. EventHanlder.js has a listener on window.onblur, which is therefore executed on ALL blur-events, closing all menus. This patch modifies EventHandler.js to check the originalTarget of the event. In which cases window (the DOM-object) itself fires a "blur"-event seems somewhat inconsistent between the different browsers. With this fix, some browsers might not always close a menu when another application of the OS is focused. (This also happend without the patch, only now in more cases than before.) Rebuild of qx.js is needed!
Applied patch to CVS HEAD