Window positions under wayland

samuel ammonius sfammonius at gmail.com
Thu Aug 4 17:37:03 UTC 2022


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.

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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20220804/e8959e1a/attachment.htm>


More information about the wayland-devel mailing list