-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
5.0.0 Beta 1
-
None
-
Linux Mint, Gnome, Plugin xcb
I have a Window inheriting QGaphicsView with the attributes Qt::FramelessWindowHint|Qt::Window
When restoring that window ( previously minimized by showMinimized), the value of windowState is not updated
There is a workaround for showMinimized:
void Window::minimize(){ setWindowState(windowState()|Qt::WindowMinimized); QApplication::processEvents(); setWindowState(windowState()&~Qt::WindowMinimized); }
I traced the event when restoring the window and nothing appear (in both event and changeEvent), I guess that is the root cause of this issue.