|
|
|
|
|
by roenxi
369 days ago
|
|
> A lot of the Linux accessibility support depended on X11 behaviour that is now widely regarded as a set of misfeatures. It's not actually good to be able to inject arbitrary input into an arbitrary window, and it's not good to be able to arbitrarily scrape out its contents. While that may be true, I'd suggest that it is not a consensus view and, more specifically, there is probably a consensus that the capability to do arbitrary scrapes and inputs needs to exist in a controlled fashion. Wayland had a bizarre stillbirth where the core team resisted screenshots, I can't remember when the Wayland ecosystem started getting serious about enabling screen sharing but I've got a memory that it was post-COVID. It goes to show how challenging the space is that Wayland managed to keep trudging on, but it was nothing to do with "woke" and a lot to do with "I don't accept that screenshots are a significant development hurdle". I still flat out don't trust them to have resolved all the issues crippling things like autoclickers but I'm hopeful I'm just very out of date. The initial take was poorly designed and that bit Wayland's adoption hard. The ecosystem may eventually reach the level of capability that X had in a standardised and secure way. Maybe it even has (I doubt it). But there is no consensus that security trumps having a usable desktop. I'm happy with an insecure desktop, anyone serious who wants to spy on me can use my phone. It is wildly insecure as far as I care and I carry it with me most hours. People trade this stuff off for convenience. Every time I've tried Wayland I discovered it had been secured against me using my system to get things done. |
|
The security model changed drastically, and with them how those features are presented. For example Windows, being developed to the threat model of the early 90s with some stuff tacked on in the aughts, has powerful APIs for reading window content in a structured way, for getting screenshots and for injecting arbitrary inputs, and only has some tacked-on protections that protect higher-privileged processes from lower-privileged ones (e.g. task manager runs with admin privileges, and you can't inject inputs into it or read mouse events of a cursor over it unless you run with the same or higher privileges). Android was built to the threat model of the aughts with additions in the 2010s and 2020s and has great APIs for reading window contents in a structured way, getting screen content, adding overlays and injecting inputs, but they are gated behind strong capability-based permission systems, review in the most common app distribution system (play store) and require the human to jump through various hoops to confirm this is really their intent. iOS ... restricts a lot of that to Apple, because they don't trust app developers.
X.Org does all of that with a permission model similar to that of Windows NT4, without the added restrictions Microsoft added later. That is the misfeature. Wayland looked at that, looked at the ability to make something better in the somewhat disjointed linux/*nix ecosystem and decided to just not have those features rather than have a good security/permission model