Window positions under wayland

Igor Korot ikorot01 at
Thu Aug 4 17:44:25 UTC 2022


On Thu, Aug 4, 2022 at 12:37 PM samuel ammonius <sfammonius at> wrote:
> Compositors can prevent apps from doing this if they want to, but there needs to be some built-in way for windows to set their positions. Not having this isn't a feature.

I am not a Wayland developer.

But based on the multiple replies here and there - it is the main
feature of the Wayland.
It will never allow the application to set its position/size.
It will however allow the end-user (a human) to configure Wayland
(compositor) in any waythey want
and however stupid they want.

And Wayland developers consider it to be "BIG WAYLAND FEATURE".

So forget about cross-platform applications behaving the same, forget
about even writing sane application on Linux.
Wayland (compositor) will be set up by the user (a human) in such a
way so that the application could become
completely unusable.

Thank you.

> On Thu, Aug 4, 2022 at 2:57 PM Igor Korot <ikorot01 at> wrote:
>> On Thu, Aug 4, 2022 at 12:06 PM Simon Ser <contact at> wrote:
>> >
>> > On Thursday, August 4th, 2022 at 19:00, samuel ammonius <sfammonius at> wrote:
>> >
>> > > apps such as popups and dialogs are usually supposed to start either
>> > > at the center of the screen or the center of their parent app
>> You are barking at the wrong tree.
>> Apparently this is the main feature of the Wayland - do not let the developers
>> set up the position of the TLW.
>> >
>> > That's usually what compositors do: center apps by default. But it's to
>> > the compositor and user preference.
>> >
>> > > apps often want to remember where they were when they closed so they
>> > > can open there again
>> >
>> > This is what [1] addresses.
>> >
>> > [1]:
>> Finally!! ;-)
>> Now if only Wayland can respect the calls such as
>> CenterOnScreen()/CenterOnParent()
>> for the dialog-like windows it would be great.
>> Unfortunately it looks like this will never happen and the application
>> developers will
>> have to throw away their software, because apparently dialogs can be
>> put anywhere
>> on the screen.
>> Something like a dialog asking for credentials to login to the DB that
>> shows up in the
>> top left corner, because some idiot user set it this way.
>> Thank you.

More information about the wayland-devel mailing list