[GUI] Default behavior on close not reflected in settings
Describe the bug
The first time you run multipass.gui in your system it behaves as if you set it to close all running instances on exiting the GUI. When looking at the settings this is not the set option. If the option is "re-set" to "ask", the GUI behaves as normal.
To Reproduce From a clean system:
- Build multipass
- Run multipass.gui
- Close the GUI with a running instance
- The GUI will not ask to close
- The settings option is set to "ask"
Expected behavior It should behave as the default settings option indicates it should: to ask to close or keep the instances running when the GUI is closed.
Additional info
- OS: Windows 11 Pro
- CPU architecture or model: amd64
-
multipass version:1.17.0-dev.1005+ga67aacdb.win
I could reproduce with snap install --edge multipass too.
Hi! I'm interested in making my first contribution to Multipass.
Can I take this issue to work on it and try to resolve it?
Thanks!
Hi @Ignacio-Trottaa, feel free to contribute! I can assign the issue to you if you cannot. And feel free to ask questions if you feel lost.
@tobe2098 Thank you so much, I appreciate it! I'm excited to make my first contribution to Multipass. I'll start by setting up my environment to reproduce the issue. It's great to know I can reach out with questions, and I'll be sure to do so if I get lost.
Hi, I’d like to work on this issue. Could you please assign it to me? Thanks!
Hi @Tanish-Tandon, @Ignacio-Trottaa has started to work on this issue already. Since he is still working on it, would you mind searching for another issue? Thank you :)
No worries, thanks for letting me know! I’ll look for another good first issue.
@tobe2098 Hi, i have a problem: When I read the README and follow the steps to compile and run the project, my session close. I am using Ubuntu 24.04 LTS. idk what is the problem
Hi @Ignacio-Trottaa, I am sorry to hear that. What do you mean by that? Are you getting logged out or is your computer crashing during the build? Would you be able to get console output or tell me during which step does it happen? Thank you :)
@tobe2098 At the last step, while compiling the project, my session closes. This behavior is unusual and has never occurred with other projects during compilation. All dependencies were installed beforehand. This happens when the compilation reaches 70%.
Hi @Ignacio-Trottaa, do you mean that the console closes or are you logged out of the computer?
The issue is probably due to not enough RAM. The compilation takes a large amount of RAM so I would recommend setting up a swapfile or similar depending on your platform.
@tobe2098, The system logs me out of the computer during compilation. I will try creating a swap file to address the issue.