Closed Bug 38459 Opened 24 years ago Closed 24 years ago

Selecting a popup menu item fire an onclick event on the element under the menu

Categories

(Core :: XUL, defect, P3)

defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: bugzilla, Assigned: mikepinkerton)

References

Details

(Whiteboard: [nsbeta2+] 6/1)

This problem occurs with the autocomplete XBL widget. When the user select a item with the mouse in the popup 
menu, the element right under the popup menu will receive the mouse click event. I am expecting that the popup 
menu will fully consume the event.

This problem is kind of blocking for the message compose window has a mouse click in the addressing widget will 
force the creation of a new row and move the focus in it. Sometime the subject line receive the event and therefore 
the focus is switched to the subject line.
Blocks: 36730
Same seems to be reported in bug 38442.
Is this new at all? Been seeing it now and then for "ages"..
hmmm, i haven't seen that behavior. xpmenus seem to be alright, as do context 
menus (in that they don't pass the click through to the content area below the 
popup). I'll take a look.
Keywords: nsbeta2
Target Milestone: --- → M17
Status: NEW → ASSIGNED
what is an example of this widget? i can't find one.
I will try to write a small test case. Until then, you can see the problem with the msg compose window if you turn 
on the autocomplete menu, for that you need to modify mozilla/mailnews/compose/resources/content/
addressingWidgetOverlay.xul:

change line 79 to be: displayMenu="true"
Works for me on Mac & Windows with today's build! Please feel free to close this 
bug.
QA Contact: sairuh → jrgm
[nsbeta2+] will take a fix until 6/1, assuming autocomplete is in.
Whiteboard: [nsbeta2+] 6/1
The problem is gone.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
Target Milestone: M17 → M16
verified worksforme mac/linux/win32; e.g. click on the popup for To: 
autocomplete in mail does not pass through to widget below.
Status: RESOLVED → VERIFIED
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.