Open Bug 944716 Opened 11 years ago Updated 2 years ago

Tooltips of context menuitems overlapping another menu don't appear, causes highlight failure on menuitems

Categories

(Core :: XUL, defect)

25 Branch
x86
Windows Vista
defect

Tracking

()

UNCONFIRMED

People

(Reporter: tjkubo, Unassigned)

Details

Attachments

(2 files, 2 obsolete files)

894 bytes, application/vnd.mozilla.xul+xml
Details
3.91 KB, application/x-xpinstall
Details
Attached file Test add-on (obsolete) —
User Agent: Mozilla/5.0 (Windows NT 6.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.57 Safari/537.36

Steps to reproduce:

I made an extension that adds a new toolbar with one menu button, associated a context menu for each menuitem of that menu, and added a tooltip to each menuitem of the context menu.
1) Click on toolbar button, menu appears.
2) Right click on a menuitem, context menu appears.
3) Mouse over the part of the context menu which overlaps with the main menu


Actual results:

The context menuitem which was moused over doesn't highlight correctly (highlights for a moment then disappears) and its tooltip doesn't appear at all.

The problem only occurs where the context menu overlaps with the main menu. I.e., if I mouse over the part of the context menu which does not overlap with the main menu, everything works fine. Also, the highlighting problem goes away when I get rid of the tooltiptext attributes.
Attached file Overlay from add-on
Attachment #8340404 - Attachment mime type: application/zip → application/x-xpinstall
Did it use to work with previous versions of Firefox?

I tested with Firefox 17 (to see if a regression was possible) and the add-on is flagged as incompatible. Is it normal? (maybe change the manifest to allow all versions)

In addition, I tested with Firefox 28 and its new them Australis, your toolbar is totally broken, no toolbar button.
Flags: needinfo?(tjkubo)
I created the test add-on for Firefox  25. The button doesn't have an icon so you can only see it if you customize your toolbars to show text. 

I don't know why the button doesn't appear in the toolbar in Nightly. In any case, you should be able to find a button called "File" when you go to Customize. Put it on any toolbar and you'll still see the same results mentioned. 

I'll update the manifest to allow all versions.
Flags: needinfo?(tjkubo)
Attached file Test add-on revised (obsolete) —
Attachment #8340404 - Attachment is obsolete: true
Attached file Test add-on (revised)
Attachment #8340441 - Attachment is obsolete: true
Attachment #8340443 - Attachment mime type: application/zip → application/x-xpinstall
I tested with FF8, same issue, so no regression, I guess.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: