Re: [Development] QWidget::setWindowState(Qt::WindowStates) vs QWindow::setWindowState(Qt::WindowState)

2017-01-19 Thread Thomas Søndergaard
Hi Bo On Thu, 19 Jan 2017 at 09.25, Bo Thorsen wrote: > Hej Thomas > > [...] > You ask for the best way to proceed: As usual with issues like this, you > > should enter a bug in the bug tracker. > I did, QTBUG-57882. See original post. Thomas ___ D

Re: [Development] QWidget::setWindowState(Qt::WindowStates) vs QWindow::setWindowState(Qt::WindowState)

2017-01-19 Thread Bo Thorsen
Hej Thomas, Please don't take silence as some indication that people are offended. I just think you found a corner case that no one has considered and do not consider one way or the other. You ask for the best way to proceed: As usual with issues like this, you should enter a bug in the bug

Re: [Development] QWidget::setWindowState(Qt::WindowStates) vs QWindow::setWindowState(Qt::WindowState)

2017-01-18 Thread Giuseppe D'Angelo
On Wed, Jan 18, 2017 at 4:21 PM, Thomas Søndergaard wrote: > I hope my previous email wasn't offensive or downright stupid; no one has > replied. I certainly meant no disrespect. While I'm waiting for a response, > let me throw a specific proposal out there. FWIW I've received *both* emails righ

Re: [Development] QWidget::setWindowState(Qt::WindowStates) vs QWindow::setWindowState(Qt::WindowState)

2017-01-18 Thread Thomas Søndergaard
I hope my previous email wasn't offensive or downright stupid; no one has replied. I certainly meant no disrespect. While I'm waiting for a response, let me throw a specific proposal out there. First, I assume the correct solution is to extend QWindow and QPlatformWindow so they can deal with comp

[Development] QWidget::setWindowState(Qt::WindowStates) vs QWindow::setWindowState(Qt::WindowState)

2017-01-17 Thread Thomas Søndergaard
Hi, I'm looking at the Qt code with intention to fix it so this code QWidget widget; widget.setWindowState(Qt::WindowMaximized); widget.showMinized(); will show the window iconified and when the user (or program) unminimize the window it pops up maximized. This is currently not possi