Hi Folks,

I try to reimplement the minimize button by doing this in the slot connected to the button

Qt Code:
  1. void MainWindow::slotMinimizeWindow()
  2. {
  3. this->setWindowState(Qt::WindowMinimized);
  4. }
To copy to clipboard, switch view to plain text mode 

This works pretty well when the window was not full screen.

If the window was full screen (Qt::WindowFullScreen), clicking the task bar restores the window in non full screen state (Qt::WindowNoState). In this case, when minimizing, the window seems to go into an intermediary state corresponding to the previous non full screen state of the window...

Any advice would be appreciated