Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 290817 - [Menu] Can not click MenuItem in FireFox 2
Summary: [Menu] Can not click MenuItem in FireFox 2
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.3   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.3 M3   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-29 11:41 EDT by Tim Buschtoens CLA
Modified: 2009-09-30 08:30 EDT (History)
0 users

See Also:


Attachments
Suggestred solution (1.96 KB, patch)
2009-09-29 12:15 EDT, Tim Buschtoens CLA
ruediger.herrmann: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Buschtoens CLA 2009-09-29 11:41:20 EDT
MenuItems in DropDown-menus can not be clicked in FireFox 2, the menu disappears before the click is registered.
Comment 1 Tim Buschtoens CLA 2009-09-29 12:15:40 EDT
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!
Comment 2 Rüdiger Herrmann CLA 2009-09-30 08:26:03 EDT
Applied patch to CVS HEAD