Closed Bug 228273 Opened 22 years ago Closed 22 years ago

tooltips appear on the menuitems of menu-buttons

Categories

(Core :: XUL, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 147670

People

(Reporter: steffen.wilberg, Assigned: jag+mozilla)

Details

(Keywords: testcase)

Attachments

(1 file)

1003 bytes, application/vnd.mozilla.xul+xml
Details
If you let the tooltip of a menu-button appear, then click the dropmarker and hover over the dropdown menuitems, the tooltip of the button appears on them as well. It shouldn't. If you let a tooltip from a different button display, then quickly open the dropdown before the tooltip of the menu button appears, the tooltip of the other button is displayed on the menuitems. If you specify tooltiptext="" on the menuitems, it doesn't display the menu-button tooltip, but " ", i.e. an empty box. This happens on Firebird's back and forward dropdown menu, and SeaMonkey's print dropdown menu. Testcase upcoming.
Attached file testcase
This shows two menu-buttons. The left one is what I've done so far for bug 178215, the right one has tooltiptext="" on the menuitems. 1. Hover over the left button. The tooltip "Print this page" appears. 2. Click the dropmarker. Hover over one of the menuitems. The tooltip appears as well. 3. Repeat 1 and 2 on the right button. An empty box appears as tooltip on the menuitems. 4. Quickly click on the dropmarker of the left button and hover over one of its menuitems so that the tooltip of the button doesn't appear. The blank box appears on the menuitems of the left button as well.
Comment on attachment 137303 [details] testcase 5. Hit F5 (page reload). 6. Click the dropmarker of the left button and quickly hover over one of the menuitems, so that the button tooltip does not appear. Result: The menuitems show a blank tooltip, but smaller than the one from step 3.
The only workarounds I've found so far are to remove the tooltip from the menu-button, or the add appropriate tooltips to the menuitems. But the first is inconsistent with the other buttons in Firebird, all of which have tooltips; the second is inconsistent with menus, which normally don't have tooltips.
This looks like a duplicate of bug 147670.
No longer blocks: 178215
Indeed. The summary of bug 147670 doesn't reflect that, but the dozen of dupes. And the patch attached to bug 147670 works!!! *** This bug has been marked as a duplicate of 147670 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: