Issue with initial window position

Pekka Paalanen ppaalanen at gmail.com
Thu Jun 14 11:15:31 UTC 2018


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20180614/b0788982/attachment.sig>


More information about the wayland-devel mailing list