Window actions? #504
Replies: 2 comments 1 reply
-
Window manipulation with AT-SPI occurs through a dedicated interface. We don't implement the methods to minimize, maximize, resize or move the window, and I don't know if we'll ever do. These actions on windows are, to the best of my knowledge, not used by any assistive technology. Also keep in mind that some (if not most) of them would only make sense on X11. Depending on how you manage your windows, you could use AccessKit to describe the window decorations, but this would be GNOME specific. I'm sorry if most of my answers aren't useful to you. I'm still figuring out some of this myself and we often need to ask for clarifications or changes in the AT-SPI protocol to make progress. |
Beta Was this translation helpful? Give feedback.
-
AccessKit does implement the I haven't yet tried making window decorations accessible like this myself. To make this work in winit would require a deeper integration with winit than what we currently have, and I think it would also require a way of embedding a subtree (the application-provided tree) inside an outer tree (the one with the window decorations). This is something I've known for a while that we'll need sooner or later, but haven't yet designed. I hope this helps. I think AccessKit can still do what you need. Thanks for your questions and feedback. |
Beta Was this translation helpful? Give feedback.
-
(apologies for the flood of discussions)
My first non-toy project is to make some window decorations accessible (e.g. minimize, maximize, close, etc.) After looking at how some GNOME apps do this, maybe the idiomatic way is to attach actions to the window. Here was my very first guess:
...and it turns out this has no effect. However I can debug the noops a lot better now:
So I guess it has no effect because click is the only supported action. Some questions are:
Beta Was this translation helpful? Give feedback.
All reactions