Issue with initial window position

PrasanthKumar P.A. PrasanthKumar.PA at nestgroup.net
Thu Jun 14 12:09:03 UTC 2018


Hi,
Thank you for your quick response.
These  are our concerns.
Our application is a HMI that is to be deployed on IMX8 board.
By design we need to place some  QT Qml windows on specified x y  coordinates on the screen  .How can we achieve this ?

Also I am interested on (If your target environment is not a desktop, then the design could be
different). Can you please comment on this.

Thanks,
Prasanth
________________________________________
From: Pekka Paalanen [ppaalanen at gmail.com]
Sent: 14 June 2018 16:45
To: PrasanthKumar P.A.
Cc: wayland-devel at lists.freedesktop.org
Subject: Re: Issue with initial window position

On Thu, 14 Jun 2018 10:39:57 +0000
PrasanthKumar P.A. <PrasanthKumar.PA at nestgroup.net> wrote:

> Dear All,
>
> I have a  Qt Qml application which contains several windows (Qml
> windows). I have set the initial positions x,y for these windows  but
> none of these windows are coming in the corresponding coordinates .

Hi,

this is expected. Wayland on desktops has no official way to position
windows from the client by global or per-output x,y coordinates. This
is by design for desktops. On the desktop, the window manager is the
only one that knows enough to be able to position windows correctly.

Weston decides the initial window position by random. Other compositors
use other algorithms.

If your target environment is not a desktop, then the design could be
different.

Why do you want your client to position the window specifically by
coordinates?

How is it possible that your client can even pick sensible coordinates?

Why do you want your app to pick the initial position instead of the
window manager?


Thanks,
pq
________________________________

Confidentiality Statement / Disclaimer : This message and any attachments is intended for the sole use of the intended recipient. It may contain confidential information. Any unauthorized use, dissemination or modification is strictly prohibited. If you are not the intended recipient, please notify the sender immediately then delete it from all your systems, and do not copy, use or print. Internet communications are not secure and it is the responsibility of the recipient to make sure that it is virus/malicious code exempt.

The company/sender cannot be responsible for any unauthorized alterations or modifications made to the contents. If you require any form of confirmation of the contents, please contact the company/sender. The company/sender is not liable for any errors or omissions in the content of this message.

________________________________


More information about the wayland-devel mailing list