Closed Bug 1652259 Opened 4 years ago Closed 4 years ago

Moving window from high DPI monitor to low DPI one sometimes adds white border

Categories

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

x86_64
Windows 10
defect

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- unaffected
firefox78 --- unaffected
firefox79 --- unaffected
firefox80 --- wontfix
firefox82 --- wontfix
firefox83 --- fixed

People

(Reporter: saschanaz, Assigned: saschanaz)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

  1. Prepare two monitors with their DPI different, and set the lower DPI one as the main monitor.
  2. Move your Firefox window to the higher monitor
  3. Maximize the window.
  4. Restore down the window
  5. Move it the lower monitor

Expected: No white border
Actual: It appears. Maximizing again removes it.

This doesn't happen without Step 2. I'm not sure why it matters.

Set release status flags based on info from the regressing bug 1483448

Are you looking into this?

Flags: needinfo?(krosylight)

I'm currently working on a DOM bug, but I can try again after that. Do you want to take a look?

Flags: needinfo?(krosylight)

Too busy at the moment, just wondering.

Severity: -- → S4
Priority: -- → P3

we're also seeing a couple of reports from users with those white borders on sumo & reddit, who have set firefox to run in windows 7 compatibility mode.

Assignee: nobody → krosylight

Currently margin values only change when the window goes fullscreen, causes unexpected white borders when moving to a lower-DPI display. This patch fixes that by updating the values whenever DPI changes.

Pushed by aklotz@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4b99cd59c105
Update client margins when DPI changes r=aklotz
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: