Closed
Bug 21223
Opened 25 years ago
Closed 25 years ago
<popup> window default location is incorrect
Categories
(Core :: XUL, defect, P3)
Tracking
()
VERIFIED
FIXED
M14
People
(Reporter: cmanske, Assigned: mikepinkerton)
References
Details
Example: Start the editor. Click on a color-picker button on the toolbar.
The popup window comes up in the wrong location. It should anchor the upper
left corner under the mouse point.
Updated•25 years ago
|
Status: NEW → ASSIGNED
Updated•25 years ago
|
Target Milestone: M14
Comment 1•25 years ago
|
||
...
Comment 2•25 years ago
|
||
I'm not sure if this is the same bug, but in the mailnews threadpane, the
context menu shows up too far down and too far right from the place where I clicked.
Reporter | ||
Comment 3•25 years ago
|
||
It is the same bug if you are using a <popup> element, not a <menupopup>,
which seems to position OK.
Comment 4•25 years ago
|
||
yes, it's a popup with "context" in the tree.
Comment 5•25 years ago
|
||
I see the same problem when I have a titled button with a popup (not a context
window).
The popup shows up in the middle of my screen instead of being anchored to the
title button i've declared the popup in.
Here's what my title button xul looks like:
<box id="FromBox" class="headerBox" align="horizontal" hide="true">
<html:div class="headerdisplayname">&fromField.label;</html:div>
<titledbutton class="emailDisplayButton" id="FromValue"
value="foo"
popup="emailAddressPopup" />
</box>
Assignee | ||
Updated•25 years ago
|
Assignee: hyatt → pinkerton
Status: ASSIGNED → NEW
Assignee | ||
Comment 6•25 years ago
|
||
Taking menu/popup bugs.
Updated•25 years ago
|
QA Contact: claudius → sairuh
Comment 7•25 years ago
|
||
Pink just took ownership of several menu-related bugs, most were already QAassigned to sairuh, I'm just making sure that they
all are now :-)
Comment 12•25 years ago
|
||
Is bug 16592 (as REOPENED) the same issue as this bug?
1. start mozilla
2. click right mouse button on background to bring up the context menu
3. click right mouse button outside it to pop it up at another position
4. select a menu item in it with the RIGHT mouse button
In step four, a *third* context menu pops up in a location that seems to
be computed somehow - it doesn't appear to pop up quite randomly, but it
is always offset in both X and Y. Nevermind that it shouldn't appear at all
(the right click on the menu should either do nothing or select the item),
the code that positions the third context menu may be the same code as is
causing the problem reported here.
Also, testing bug 24901, "[ssl] There are no security warnings.", warnings
were seen on Linux, but in unpredictable locations, sometimes apparently
offscreen. Not sure whether to file this as a new bug.
Comment 13•25 years ago
|
||
*** Bug 25906 has been marked as a duplicate of this bug. ***
Comment 14•25 years ago
|
||
Putting on PDT+ radar for beta1. As long as it can be off screen.
Whiteboard: [PDT+]
Comment 15•25 years ago
|
||
*** Bug 26266 has been marked as a duplicate of this bug. ***
Comment 16•25 years ago
|
||
*** Bug 26263 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 17•25 years ago
|
||
This has nothing to do with bug 24901, as these are popups and not alerts. I
don't know why that is even mentioned in this bug. Also the "right mouse"
problems in the same comment are totally unrelated to this bug.
Since this was pdt+ only because it was thought the popup might appear offscreen
(which i'm pretty sure it can't, the offscreen handling popup code is pretty
bulletproof in other situations), i'm removing the pdt+ for reclassification.
Whiteboard: [PDT+]
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 19•25 years ago
|
||
fixed. editor colorpicker popup now shows up in the right place. can't test mail/
news ones right now, but i'm sure all is well there too.
You need to log in
before you can comment on or make changes to this bug.
Description
•