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
Touch seeded packages, which is subscribed to gtk+3.0 in Ubuntu.
https://bugs.launchpad.net/bugs/2083744

Title:
  Window Maximized is not persistent for some apps after startup

Status in gtk+3.0 package in Ubuntu:
  Confirmed

Bug description:
  For example Slack:

  Ubuntu 24.04.1 LTS

  - run slack
  - maximize window
  - close slack
  - click on the icon tray
  - slack is run not maximized
  - resize window manually
  - close slack
  - open slack - window position and size is restored
  - click maximize, close slack
  - open slack - all the size is reset

  The same behavior applies to Chromium (not Chrome), SmartGit

  Video:
  
https://drive.google.com/file/d/1FYSB19OjEiBuNJObdq_SKbs066OzOYpa/view?usp=sharing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/2083744/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to