I have come up with a reproduction code (main.cpp) Just compile with: g++ main.cpp -o testapp -fPIC $(pkg-config --cflags --libs Qt5Widgets)
1. Compile 2. Start the app, maximize the window and close/quit 3. Start the app again, it will not start maximized 100% reproducable on any Ubuntu 24.04 If you resize the window, the size is remembered but not the maximized position. I have found other issues people complaining about on the Internet for several different apps but it is not the app problem, it is in Ubuntu. I don't have any Ubuntu 22.04 to test it with but I am 99% sure, this was working properly. ** Attachment added: "Reproduction code" https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/2083744/+attachment/5840666/+files/main.cpp -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2083744 Title: Window Maximized is not persistent for some apps after startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/2083744/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs