None of the windows have drop shadows
-
@edwardp You completelly misunderstood point here. We are talking about missing shadows on Vivaldi app, not on other KDE apps.
Of course all other KDE applications have visible shadows. Only Vivaldi doesn't have shadows, but only on KDE environemnt. Under GNOME they are visible.
Please make a screenshot of Vivaldi window, not Konsole, KDE Settings or any other application.
-
-
I have been frustrated by this for a while, but it's not just Vivaldi and I don't think there's much that Vivaldi could (or should) do. According to the discussion here, in KDE, you can't get shadows without bring along the whole title bar and all other decorations. That's why if you enable the native window style in Vivaldi, you get the drop shadow as well as the native titlebar and buttons.
There is a manual workaround you can set on an app-by-app basis (instructions for Plasma 6, for Plasma 5 it should be similar). It works for other programs that suffer from this too (VSCode and Obsidian in my case):
-
In KDE Settings, go to Appearance & Style → Colors & Themes → Window Decorations → Click the edit button (pencil) on in the corner of Breeze → Window-Specific Overrides tab → Add. Click "Detect Window Properties" and then the Vivaldi window. Check "Hide window title bar" and "Border Size" and select "No Border" and then OK. In Plasma 6, I also found it necessary to go to the "Shadows and Outlines" tab in the Breeze settings window and set "Outline intensity" to Off.
-
Back in the main KDE Settings menu, go to Apps & Windows → Window Management → Window Rules. Click "Add New", then "Detect Window Properties" and select the Vivaldi window. Choose "Window class (application)" as the window matching rule. Next, click "Add Property" at the bottom, select for "No titlebar and frame", then choose "Force" and "No" for that new entry. Apply and all should look well.
This problem is hard to search for online so I hope by writing it here it helps someone. I was hoping Plasma 6 would fix this but I guess not.
-
-
@andrejpetrovic said in None of the windows have drop shadows:
have been frustrated by this for a while, but it's not just Vivaldi and I don't think there's much that Vivaldi could (or should) do. According to the discussion here, in KDE, you can't get shadows without bring along the whole title bar and all other decorations. That's why if you enable the native window style in Vivaldi, you get the drop shadow as well as the native titlebar and buttons.
I was hoping Plasma 6 would fix this but I guess not.
That's not KDE's problem but stupid "Electron & Electron-like" programs', written with the damn "web-technologies" which require stupid CSD "hacks" to display fake buttons, fake title-bars, shadows, etc, see my first post for the story behind it.
In this case Vivaldi using an "electron-like" UI should provide those shadows itself if not run with the native window, it's simple as that.
-
@edwardp You are using "Native window". You could wrote that earlier. Issue is with missing shadows while not using "Native window".
-
This post is deleted! -
@npro For a browser and email programs Electron is less of an offense. Other electron apps load the engine just for the UI, in Vivaldi the engine is needed for webpage and mail rendering. We can’t know whether Vivaldi would have made it by writing native apps, the team was very small in the beginning. Maybe a Linux version would have taken years for a release. The web UI has its upsides too, for example the casual way in which we can mod the application.
-
@andrejpetrovic Unfortunately that works only on Plasma 6. At least on my Debian 12 Plasma 5, Window Decorations have no effect. Both rules have no effect.
-
@luetage said in None of the windows have drop shadows:
We can’t know whether Vivaldi would have made it by writing native apps
That's true.
-
Observation. Mentioned steps for enabling window shadows works only if Vivaldi flag "Preferred Ozone platform" is Default, which isX11. If it is set to Wayland, then this workaround is not working.
However if flag is Default, then typing text in Vivaldi randomly starts to be delayed.
Ridiculous.