Bug 455248 - Borders for default plasma theme and window decoration
Summary: Borders for default plasma theme and window decoration
Status: CLOSED FIXED
Alias: None
Product: Breeze
Classification: Plasma
Component: window decoration (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks: 465948
  Show dependency treegraph
 
Reported: 2022-06-14 12:54 UTC by Akseli Lahtinen
Modified: 2024-07-30 20:48 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.27
Sentry Crash Report:


Attachments
Comparison between breeze window decoration and bordered window decoration (310.47 KB, image/png)
2022-06-14 12:54 UTC, Akseli Lahtinen
Details
Border of an window spilling over into other screen when tilled to a side (20.44 KB, image/png)
2023-02-17 14:58 UTC, i3mm0c05fmpx57le98kpppvhkd88x605
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Akseli Lahtinen 2022-06-14 12:54:45 UTC
Created attachment 149679 [details]
Comparison between breeze window decoration and bordered window decoration

SUMMARY

I think Plasma/Breeze would benefit from having toggleable borders around windows, and the plasma theme itself could have one.

I use really dark themes so when I have windows on top of each other, it can be hard to distinct between them. 

I have made my own themes to solve this issue, but I'd like the default Breeze theme to have a toggle for them.

The breeze window decoration could have also have a selection that lets you pick the border color style:
- Take background color and flip the contrast, so it's basically inverted from background, but toned down
- Pick the color from accent color
- Black/White

I've added a window decoration comparison as an attachment between my own theme and default breeze.
The dark shadow helps a lot, but having the border adds some clarity in my opinion.

Of course this is very subjective thing but having the option there would be great.

And when it comes to plasma themes, it's not as necessary but it would be nice to be able to toggle borders on and off to them as well.
Comment 1 Akseli Lahtinen 2022-06-14 13:07:39 UTC
In case anyone wants to give my themes a try and tweak them:

Aurorae:

https://github.com/Akselmo/aks-plasma-themes/tree/main/aurorae/themes/aksBorder

Plasma: 

https://github.com/Akselmo/aks-plasma-themes/tree/main/plasma/desktoptheme/AksTheme_Rounded
Comment 2 Akseli Lahtinen 2022-06-14 13:49:57 UTC
I could give this a try to implement it myself, at least for the window decoration. 

For the plasma theme, I have no idea how to make it toggleable since it is just SVG files. 

I guess that would require adding a new color to colorscheme just for borders.
Then the SVG files would read from that color (it also has to have opacity for those who wish to disable borders, or alternatively, make it same color as the background in that case)
Comment 3 Nate Graham 2022-06-14 14:38:16 UTC
I think this is probably a good idea, especially for when using a dark color scheme, where the window shadow doesn't provide adequate contrast between windows because it's very close to the window background color.

I'd like to see a border that's a bit more subtle and less attention-getting that the one in that screenshot though. :) If you're up for that, please feel free to submit a merge request to add this to Breeze.

It couldn't be made toggleable in the Plasma theme, yeah. For that reason, maybe make it mandatory in the Breeze app style too. If it's sufficiently subtle, I very much doubt that anyone will complain.
Comment 4 Niels 2023-02-16 15:46:30 UTC
I'm seeing this in 5.27 Breeze and I'd very much like to disable it.
Comment 5 ricevacuum 2023-02-17 14:44:04 UTC
There needs to be an option for this. I absolutely hate how the borders look now. At very least an option to set custom border color. Toggle for old behaviour would be better though.
Comment 6 i3mm0c05fmpx57le98kpppvhkd88x605 2023-02-17 14:58:16 UTC
Created attachment 156374 [details]
Border of an window spilling over into other screen when tilled to a side

I would also like an option to disable this border change introduced in 5.27 as the borders now "spillover" by ~1px into other screens when window is tiled to side of a screen.

(using x11, NVIDIA proprietary driver, window border size under Window Decorations set to "No Borders")
Comment 7 Nate Graham 2023-02-17 16:16:05 UTC
This was done for Plasma 5.27, closing the bug report.