Closed Bug 164517 Opened 22 years ago Closed 21 years ago

context popup menu appears in wrong place after sidebar is opened or closed

Categories

(Core :: XUL, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Future

People

(Reporter: david+bugs, Assigned: hyatt)

References

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020824
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020824

If the context menu is invoked (via a right click) after the sidebar has been
opened or closed (by clicking on the handle on its border) but before the
current page is reloaded or refreshed, the menu pops up in the wrong location:
too far to the right if the sidebar has just been closed, or too far to the left
if it has just been opened.  (It seems off by precisely one sidebar width,
suggesting that the menu position is computed with respect to the main window's
left border rather than to the frame's left border.)

Reproducible: Always

Steps to Reproduce:
1. Load any page.
2. Close sidebar (by clicking on handle) if open; or open it if closed.
3. Right click to invoke context menu.

Actual Results:  
Menu appears off by one sidebar width.

Expected Results:  
Menu should appear next to the mouse cursor.

In case this is skin-dependent: observed with the "modern" skin.
Correction: triggering the bug is a bit more complex than I described.  You need
to load the page, then open the context menu a first time, *then* open or close
the side bar, and finally open the context menu a second time: it's only on the
second time that it's wrongly positioned.  This would explain why the bug has
gone apparently unnoticed.  Sorry for not getting this straight immediately.
*** Bug 167067 has been marked as a duplicate of this bug. ***
I think there is yet-another-duplicate of this bug filed earlier, but I can't 
see it at the moment.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: dupeme
Target Milestone: --- → Future
dup or no dup, this bug has been fixed
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: shrir → xptoolkit.widgets
Whiteboard: dupeme
You need to log in before you can comment on or make changes to this bug.