• 254 Posts
  • 300 Comments
Joined 2年前
cake
Cake day: 2023年6月14日

help-circle



  • Probably the biggest one is the next piece of the Wayland session restore puzzle clicking into place: David Edmundson has implemented support for the xx-session-management-v1 Wayland session restore protocol in Qt 6.10! This means that software built on top of Qt 6.10 (for example, Plasma and KDE apps) will be able to start implementing the protocol themselves. Once they do, then finally real session restore will work on Wayland

    I hope we’re able to opt out of apps positioning their own Windows. My favorite thing about Wayland is that apps can’t control where their windows open, so they always open in a consistent location chosen by the compositor.

    Annoys me whenever I use Windows, MacOS, or Xwayland apps that open up in seemingly random locations.















  • You can check if you are using Xorg or Wayland in the Settings -> System -> About -> System Details page. If you’re using Wayland, you’re all good, nothing changes. If you’re using Xorg, you may notice some changes. If you’re using NVIDIA on Ubuntu 24.04, you’ll be on Xorg by default. If you’re using a later version or AMD/Intel, you’ll be on Wayland be default.

    To keep it short, X11 was the old protocol for creating and managing windows. Xorg implemented this protocol. But both the protocol and implementation have many shortcomings that are difficult to address for a multitude of reasons (breaking compatibility, poor code base, a ton of work, etc).

    Rather than putting lipstick on a pig, a new protocol, called Wayland, was created. It was designed for modern needs and tries to avoid the pitfalls that X11, Windows, and MacOS have. It doesn’t just copy what those three did, it’s more opinionated, so some people love it a lot (like me) or hate it a lot because it changes the way things have to be done and simply does not implement some functionality, either purposefully or because the work hasn’t been done yet.







  • On MacOS and some desktop environments like Unity and optionally in Plasma, there’s a UX design pattern called the “Global Menu”. At the top of the screen, as part of the desktop’s shell, there’s buttons labelled File, Edit, View, etc for you to interact with.

    Firefox is seemingly (I haven’t tested it myself, not using Plasma) enabled this functionality under Linux. Previously it required a patch to work. But this functionality has always existed on the MacOS version.