Closed Bug 1257071 Opened 9 years ago Closed 8 years ago

When unplugging a secondary low-dpi monitor on which Firefox is open, Windows moves Firefox to the high-density display and all chrome text is misplaced and content is mis-sized

Categories

(Core :: Widget: Win32, defect, P2)

47 Branch
x86_64
Windows 10
defect

Tracking

()

RESOLVED DUPLICATE of bug 1154125

People

(Reporter: bvanoudtshoorn, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: tpi:+)

Attachments

(1 file)

Attached image Capture.PNG
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0 Build ID: 20160315004019 Steps to reproduce: 1. Open Firefox on a low-density display in a mixed-density environment. 2. Unplug the low-density display; Firefox will be moved to the high-density display automatically. Actual results: * Chrome UI elements have their text inappropriately sized and positioned (tabs, addon badges, URL hover text, menus [including non-hamburger]). * Maximising and restoring Firefox on the display does not resolve the issue Expected results: Firefox should have been appropriately sized in all contexts.
Blocks: win-hidpi
OS: Unspecified → Windows 10
Hardware: Unspecified → x86_64
Component: Untriaged → Widget: Win32
Product: Firefox → Core
I'm now struggling to recreate this issue; but the screenshot proves it's happened at least once... I've undertaken the following tests to try and recreate this issue: * 2x low-density, 1x high-density. Firefox on low-density display. * Logged in and active. Unplug Fx monitor => Fx moves to primary (high-density) display. Exhibits issue for a second or so, then resolves. * Locked but awake. Unplug Fx monitor, unlock => Fx moves to primary (high-density) display. Exhibits issue for a second or so, then resolves. * Locked and sleeping. Unplug Fx monitor, wake and unlock => Fx moves to primary (high-density) display. Exhibits issue for a second or so, then resolves. * Sleeping but unlocked. Unplug Fx monitor, wake and unlock => Fx moves to primary (high-density) display. Exhibits issue for a second or so, then resolves. * 1x low-density, 1x high-density. Firefox on low-density display. * Logged in and active. Unplug Fx monitor => Fx moves to primary (high-density) display. Exhibits issue for a second or so, then resolves. * Locked but awake. Unplug Fx monitor, unlock => Fx moves to primary (high-density) display. Exhibits issue for a second or so, then resolves. * Locked and sleeping. Unplug Fx monitor, wake and unlock => Fx moves to primary (high-density) display. Exhibits issue for a second or so, then resolves. * Sleeping but unlocked. Unplug Fx monitor, wake and unlock => Fx moves to primary (high-density) display. Exhibits issue for a second or so, then resolves. If it helps, I'm running a Surface Pro 3 in a dock with one monitor plugged into the dock and the other plugged directly into the device.
Does it happen with FF45?
Flags: needinfo?(bvanoudtshoorn)
I'm not sure if it happens in 45, Loic, as I don't currently have it installed. Sorry! My *assumption* would be that it doesn't, and that it's related to the (fantastic) work to run nicely in mixed-density environments on Windows. I've definitely never encountered this before on my setup (the configuration of which hasn't changed for at least 6 months), and I've been running Firefox Dev Edition all along, so I would have been running 45 for a while.
Flags: needinfo?(bvanoudtshoorn)
This wouldn't happen in 45 (or 46), as we don't support mixed resolutions and dynamic resolution-changes there. It's related to that feature, which is currently on 47 (though might get held back to 48 if there are too many remaining issues). As for this specific bug, it sounds quite similar to bug 1254019, where a patch has just landed on inbound. It should go into Nightly (48) within the next day or two, and I'll then request uplift to Aurora (47) as well. Let's see whether that resolves things here. (Note that a temporarily-bad display that resolves itself after a moment, as described in comment 1, is to be expected when the display configuration suddenly changes. I'm more concerned about any cases where the incorrect scaling persists and doesn't "fix itself" automatically.)
See Also: → 1254019
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P2
Whiteboard: tpi:+
bvanoudtshoorn: Does this still occur with current Nightly or Developer Edition? I'm guessing it may have been resolved by bug 1154125, which should be fixed for Firefox 49 and later.
Flags: needinfo?(bvanoudtshoorn)
jfkthame: I haven't encountered this for a good while now on the Developer Edition. I think your guess about bug 1154125 resolving it is correct. :D
Flags: needinfo?(bvanoudtshoorn)
Great, thanks for letting us know; in that case, I'll close this as a duplicate. If you do see similar problems again, please file a fresh report with all the details. Thanks!
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: