yilozt / mutter-rounded

A window manager for GNOME, with rounded corners patch
https://aur.archlinux.org/packages/mutter-rounded/
GNU General Public License v2.0
556 stars 26 forks source link

No rounded corners for Firefox under Wayland #52

Open Microwave-WYB opened 2 years ago

Microwave-WYB commented 2 years ago

image

Any idea why?

Microwave-WYB commented 2 years ago

Update: Chromium 99 behaves the same as Firefox under Wayland

p1u3o commented 2 years ago

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

babafc commented 2 years ago

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.

Aleksanaa commented 2 years ago

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

ceiphr commented 2 years ago

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

fouadzouraibi247 commented 2 years ago

no solution yet ?

yilozt commented 2 years ago

There is still no solution. Sorry about that.

lutzseverino commented 2 years ago

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

joshcangit commented 2 years ago

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.

lutzseverino commented 2 years ago

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