Comment 2 for bug 853766

Revision history for this message
Ɓukasz Zemczak (sil2100) wrote :

It seems that it's only the case for Firefox and Thunderbird - but I have noticed a similar bug while working on bug https://bugs.launchpad.net/unity/+bug/839628 - the F10 menu open. The reason for this bug to appear was that the menu bar widget was not visible before the showMenu() call for the first menu entry. For the menu to appear correctly, the AppNameApplet needs to call the updateWidgets() function (with the isOpened parameter set) before showing the actual menu, otherwise it wrongly calculates the menu coordinates. In my F10 fix, I did it by issuing a new setOpened() call before showing the menu (not too pretty, but fast and works). Either the same thing needs to be done for the Firefox and Thunderbird menus, or I should find a better way of fixing it.