Closed Bug 1954416 Opened 5 months ago Closed 4 months ago

Glitches when resizing browser window with layer compositor enabled

Categories

(Core :: Graphics: WebRender, defect)

Unspecified
Windows
defect

Tracking

()

RESOLVED FIXED
140 Branch
Tracking Status
firefox140 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

References

(Blocks 2 open bugs)

Details

Attachments

(2 files)

With layer compositor enabled, glitches are presented during resizing window like Bug 1578330.

Blocks: 1945683
See Also: → 1578330

The severity field is not set for this bug.
:gw, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(gwatson)
Severity: -- → S3
Flags: needinfo?(gwatson)
Blocks: 1959009

With the patch, during resizing, scaling of rendering seemed not correct.

Attachment #9481437 - Attachment description: WIP: Bug 1954416 - Change NativeSurface::dimensions in Renderer::composite_simple() as to use frame.device_rect.size() → Bug 1954416 - Change NativeSurface::dimensions in Renderer::composite_simple() as to use frame.device_rect.size()
Pushed by sikeda.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2fb5b781fa94 Change NativeSurface::dimensions in Renderer::composite_simple() as to use frame.device_rect.size() r=gfx-reviewers,lsalzman
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch
QA Whiteboard: [qa-triage-done-c141/b140] [qa-verif-needed-c141/b140]
Flags: qe-verify+
QA Whiteboard: [qa-triage-done-c141/b140] [qa-verif-needed-c141/b140] → [qa-triage-done-c141/b140] [qa-ver-needed-c141/b140]

Hello! Unfortunately, I cannot reproduce this on Windows 10x64 using Firefox 138.0a1 (20250316213034) with gfx.webrender.layer-compositor:true. The only glitches I see when resizing the browser are on the right/bottom side when I grab the window to resize it from the left or top side, but these issues can also be seen with gfx.webrender.layer-compositor:false.. Does anyone know if I'm missing something here? Thank you!

Flags: needinfo?(sotaro.ikeda.g)
QA Contact: atrif

I checked with the following. And I confirmed the glitch in task bar with pref gfx.webrender.layer-compositor:true during resizing right side of window.
https://ftp.mozilla.org/pub/firefox/nightly/2025/03/2025-03-16-04-06-36-mozilla-central/firefox-138.0a1.en-US.win64.zip

WebRender layer compositor is not used even with the pref if WebRender compositor is blocked. Comment 6 could happen.

Flags: needinfo?(sotaro.ikeda.g)

(In reply to Sotaro Ikeda [:sotaro] from comment #7)

I checked with the following. And I confirmed the glitch in task bar with pref gfx.webrender.layer-compositor:true during resizing right side of window.
https://ftp.mozilla.org/pub/firefox/nightly/2025/03/2025-03-16-04-06-36-mozilla-central/firefox-138.0a1.en-US.win64.zip

WebRender layer compositor is not used even with the pref if WebRender compositor is blocked. Comment 6 could happen.

Thank you for the response. I have tried multiple times with the provided build from above, and unfortunately, I cannot reproduce the issue. I have enabled gfx.webrender.layer-compositor:true/ gfx.webrender.compositor.force-enabled:true, and eventually gfx.webrender.all:true, and still cannot reproduce during resizing the right side of the window.

QA Whiteboard: [qa-triage-done-c141/b140] [qa-ver-needed-c141/b140] → [qa-triage-done-c141/b140] [qa-ver-blocked-c141/b140]
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: