So I did notice something that I didn’t do that you were doing in your screenshots. I thought perhaps I tested this wrong, as I had Brave on top of a non-Brave window, but you have a Brave window on top of a Brave window. Thinking maybe this was the issue, I retested in a VM, but still could not reproduce.
Does anyone here have a laptop with a similar Intel CPU/iGPU also running Ubuntu and can test? I’m still not sure how or why it’s Brave version specific as this seems like a Wayland/driver compositor issue, but I’ve seen stranger stuff on Linux before.
I think we need to test this exact environment. I have one ThinkPad W541 here with an Intel Haswell CPU and iGPU, but I doubt it’ll be the same pipeline as yours and wouldn’t be a fair Apple’s to Apple’s test (and I think we need a true Apple’s to Apple’s test).
For now, since Brave on *nix has two different ends it can use, GTK or QT, let’s play with this toggle and see if the behavior changes at all. It’s not intended to be a fix or workaround, but more of a “where might the root cause lie”.
I see from your screenshots, your browser corners are not very rounded. That means you aren’t using GTK, you are using the “Classic” theme. Go here:
brave://settings/appearance
If you see “Use GTK”, click that (Use QT will be mostly useless under Ubuntu which is Gnome, GTK based, unless you have KDE also installed with Qt components, but GTK is native to Ubuntu/Gnome).
If successful, theme should change from “Classic” to “GTK”, and the window corners become far more rounded like other apps:
Does the shadow behavior change for you? On my VM (which sadly is software composited, which I think is why we cannot reproduce it on VM’s), I noticed the shadow drawing routine appears to change as the shadow itself does change shape and depth.
(If this does fix it, then something changed in the “Classic” theme I guess, because I do see you were using Classic the whole time even when it did work. So it’s theme specific, but only if it fixes it.)