Alls,
playing with Vivaldi Browser on Fedora 42 / GNOME, I noticed the window is missing both a visible border and/or a drop-shadow as used by other applications:
This isn’t a big issue but it looks and feels somewhat unpleasant when not used in full screen mode. Too, with Wayland enabled, using native window borders in GNOME is even worse. So, wondering who’s in charge of fixing that - and how? I haven’t seen applications without a window shadow in ages, most of the other tools I use (including other pseudo-webapp/Electron based applications like Visual Studio Code) do so. Is this a thing to set on GNOME end? Or does the app (in this case Vivaldi) explicitely have to support that?
Thanks very much,
Kristian
Can you confirm that this behavior is with flatpak apps?
First thing I would test is with gnome-tweaks, to set the “Appearance” > “Styles” >> “Legacy Application” to correct if there is an other than the above (cursor/icons).
Nope it’s not a flatpak app in this case, it’s (for Vivaldi Browser) installed from an rpm they provide. And yes, already checked the Legacy application setting which is set to Adwaita (Default) just like everything else in there.
I’ve run into that with Chromium-based apps under Wayland too — looks like Vivaldi doesn’t support client-side decorations (CSD) properly in Wayland. GNOME expects apps to draw their own borders and shadows now, especially in Wayland sessions.
It’s not something GNOME can “force” on the app. The app has to explicitly support it. VS Code and others fixed it on their end by enabling CSD or using the xdg-decoration protocol.
You can try launching Vivaldi with the --ozone-platform-hint=auto or --enable-features=UseOzonePlatform flags to see if that helps. If not, it’s likely something the Vivaldi devs need to patch upstream. Ask them to.
Also worth checking if you’re running the Flatpak version or the RPM because behavior might differ between the two.
Ah I see. I’ve been in there over on the Vivaldi forum too but wondered whether (given Fedora 42 is newer) this is something that could be done on the side of the DE or windowmanager. Also, I already am playing with the OzonePlatform settings to have even remotely usable fonts on my system. A mess.
Anyway, thanks very much for your hint, so essentially I know I can ignore GNOME here and focus on Vivaldi to somehow handle that… .