Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.15
-
None
Description
As the title described, maximizing(and minimizing) WindowFlags and "showMaxmized" doesn't work on Ubuntu2004 at least.
This can reproduce through the example https://doc.qt.io/qt-5/qtwidgets-widgets-windowflags-example.html . If enabled Qt::Tool and Qt::WindowMaximizeButtonHint together, the right-click-bar menu won't have the desired button and double-click won't maximize the window, see attachments. I believe the behavior is wrong because it works as expected on Windows or using Qt::Window instead of Qt::Tool.
I saw a similar issue discussed on the forum but not resolved, https://forum.qt.io/topic/121829/keeping-child-windows-ontop-on-linux-ubuntu-xubuntu-rhel . My real problem is to make the window above the application's main window (as Qt::Tool does), and still get minimize & maximize functional.