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

UNCONFIRMED
Unassigned

Status

()

Core
XUL
UNCONFIRMED
4 years ago
4 years ago

People

(Reporter: tjkubo, Unassigned)

Tracking

25 Branch
x86
Windows Vista
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments, 2 obsolete attachments)

894 bytes, application/vnd.mozilla.xul+xml
Details
3.91 KB, application/x-xpinstall
Details
(Reporter)

Description

4 years ago
Created attachment 8340404 [details]
Test add-on

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.
(Reporter)

Comment 1

4 years ago
Created attachment 8340405 [details]
Overlay from add-on

Updated

4 years ago
Attachment #8340404 - Attachment mime type: application/zip → application/x-xpinstall

Comment 2

4 years ago
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)
(Reporter)

Comment 3

4 years ago
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)
(Reporter)

Comment 4

4 years ago
Created attachment 8340441 [details]
Test add-on revised
Attachment #8340404 - Attachment is obsolete: true
(Reporter)

Comment 5

4 years ago
Created attachment 8340443 [details]
Test add-on (revised)
Attachment #8340441 - Attachment is obsolete: true

Updated

4 years ago
Attachment #8340443 - Attachment mime type: application/zip → application/x-xpinstall

Comment 6

4 years ago
I tested with FF8, same issue, so no regression, I guess.
You need to log in before you can comment on or make changes to this bug.