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

2014-08-28 Thread Jasper St. Pierre
To be more clear, "interactive moving" being a separate protocol is actually how it works under X11 too. To begin interactively moving the window, clients send a _NET_WM_MOVERESIZE ClientMessage [0] to the window manager which handles moving for it. We adapted the same protocol for xdg_surface in W

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

2014-08-13 Thread Thiago Macieira
On Wednesday 13 August 2014 18:51:35 Giulio Camuffo wrote: > 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. We shouldn't mention a custom protocol. That's something that only someone who's already writ

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

2014-08-13 Thread Giulio Camuffo
2014-08-13 18:07 GMT+03:00 Thiago Macieira : > On Wednesday 13 August 2014 10:15:28 Giulio Camuffo wrote: >> 2014-08-13 8:58 GMT+03:00 Rutledge Shawn : >> > 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 applicatio

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

2014-08-13 Thread Thiago Macieira
On Wednesday 13 August 2014 10:15:28 Giulio Camuffo wrote: > 2014-08-13 8:58 GMT+03:00 Rutledge Shawn : > > 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 composito

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

2014-08-13 Thread Giulio Camuffo
2014-08-13 8:58 GMT+03:00 Rutledge Shawn : > > 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 docu

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

2014-08-12 Thread Rutledge Shawn
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 th

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

2014-08-12 Thread Thiago Macieira
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. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center

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

2014-08-12 Thread Steve (YiLiang) Zhou
oject; wayland Subject: Re: [Interest] qt5 window setGeometry and move not work in wayland platform 2014-08-12 5:43 GMT+03:00 Steve (YiLiang) Zhou : > Thanks all you guys, > So when it come to my issue, there is no way to adjust the position of > my app which is developed with qt4 and u

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

2014-08-11 Thread Giulio Camuffo
Best Regards > Steve Zhou > > > -Original Message- > From: Pekka Paalanen [mailto:ppaala...@gmail.com] > Sent: Tuesday, August 12, 2014 1:33 AM > To: Nils Chr. Brause > Cc: Giulio Camuffo; Rutledge Shawn; Steve (YiLiang) Zhou; Pier Luigi; Qt > Project; wayland > Subject: Re

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

2014-08-11 Thread Steve (YiLiang) Zhou
: Pekka Paalanen [mailto:ppaala...@gmail.com] Sent: Tuesday, August 12, 2014 1:33 AM To: Nils Chr. Brause Cc: Giulio Camuffo; Rutledge Shawn; Steve (YiLiang) Zhou; Pier Luigi; Qt Project; wayland Subject: Re: [Interest] qt5 window setGeometry and move not work in wayland platform On Mon, 11 Aug

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

2014-08-11 Thread Thiago Macieira
On Monday 11 August 2014 16:34:48 Giulio Camuffo wrote: > > So interactive moving only, but nothing to ask programmatically for a > > window to be moved by some delta. > Actually, both. Clients can ask the compositor to move a surface by a > dx,dy when attaching a buffer. The compositor is free to

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

2014-08-11 Thread Giulio Camuffo
2014-08-11 16:12 GMT+03:00 Rutledge Shawn : > > On 11 Aug 2014, at 12:57 PM, Giulio Camuffo wrote: > >> 2014-08-11 13:29 GMT+03:00 Rutledge Shawn : >>> >>> On 11 Aug 2014, at 11:34 AM, Giulio Camuffo wrote: >>> 2014-08-11 12:20 GMT+03:00 Rutledge Shawn : > > On 11 Aug 2014, at 9:10 AM,

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

2014-08-11 Thread Rutledge Shawn
On 11 Aug 2014, at 12:57 PM, Giulio Camuffo wrote: > 2014-08-11 13:29 GMT+03:00 Rutledge Shawn : >> >> On 11 Aug 2014, at 11:34 AM, Giulio Camuffo wrote: >> >>> 2014-08-11 12:20 GMT+03:00 Rutledge Shawn : On 11 Aug 2014, at 9:10 AM, Pier Luigi wrote: (top-posting fixed) > 20

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

2014-08-11 Thread Giulio Camuffo
2014-08-11 13:29 GMT+03:00 Rutledge Shawn : > > On 11 Aug 2014, at 11:34 AM, Giulio Camuffo wrote: > >> 2014-08-11 12:20 GMT+03:00 Rutledge Shawn : >>> >>> On 11 Aug 2014, at 9:10 AM, Pier Luigi wrote: >>> (top-posting fixed) 2014-08-11 8:13 GMT+02:00 Steve (YiLiang) Zhou : > Dear all, >>>

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

2014-08-11 Thread Rutledge Shawn
On 11 Aug 2014, at 11:34 AM, Giulio Camuffo wrote: > 2014-08-11 12:20 GMT+03:00 Rutledge Shawn : >> >> On 11 Aug 2014, at 9:10 AM, Pier Luigi wrote: >> (top-posting fixed) >>> 2014-08-11 8:13 GMT+02:00 Steve (YiLiang) Zhou : Dear all, My app has a mainwindow and a QDialog which i

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

2014-08-11 Thread Giulio Camuffo
2014-08-11 12:20 GMT+03:00 Rutledge Shawn : > > On 11 Aug 2014, at 9:10 AM, Pier Luigi wrote: > (top-posting fixed) >> 2014-08-11 8:13 GMT+02:00 Steve (YiLiang) Zhou : >>> Dear all, >>> >>> My app has a mainwindow and a QDialog which is a child of mainwindow. And I >>> want to set the app to the po

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

2014-08-11 Thread Rutledge Shawn
On 11 Aug 2014, at 9:10 AM, Pier Luigi wrote: (top-posting fixed) > 2014-08-11 8:13 GMT+02:00 Steve (YiLiang) Zhou : >> Dear all, >> >> My app has a mainwindow and a QDialog which is a child of mainwindow. And I >> want to set the app to the position 0,0. >> >> I use both setGeometry and move to

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

2014-08-11 Thread Agocs Laszlo
yland Subject: Re: [Interest] qt5 window setGeometry and move not work in wayland platform Hi Pier, Thanks for your quick reply, your explain is very useful. But forgive me to bother you again, could you please give me an example or a link of how to achieve that? Thanks and Best Regards Steve

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

2014-08-11 Thread Steve (YiLiang) Zhou
Hi Pier, Thanks for your quick reply, your explain is very useful. But forgive me to bother you again, could you please give me an example or a link of how to achieve that? Thanks and Best Regards Steve Zhou -Original Message- From: Pier Luigi [mailto:pierluigi.fior...@gmail.com] Se

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

2014-08-11 Thread Pier Luigi
Clients don't get to set window position with Wayland. You should write a Wayland protocol for that but you need a compositor that speaks that protocol. 2014-08-11 8:13 GMT+02:00 Steve (YiLiang) Zhou : > Dear all, > > My app has a mainwindow and a QDialog which is a child of mainwindow. And I > wa

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

2014-08-10 Thread Steve (YiLiang) Zhou
Dear all, My app has a mainwindow and a QDialog which is a child of mainwindow. And I want to set the app to the position 0,0. I use both setGeometry and move to 0,0. No luck , both failed. The window's position is unfixed and may appear to anywhere on the screen. My Qt version :5.2.2 Some co