lol, i recall few years ago when clueless kde zealots were crying and claiming everyone will have to reimplement decorations if they are not server side, i said that such problems are solved with a library. and now we have such a library. not surprisingly, written by gnome people
Announcement
Collapse
No announcement yet.
SDL2 Lands Support For Client-Side Decorations On Wayland
Collapse
X
-
Originally posted by krzyzowiec View Post
No it's just that SSDs go completely against the design of Wayland and that of Gnome applications. Under Wayland, clients are supposed to render themselves. In Gnome applications, the header bar is not just a title bar with close buttons. It can also contain widgets with application functionality. Do you see how it makes sense for the application to draw itself and the header bar at the same time? Only it will have knowledge of what the header bar is supposed to look like since it's no longer a generic bar thing that looks the same no matter what app you use. Conceptually, CSDs are simpler and fit better with what Gnome and Wayland are trying to do.
- Likes 6
Comment
-
-
Originally posted by ssokolow View PostHe's asking for reassurance that running an SDL application under KDE will still use the KWin-provided SSDs, rather than forcibly drawing its own CSD that make it look like someone screenshotted a GNOME app and then pasted it into a KDE screenshot.Last edited by pal666; 26 July 2021, 06:37 PM.
Comment
-
Originally posted by iskra32 View PostI fail to understand why the GNOME devs double down on not supporting server side decorations every time.
Originally posted by iskra32 View PostThe protocol everyone but GNOME uses allows for negotation between the client and compositor as to what kind of decorations to use. A GNOME app on KWin looks identical to on Mutter, because the protocol doesn't actually force you to use the compositor's SSDs, it just allows for negotation of those capabilities.
- Likes 1
Comment
-
Originally posted by iskra32 View PostI mean half the point of Wayland was that it is easily extensible compared to the mess of X extensions. And its not like the maintenance burden of SSDs is huge, they already implement them in some form for XWayland programs anyway.
Originally posted by iskra32 View PostI am trying to not just blindly hate them or jump on that bandwagon, but I just don't get what the technical issue here is.
Comment
-
Originally posted by iskra32 View PostI have also seen other scenarios where SSDs make the developer and user experience better
Originally posted by iskra32 View Posthaving the option for SSDs is good to have,
Originally posted by iskra32 View Postsuch as for games and simple video players like MPV. Its far easier for the developer to just render whatever they have to and tell the compositor to decorate the window itself if the application does not have a large amount of UI elements itself.
Originally posted by iskra32 View PostThis doesn't come at any cost to user experience either
Originally posted by iskra32 View PostSSDs are guaranteed 100% to look native and function well in the environment.Last edited by pal666; 26 July 2021, 07:57 PM.
Comment
-
Originally posted by King InuYasha View Post
Prior to this, it worked in everything but GNOME. Now it would work with GNOME too.
Comment
-
Originally posted by Sonadow View Post
No it didn't. I make weekly builds of ffmpeg and SDL2, and when I try to use ffplay to play a video, all I get is the content playing without any window border or decoration.
Comment
Comment