Open Bug 1852198 Opened 2 years ago Updated 13 days ago

backdrop-filter breaks bottom rounded corners on Linux

Categories

(Core :: Graphics: WebRender, defect)

Firefox 119
Unspecified
Linux
defect

Tracking

()

People

(Reporter: abrarsl2002, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/119.0

Steps to reproduce:

Installed Firefox Nightly (119.0a1 (2023-09-06) (64-bit)) from a flatpak repo (https://gitlab.com/projects261/firefox-nightly-flatpak). I'm also using wayland.

Go to either twitter.com or mastodon.social

Actual results:

The body of the website overlaps the rounded corner at the bottom of the window.

Expected results:

The content should not have overlapped the window corner.

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

The bug can also be reproduced at https://vanillaos.org/ and https://usebottles.com/

Emilio, any idea here?
Thanks.

Flags: needinfo?(emilio)

It works if I remove backdrop-filter from the site's CSS.

Glenn, does backdrop-filter assume web content is unclipped somehow? Is there a better way to implement the bottom rounded corners that doesn't suffer from this?

Status: UNCONFIRMED → NEW
Component: Widget: Gtk → Graphics: WebRender
Ever confirmed: true
Flags: needinfo?(emilio) → needinfo?(gwatson)
Summary: Certain websites' content breaks bottom rounded corners on Linux → backdrop-filter breaks bottom rounded corners on Linux

It should work fine with clipped web content, sounds like just a bug that will need investigation I think.

Leaving a breadcrumb for when I or someone else looks at it in more detail - perhaps when we promote a backdrop filter container to be a picture cache slice, we don't check if there is a rounded rect corner on the picture cache root or something like that?

Flags: needinfo?(gwatson)
Blocks: wr-linux
Severity: -- → S3
OS: Unspecified → Linux
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: