Re: [Development] QWindow::setScreen() and QQuickWindow

2014-04-16 Thread Alan Alpert
On Wed, Apr 16, 2014 at 6:18 AM, Rafael Roquetto wrote: > On Wed, Apr 16, 2014 at 02:47:03PM +0200, Friedemann Kleint wrote: >> Hi, >> >> actually re-creating the window is a bit wasteful given that the screens >> are part of a larger virtual desktop in most cases. A move() would be >> sufficient.

Re: [Development] QWindow::setScreen() and QQuickWindow

2014-04-16 Thread Rafael Roquetto
On Wed, Apr 16, 2014 at 02:47:03PM +0200, Friedemann Kleint wrote: > Hi, > > actually re-creating the window is a bit wasteful given that the screens > are part of a larger virtual desktop in most cases. A move() would be > sufficient. The QWindow/QScreen logic as it is is somehow not well > su

Re: [Development] QWindow::setScreen() and QQuickWindow

2014-04-16 Thread Friedemann Kleint
Hi, actually re-creating the window is a bit wasteful given that the screens are part of a larger virtual desktop in most cases. A move() would be sufficient. The QWindow/QScreen logic as it is is somehow not well suited for virtual desktops in which the screen is determined by the geometry.

Re: [Development] QWindow::setScreen() and QQuickWindow

2014-04-16 Thread Agocs Laszlo
Roquetto [rafael.roque...@kdab.com] Sent: Wednesday, April 16, 2014 1:20 PM To: Fabian Bumberger Cc: Qt Project Development Mailing-List Subject: Re: [Development] QWindow::setScreen() and QQuickWindow Hello Fabian, all. Like you, I also suspect that the fact that QWidget stays on the screen

Re: [Development] QWindow::setScreen() and QQuickWindow

2014-04-16 Thread Rafael Roquetto
ct.org] on behalf of > Alan Alpert [4163654...@gmail.com] > Sent: Saturday, April 12, 2014 2:16 AM > To: Rafael Roquetto > Cc: Qt Project Development Mailing-List > Subject: Re: [Development] QWindow::setScreen() and QQuickWindow > > On Fri, Apr 11, 2014 at 12:56 PM, Rafael R

Re: [Development] QWindow::setScreen() and QQuickWindow

2014-04-14 Thread Fabian Bumberger
nces+fbumberger=blackberry@qt-project.org] on behalf of Alan Alpert [4163654...@gmail.com] Sent: Saturday, April 12, 2014 2:16 AM To: Rafael Roquetto Cc: Qt Project Development Mailing-List Subject: Re: [Development] QWindow::setScreen() and QQuickWindow On Fri, Apr 11, 2014 at 12:56 PM, Rafael

Re: [Development] QWindow::setScreen() and QQuickWindow

2014-04-11 Thread Alan Alpert
On Fri, Apr 11, 2014 at 12:56 PM, Rafael Roquetto wrote: > Hello, > > I have been investigating an interesting bug (using QNX as the platform for > Qt). Here is a brief summary: > > (all code inside main() and before app.exec()) > > QQuickView v; > v.setScreen(someSecondScreen); > v.sh

[Development] QWindow::setScreen() and QQuickWindow

2014-04-11 Thread Rafael Roquetto
Hello, I have been investigating an interesting bug (using QNX as the platform for Qt). Here is a brief summary: (all code inside main() and before app.exec()) QQuickView v; v.setScreen(someSecondScreen); v.show(); // works as expected but QQuickView v; v.show(); v.setS