Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Window decorations key on Settings portal #87

Open
orowith2os opened this issue Jun 25, 2023 · 0 comments
Open

Window decorations key on Settings portal #87

orowith2os opened this issue Jun 25, 2023 · 0 comments
Labels

Comments

@orowith2os
Copy link

Problem

On Linux, window decorations are a mess, especially when it comes to CSDs. Pantheon using Mutter means it is in the same boat as GNOME, where the window decorations are app-drawn and aren't "consistent".

Some apps will follow the GTK button-layout preference to a T (even duplicating buttons if desired), some will manipulate it how they like and only partially follow it, and others won't follow it all.

I'd like to address this by "upstreaming" the button-layout preference, and I imagine Elementary would benefit from this, as they did with the color-scheme preference.

Proposal

Pantheon adds a Window decorations key to the Settings portal, in favor or toolkit-specific implementations (such as GTK).

The art of drawing the decorations, aka the SSD vs CSD argument, is out of scope here. This is just general preferences around how to draw them. With the xdg-decoration Wayland protocol and this portal preference, the UX is more consistent, and more desktop-agnostic.

Prior Art (Optional)

See flatpak/xdg-desktop-portal#996, heavily based off of how GTK handles it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants