Closed
Bug 1351832
Opened 8 years ago
Closed 8 years ago
Firefox opens profile manager on wrong monitor/screen on Windows
Categories
(Core :: Widget: Win32, defect)
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox52 | --- | unaffected |
firefox-esr52 | --- | unaffected |
firefox53 | --- | unaffected |
firefox54 | --- | unaffected |
firefox55 | --- | fixed |
People
(Reporter: jorgk-bmo, Assigned: emk)
References
Details
(Keywords: regression)
Attachments
(3 files)
I have a dual monitor setup on Windows, one monitor is the primary monitor, the other one is the secondary monitor, which I have mostly switched off.
As of Nightly 2017-03-28 the profile manager opens on the (switched-off) secondary monitor. This is a regression.
Last good - 2017-03-27:
http://ftp.mozilla.org/pub/firefox/nightly/2017/03/2017-03-27-03-02-03-mozilla-central/
First bad - 2017-03-28:
http://ftp.mozilla.org/pub/firefox/nightly/2017/03/2017-03-28-09-54-15-mozilla-central/
I'm a Thunderbird and occasionally Mozilla core contributor who has to juggle many profiles. The profile manager opening on the wrong screen is rather annoying.
Reporter | ||
Comment 1•8 years ago
|
||
If I'm not mistaken:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=cc53710589fb&tochange=5182b2c4b963
Alice, can you see where this is coming from?
Flags: needinfo?(alice0775)
Reporter | ||
Comment 2•8 years ago
|
||
Looks like bug 1194751.
Reporter | ||
Updated•8 years ago
|
Flags: needinfo?(alice0775)
Reporter | ||
Comment 3•8 years ago
|
||
It's not only the profile manager that goes to the wrong screen, also the "checking add-ons for updates" panel goes there. The main window comes to the right screen.
Assignee | ||
Comment 4•8 years ago
|
||
Bug 1351329 fixed a bug on Windows. Could you retest with a Nightly with bug 1351329 fix contained?
Reporter | ||
Comment 5•8 years ago
|
||
I have a local TB build with that patch included, and the profile manager still opens on the wrong monitor, sorry ;-(
Assignee | ||
Comment 6•8 years ago
|
||
What Windows version are you using? The coordinate system is completely different between Win7 and Win8.1+.
Flags: needinfo?(jorgk)
Assignee | ||
Comment 7•8 years ago
|
||
Also please tell me about resolutions, DPIs, and arrangement of the monitors.
Reporter | ||
Comment 8•8 years ago
|
||
OK, here goes: Windows 7 x64, two monitors 1280x1024, main (1) left, secondary (2) right, "Extend these displays". I didn't know how to get the DPIs, but https://www.infobyip.com/detectmonitordpi.php tells me 96x96.
Flags: needinfo?(jorgk)
Assignee | ||
Comment 9•8 years ago
|
||
Hmm, I could not reproduce the issue. Is the secondary monitor selected only when the secondary monitor is turned off?
Flags: needinfo?(jorgk)
Assignee | ||
Comment 10•8 years ago
|
||
Maybe I could reproduce it with the following set up:
1. Select monitor 2 in the Display control panel applet.
2. Check "Make this my main display".
3. Move monitor 1 (now secondary) to the right side of monitor 2.
Reporter | ||
Comment 11•8 years ago
|
||
(In reply to Masatoshi Kimura [:emk] from comment #9)
> Is the secondary monitor selected only when the secondary monitor is turned off?
I'm not sure I understand the question. The profile manager panel is always displayed on the 2nd right-side monitor which is not the main monitor and most of the time is switched off. When I switch it on, I see the profile manager, so now I always have to switch is on to be able to work.
(In reply to Masatoshi Kimura [:emk] from comment #10)
> Maybe I could reproduce it with the following set up:
> 1. Select monitor 2 in the Display control panel applet.
> 2. Check "Make this my main display".
> 3. Move monitor 1 (now secondary) to the right side of monitor 2.
For me, the profile manager panel always shows on the secondary display, regardless of whether that's to the left of the right.
The main display always has number 1 if the desktop is extended to the other monitor.
Flags: needinfo?(jorgk)
Reporter | ||
Comment 12•8 years ago
|
||
There is something fishy going on here. As you can see in the picture, Windows thinks that
[ 1 ][ 2 ]
one is main and left and two is secondary and right.
If I now run the AMD Catalyst Control Center, it shows me
[ 2 ][ 1 ]
and tells me that two is main and left and one is secondary and right.
So both Windows and the AMD Catalyst Control Center agree in main=left and secondary=right but they number them differently.
To which screen does FF send the profile manager?
Assignee | ||
Comment 13•8 years ago
|
||
Could execute this program from Command Prompt and paste the result?
Flags: needinfo?(jorgk)
Assignee | ||
Updated•8 years ago
|
Attachment #8852909 -
Attachment is patch: false
Assignee | ||
Updated•8 years ago
|
Attachment #8852909 -
Attachment mime type: text/plain → application/zip
Reporter | ||
Comment 14•8 years ago
|
||
Sure:
DPI unaware
System DPI = 96
Virtual screen: 0,0 / 2560x1024
000000000010080D:(1280,0)-(2560,1024) 0
0000000000810857:(0,0)-(1280,1024) 1
System DPI aware
System DPI = 96
Virtual screen: 0,0 / 2560x1024
000000000010080D:(1280,0)-(2560,1024) 0
0000000000810857:(0,0)-(1280,1024) 1
Per monitor DPI aware
not supported
Flags: needinfo?(jorgk)
Assignee | ||
Comment 15•8 years ago
|
||
Thank you. Apparently the EnumDisplayMonitors function agrees with AMD Catalyst.
Could you test this try build to see if it fixes the issue?
https://archive.mozilla.org/pub/firefox/try-builds/VYV03354@nifty.ne.jp-7be16e1caa5b81782693d778036ae9db3080d9c3/try-win64/
Flags: needinfo?(jorgk)
Reporter | ||
Comment 16•8 years ago
|
||
(In reply to Masatoshi Kimura [:emk] from comment #15)
> Could you test this try build to see if it fixes the issue?
Yes I can, and yes, it does fix the issue.
https://hg.mozilla.org/try/rev/b913fe2239382f884d7469b1169bd8a277eab5e9
fixes the issue in TB, too.
So: *Thank you!!*
Flags: needinfo?(kchen)
Flags: needinfo?(jorgk)
Flags: needinfo?(jmathies)
Updated•8 years ago
|
Component: General → Widget: Win32
Product: Firefox → Core
Updated•8 years ago
|
status-firefox52:
--- → unaffected
status-firefox53:
--- → unaffected
status-firefox54:
--- → unaffected
Version: Trunk → 54 Branch
Comment hidden (mozreview-request) |
Reporter | ||
Comment 18•8 years ago
|
||
Comment on attachment 8853124 [details]
Bug 1351832 - Always put the primary monitor at the top of the screen list.
Works for me ... and I'm the reporter ;-)
Attachment #8853124 -
Flags: feedback+
Comment 19•8 years ago
|
||
mozreview-review |
Comment on attachment 8853124 [details]
Bug 1351832 - Always put the primary monitor at the top of the screen list.
https://reviewboard.mozilla.org/r/125192/#review127772
Attachment #8853124 -
Flags: review?(kchen) → review+
Comment 20•8 years ago
|
||
Pushed by VYV03354@nifty.ne.jp:
https://hg.mozilla.org/integration/autoland/rev/4f579b19145a
Always put the primary monitor at the top of the screen list. r=kanru
Comment 21•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Updated•8 years ago
|
status-firefox-esr52:
--- → unaffected
Updated•8 years ago
|
Assignee: nobody → VYV03354
You need to log in
before you can comment on or make changes to this bug.
Description
•