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

2014-09-30 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-09-30 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-09-30 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-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 The Rasterman
On Mon, 11 Aug 2014 18:05:42 -0400 "Jasper St. Pierre" said: > Rotated windows are not the only reason, but they do contribute. The > ability to do an arbitrary transformation on the window is a very useful > feature, for e.g. HiDPI support, and we'd like to expose as little data to > the client

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

2014-08-11 Thread Jasper St. Pierre
Rotated windows are not the only reason, but they do contribute. The ability to do an arbitrary transformation on the window is a very useful feature, for e.g. HiDPI support, and we'd like to expose as little data to the client as possible so we can enable better use cases. The client cannot get o

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

2014-08-11 Thread Bill Spitzak
I don't think rotated windows are the reason they are not supporting window position. Also the corner of the bounding box is a really awful control. Best to just use on of the corners, or the center. Assume the client can either get or set the rotation so it knows the actual bounding box. On

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

2014-08-11 Thread Pekka Paalanen
On Mon, 11 Aug 2014 18:49:50 +0200 "Nils Chr. Brause" wrote: > On Mon, Aug 11, 2014 at 12:57 PM, Giulio Camuffo > wrote: > > > The problem is that windows don't always have a meaningful position. > > If a window is shown on two outputs at the same time, maybe one of > > which a remote one, what

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

2014-08-11 Thread Nils Chr. Brause
On Mon, Aug 11, 2014 at 12:57 PM, Giulio Camuffo wrote: > The problem is that windows don't always have a meaningful position. > If a window is shown on two outputs at the same time, maybe one of > which a remote one, what is the window position? And what is the > position of a window rotated 45

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 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-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 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