As long as I'm asking Linux questions, here's one beyond all human comprehension.

Since installing Ubuntu 23.10, I notice that ALL operations in which I would expect a window to be brought to the front— for example, selecting a notification— do not result in the window being brought to the front.

Running OBS, I find an interesting error message: ""Wayland does not support QWindow::requestActivate()".

Is Wayland, in fact, the source of my "can't bring window to front" woes?

Is there a fix?

Thinking about how the original X11 was implemented as a basic minimal protocol expecting advanced features would be added via the plugin/extension mechanism, but they didn't put any thought into the extensions from the start, so when the extensions started getting written they were a tangle of ad-hoc, poorly compatible messes that didn't do *quite* what you want.

And then Wayland seems to have decided not only to follow the same architecture, but make the *same mistakes*.

Show thread
Follow

@mcc Not only Wayland follows a completely different architecture than X; what you describe is a direct result of assuming the opposite philosophy to the one used to design X11 😜

A surface can't just say "hey, bring me on top", it needs to have some kind of permission to do so. It may come from the user via input event or from an external launcher in form of xdg-activate token. Some APIs (like Qt's requestActivate) didn't anticipate that though, as under X11 clients can do whatever they want.

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml