Window positions under wayland
Igor Korot
ikorot01 at gmail.com
Thu Aug 4 18:32:36 UTC 2022
Hi,
On Thu, Aug 4, 2022 at 12:58 PM samuel ammonius <sfammonius at gmail.com> wrote:
>
> Dude, I'm trying to persuade the wayland devs to change this, not have an argument about how much wayland sucks. Thanks for explaining that this was supposed to be a feature though. I hadn't known that before.
You most welcome.
And like I said - you are not the only one. Others tried and failed.
They think its a feature and will tell you "Its by design".
Thank you.
>
> On Thu, Aug 4, 2022 at 3:14 PM Igor Korot <ikorot01 at gmail.com> wrote:
>>
>> Hi,
>>
>> On Thu, Aug 4, 2022 at 12:37 PM samuel ammonius <sfammonius at gmail.com> 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 gmail.com> wrote:
>> >>
>> >> On Thu, Aug 4, 2022 at 12:06 PM Simon Ser <contact at emersion.fr> wrote:
>> >> >
>> >> > On Thursday, August 4th, 2022 at 19:00, samuel ammonius <sfammonius at gmail.com> 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]: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/18
>> >>
>> >> 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