Yes, this issue has been driving me nuts since the beta of 24.04. I have
even reported this but cannot find the ticket, better there is a
separate ticket though. I think this affects qt5 apps somehow and I have
a workaround to "remember" the maximized state. I can reproduce this
anywhere and also in a VM environment.

The workaround is the following:
- start the app (it is not maximized obviously)
- press Alt+Up to maximize and then Alt+Down to unmaximize
- find out the window class name and run this in the terminal:
xdotool search --class "$name" windowsize %@ 100% 100%
- close the app/window

Now, when you restart it will be in a maximized state.

In my real environment it is a bit harder because I also have multiple
monitors and this makes it even harder as I need to move the window from
one to another, maximize there and then move back for some reason.

Apps that I have this problem with:
code (VS code)
git-cola (python qt5 app)
other qt5 apps

Additionally, for the qt5 aps to look nice in Gnome I use 
export QT_QPA_PLATFORM=xcb
so it may be related somehow.

I am willing to help to track this issue...

-- 
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