Closed
Bug 955918
Opened 11 years ago
Closed 7 years ago
Addon SDK panel gets pushed to another screen when right&bottom set to 0
Categories
(Add-on SDK Graveyard :: General, defect, P2)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: mingyiliu, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0 (Beta/Release) Build ID: 20131205075310 Steps to reproduce: require("sdk/panel").Panel({ position: { right: 0, bottom: 0 } }).show(); when used in an addon on dual monitor display, with Firefox maximized on the 2ndary monitor (say, on the left), will demo the issue. Actual results: The panel will show on the main monitor (on the right) despite that Firefox is maxed in the 2ndary monitor on the left. Expected results: Panel should show on 2ndary monitor on the left, aligned to bottom right of client (when only one monitor is used this is the case).
Updated•10 years ago
|
Component: Untriaged → General
Product: Firefox → Add-on SDK
Version: 26 Branch → unspecified
Updated•10 years ago
|
Assignee: nobody → zer0
Comment 2•9 years ago
|
||
I'm not able to reproduce this bug, on OS X with multiple displays seems work as expected. It seems platform specific. I don't have currently a way to test on Windows with multiple displays, plus I don't have much time to spend on SDK nowadays; so I'm removing myself from this bug.
Flags: needinfo?(zer0)
Updated•9 years ago
|
Assignee: zer0 → nobody
Reporter | ||
Comment 3•8 years ago
|
||
Sorry but this is reproducible. A user of mine just complained of the same issue. What both of us found was that this happens only when Firefox is on the 2nd monitor (the monitor marked with 2 in "Screen Resolutions" panel in Window - note that the 2nd monitor could be the main display). Even if this is platform-specific, Windows market share is >85%, I really think this should be fixed. Thanks.
Reporter | ||
Comment 4•8 years ago
|
||
BTW you also have to maximize Firefox window (or size the window wide enough) on the 2nd monitor to reproduce this. I suspect your window wasn't maximized, in which case the panel would properly display inside Firefox. However, when Firefox is maximized, the panel gets pushed to the other monitor. Basically if WidthOfFirefoxWindow + PanelWidth > DisplayWidth, the panel gets pushed to the other monitor.
Comment 5•7 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1399562
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•