mutter-rounded icon indicating copy to clipboard operation
mutter-rounded copied to clipboard

No rounded corners for Firefox under Wayland

Open Microwave-WYB opened this issue 3 years ago • 10 comments

image

Any idea why?

Microwave-WYB avatar Mar 13 '22 05:03 Microwave-WYB

Update: Chromium 99 behaves the same as Firefox under Wayland

Microwave-WYB avatar Mar 13 '22 22:03 Microwave-WYB

This is likely the use of Wayland subsurfaces I would guess?

p1u3o avatar Mar 16 '22 08:03 p1u3o

Arch Linux everything latest. Both Chromium native and Chromium flatpak have rounded corners. I have the ozone stuff in both chromium-flags set and also tried removing them. In both cases both Chromium instances still had rounded corners. Electron apps (running native Wayland) also have rounded corners. Keep in mind I have Nvidia so Chromium being rounded could actually be caused by the incompatabilities.

Regardless of disabling hardware acceleration inside Firefox or not, Firefox does not get rounded corners if run natively as Wayland (though it works under XWayland). When resizing the window it seems like Firefox is rendering opaque space over where the corners are supposed to be.

I haven't seen any single application that has this issue except Firefox.

babafc avatar Apr 24 '22 01:04 babafc

Same.Firefox with MOZ_ENABLE_WAYLAND=1,no other settings.

Aleksanaa avatar May 07 '22 11:05 Aleksanaa

Just noticed this too for Firefox, Chrome and certain electron apps when using the following flags on them (e.g. Signal Desktop): --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-features=WaylandWindowDecorations

ceiphr avatar May 14 '22 18:05 ceiphr

no solution yet ?

fouadzouraibi247 avatar Jun 10 '22 13:06 fouadzouraibi247

There is still no solution. Sorry about that.

yilozt avatar Jun 10 '22 13:06 yilozt

Still experiencing this under F36 (Wayland + AMD Graphics). Nothing seems off when resizing, Firefox just ignores the mutter setting.

lutzseverino avatar Jul 13 '22 16:07 lutzseverino

I so far see this issue on web browsers like Firefox, Chrome and Chromium. Not sure about Electron based apps. Other than that, it works as intended.

joshcangit avatar Jul 14 '22 14:07 joshcangit

I'm only experiencing this on Firefox, Chromium looks fine to me.

lutzseverino avatar Jul 15 '22 21:07 lutzseverino