Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store window maximized state in gsettings #554

Open
davidhedlund opened this issue Aug 19, 2023 · 2 comments
Open

Store window maximized state in gsettings #554

davidhedlund opened this issue Aug 19, 2023 · 2 comments
Labels
bug needs-investigation bugs or RFEs that need some thought

Comments

@davidhedlund
Copy link

Expected behaviour

Caja's window can be maximized by running: gsettings set org.mate.caja.window-state maximized true

Suggestion: Add org.virt-manager.virt-manager maximized with true or false options

Then it will be possible to always maximize the windows with:

gsettings set org.virt-manager.virt-manager.window-state maximized true
gsettings set org.virt-manager.virt-manager.vm:/org/virt-manager/virt-manager/vms/1c12b91c163e4595b55b8917f0a9a6b2/ window-state maximized true
gsettings set org.virt-manager.virt-manager.vm:/org/virt-manager/virt-manager/vms/cb46ddf83cb14104a1336e7907e91171/ window-state maximized true

Actual behaviour

The window size will be changed if you change the screen resolution, or panel heights.

It is inconvenient to run this to "maximize" the Virtual Machine Manager window:

$ gsettings set org.virt-manager.virt-manager manager-window-width VALUE
$ gsettings set org.virt-manager.virt-manager manager-window-height VALUE

It is inconvenient to "maximize" all virtual machine windows, example with two random virtual machines for 1920x1080 screen resolution with panel height 55 in Ubuntu MATE:
gsettings set org.virt-manager.virt-manager.vm:/org/virt-manager/virt-manager/vms/1c12b91c163e4595b55b8917f0a9a6b2/ vm-window-size '(1920, 993)'
gsettings set org.virt-manager.virt-manager.vm:/org/virt-manager/virt-manager/vms/cb46ddf83cb14104a1336e7907e91171/ vm-window-size '(1920, 993)'

Steps to reproduce the behaviour

There are no options to automatically maximize:

  • The Virtual Machine Manager window
  • The virtual machine windows that are launched from the Virtual Machine Manager.
@phrdina
Copy link
Member

phrdina commented Aug 22, 2023

I don't understand what are you trying to achieve by doing this. Can you please describe what your use-case is without involving gsettings?

@davidhedlund
Copy link
Author

I don't understand what are you trying to achieve by doing this. Can you please describe what your use-case is without involving gsettings?

I'm always wanting to maximize all windows (the Virtual Machine Manager window, and all virtual machine windows). If I change my screen resolution later, I want them to adjust to the new screen resolution.

@crobinso crobinso added bug needs-investigation bugs or RFEs that need some thought labels Feb 27, 2024
@crobinso crobinso changed the title [Feature request] Settings to maximize windows Store window maximized state in gsettings Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs-investigation bugs or RFEs that need some thought
Projects
None yet
Development

No branches or pull requests

3 participants