Open Bug 1616861 Opened 5 years ago Updated 4 years ago

Background window contents are huge when switching from native MacBook retina to attached non-retina display

Categories

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

72 Branch
All
macOS
defect

Tracking

()

People

(Reporter: heath.borders, Unassigned)

Details

(Whiteboard: [mac:multimonitor])

Attachments

(2 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:72.0) Gecko/20100101 Firefox/72.0

Steps to reproduce:

I don't yet have good reproduction steps. This seems to happen mostly when I plug in my MacBook to its docking station after it's been disconnected for a while. This opens Firefox windows directly onto a non-retina Apple Cinema HD display.

Actual results:

Firefox windows in the background have extremely large contents. They seem like they're still being rendered for a retina display, but inside a non-retina window.

When I click on the background Firefox window and move it to the foreground, the contents re-render themselves properly.

Expected results:

Background Firefox windows should render properly immediately.

In the attached video, the window is technically in the background (I moved other foreground windows out of the way so you could see the entire background window). When I click on the background window, it comes to the foreground and re-renders properly.

Hi,

Unfortunately I was not able to reproduce this issue. Anyway I'm setting component to Core - Graphics for someone to take a look at this.

Meanwhile @heath.borders@gmail.com could you please try on our latest Nightly build? You can download it from here https://nightly.mozilla.org/ Also can you try this in SAFE MODE?

Thanks.

Component: Untriaged → Graphics
Flags: needinfo?(heath.borders)
Product: Firefox → Core

I'm running https://npr.org and https://stlpublicradio.org in separate windows in SAFE MODE on the latest nightly build. Usually, this happens when I switch between my external display and laptop's native display. I'll let you know when I see it again, and try to get a better handle on when it changes.

Flags: needinfo?(heath.borders)

Markus, is the behaviour here expected? What happens in Firefox on DPI change? Is this just the tab lagging behind?

Flags: needinfo?(mstange)

It happened again on Firefox Nightly while running in Safe Mode. It only happened on one of the windows though. The other window was appropriately sized.

Steps:

  1. Open Firefox Nightly while on an external display
  2. Disconnect from the external display for 2-5 minutes
  3. Open MacBook Pro and use native retina display without an external display connected. Don't foreground Firefox Nightly
  4. Close MacBook pro for 2-5 minutes.
  5. Connect MacBook Pro to an external display, and wait for it to show a login screen. Keep the MacBook pro itself closed so that the native retina display isn't active.

I was able to replicate it again with simpler steps.

  1. Foreground Firefox Nightly while on a native MacBook Retina display only
  2. Put other apps in the foreground so that Firefox nightly goes to the background, but is still visible.
  3. Close the MacBook, and while it is still closed, connect it to an external display.
  4. Firefox nightly will render huge contents while in the background.
Flags: needinfo?(jmuizelaar)
Priority: -- → P3

I'm moving this bug to Widget:Cocoa because that's where most of the other bugs of the type "Firefox is pretty bad at dealing with mixed HiDPI / non-HiDPI monitor scenarios" are.

Status: UNCONFIRMED → NEW
Component: Graphics → Widget: Cocoa
Ever confirmed: true
Flags: needinfo?(mstange)
OS: Unspecified → macOS
Priority: P3 → --
Hardware: Unspecified → All
Flags: needinfo?(jmuizelaar)

The priority flag is not set for this bug.
:spohl, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(spohl.mozilla.bugs)
Flags: needinfo?(spohl.mozilla.bugs)
Priority: -- → P2
Severity: normal → S3
Whiteboard: [mac:multimonitor]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: