this post was submitted on 15 Aug 2024
55 points (100.0% liked)

Free and Open Source Software

18019 readers
10 users here now

If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] EveryMuffinIsNowEncrypted@lemmy.blahaj.zone 25 points 4 months ago (3 children)

I have a love-hate relationship with GTK: on one hand, it's aesthetically pleasing to me; on the other hand, CLIENT-SIDE DECORATIONS CAN KISS MY ASS.

[–] Lionir@beehaw.org 11 points 4 months ago (2 children)

Honestly, I don't really understand the hate that client-side decorations get. I find that they're generally pretty useful and good.

I think a lot of it comes from people who want to 'rice' and theme their desktops but I personally think that dream has sailed. The kind of theming people want on Linux systems is simply not possible without massive amounts of work and downgrades to accessibility, security and usability.

[–] communist@lemmy.frozeninferno.xyz 8 points 4 months ago (1 children)

I'm very happy with my rice and the dream has not sailed at all, I have had no downgrades, to accessibility, or usability with a custom theme, in fact, I'd go so far as to say custom themes enable better accessibility and usability for me

security? It's just a css file?

[–] Cube6392@beehaw.org 6 points 4 months ago (1 children)

Lionir is talking about API implementations for everything to go off a single CSS file or a single icon pack. Not about the implementation of your personal desired aesthetic (I refuse to use the term rice, it has origins in racist car and motorcycle culture)

[–] jarfil@beehaw.org 4 points 4 months ago (1 children)

(TIL about "rice"... is anything in the US not racist? 🤦)

[–] Cube6392@beehaw.org 3 points 4 months ago

...

.

.

.

.

.

.

.

.

.

.

.

No.

A lot of it comes down to the fact that many CSD apps, due to how CSD itself works, don't respect desktop themes such as that which GNOME has, and due to using popover menus as opposed to traditional menus also don't provide proper context menus.

[–] addison@programming.dev 10 points 4 months ago (1 children)

I'm a baby dev trying to collect some brain wrinkles. Can you expand that last point? What's the downside of client side decorations? What's a better alternative?

[–] Midnitte@beehaw.org 7 points 4 months ago (1 children)

I imagine it's hard to debug and hard to ensure it's consistent across machines due to different environments?

[–] Lionir@beehaw.org 8 points 4 months ago (2 children)

Maybe I'm misunderstanding but for clarification, the fact they're drawn by the client actually means they can always be the same across different environments. This is in opposition to server-side decorations which are drawn by the desktop environment and should match the environment as a result. That said, server-side decorations are largely much less extensible than client side ones.

[–] Midnitte@beehaw.org 2 points 4 months ago

Ah that makes more sense!

[–] communist@lemmy.frozeninferno.xyz 1 points 4 months ago (1 children)

It's a bad thing that they're always the same, I don't like having window borders or buttons and use a keyboard based hyprland setup, this is just a bunch of wasted space for me

[–] Lionir@beehaw.org 1 points 4 months ago

Well, you can disable window controls in gnome and KDE afaik if you want. Then you'll only have the various app-specific buttons that are necessary for functionality.

If you're looking for every app to have a vim-like interface or something, well, that seems a bit unrelated to CSDs.

[–] petrescatraian@libranet.de 3 points 4 months ago (1 children)

@EveryMuffinIsNowEncrypted I don't think CSD would be a big nuisance on a mobile phone or tablet, pretty much all apps nowadays have it.

@imblue

Due to the very nature of CSD itself, CSD apps often don't respect desktop themes. It also, unless designed to compensate, oftentimes does not provide proper context menus due to its use of popover menus.

Not as much of a problem on phones or tablets as unified themes across apps aren't really used as often on those platforms, but it's a problem that happens a lot on desktop, for example on GNOME.