[Interest] qt5 window setGeometry and move not work in wayland platform

Giulio Camuffo giuliocamuffo at gmail.com
Wed Aug 13 17:51:35 CEST 2014


2014-08-13 18:07 GMT+03:00 Thiago Macieira <thiago.macieira at intel.com>:
> On Wednesday 13 August 2014 10:15:28 Giulio Camuffo wrote:
>> 2014-08-13 8:58 GMT+03:00 Rutledge Shawn <Shawn.Rutledge at digia.com>:
>> > On 12 Aug 2014, at 6:29 PM, Thiago Macieira wrote:
>> >> On Tuesday 12 August 2014 17:40:11 Steve  Zhou wrote:
>> >>> It's a normal application window ,:(
>> >>
>> >> Then just let the compositor position it. It should be good enough.
>> >
>> > I guess we have to document which Qt APIs don't and can't work on Wayland
>> > then, with the exception that we could add a protocol for the Qt
>> > compositor only.
>> Technically we could, but we shouldn't, so I wouldn't mention it in the
>> docs.
>
> setGeometry and move, x, y, position, etc. should be documented that they may
> not work on some platforms and people should not assume anything about
> anything outside of the window. People have to write applications assuming
> that the window is already positioned correctly.

Sorry, i wasn't clear. I meant we shouldn't mention the possibility of
a custom protocol, not that setting the window position may not work.

>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest



More information about the Interest mailing list