Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P2: Important
-
Resolution: Invalid
-
Affects Version/s: 5.15.2
-
Fix Version/s: None
-
Component/s: GUI: Window management
-
Labels:None
-
Platform/s:
Description
Having any Qt app, for example this simple one:
#include <QApplication> #include <QMainWindow> int main(int argc, char **argv) { QApplication a(argc, argv); QMainWindow win; win.show(); return a.exec(); }
And running it such as:
./main --qwindowgeometry 800x600+100+200
Correctly sets the size of the window (800x600), but not its position (100, 200).
This worked on X11 and works also in Xwayland:
QT_QPA_PLATFORM=xcb ./main --qwindowgeometry 800x600+100+200