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

Request: Add Support for Client-Side Decorations (CSD) / Titlebar-Less Windows #424

Open
genefyx opened this issue Nov 30, 2024 · 0 comments

Comments

@genefyx
Copy link

genefyx commented Nov 30, 2024

It would be great if Stremio supported Client-Side Decorations (CSD) or an option to run without a titlebar. This feature is particularly useful for Wayland users, as it allows for better integration with modern desktop environments like GNOME, KDE, and others.

Reason:

Many Wayland users prefer a titlebar-less experience for non-maximized windows.
Qt provides APIs (e.g., Qt::FramelessWindowHint) for developers to implement custom decorations or remove titlebars entirely.
CSD aligns well with the modern design language of GNOME and other compositors.

Suggested Implementation:

Use Qt::FramelessWindowHint to allow users to toggle titlebars.
Alternatively, provide an environment variable (e.g., STREMIO_DISABLE_TITLEBAR) or a UI setting to enable/disable decorations.

Benefits:

Improved appearance and integration with GNOME/Wayland setups.
Greater flexibility for users who prefer a clean, frameless look.

References:

Qt Documentation on Custom Window Decorations: https://doc.qt.io/qt-5/qt.html#WindowType-enum
Wayland's xdg-decoration protocol for compositor negotiation: https://wayland-book.com/xdg-shell-basics/xdg-decoration.html

Thank you for considering this feature request!

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

No branches or pull requests

1 participant