Comments (12)
I did have this thought, the could be a "bin" button next to the play/stop buttons on the manager screen to delete the VM (with a confirmation step).
However, what should this button do? quickemu --vm vm.conf --delete
exists, but it just deletes the disk image. Should we just be exposing that behaviour, or should we completely delete the VM directory and .conf file?
from quickgui.
If we draw a parallel with what a file explorer does, simply "deleting" a file just puts it in the trash, it doesn't remove the file completely.
So I would tend to thing a "delete" button would just delete the disk and variables, leaving the config intact. Maybe the UI could show up an icon or a different color when it does not detect a disk ? That would also bring attention to newly created VMs, when the use comes back from the downloader.
from quickgui.
However, what should this button do?
quickemu --vm vm.conf --delete
exists, but it just deletes the disk image. Should we just be exposing that behaviour, or should we completely delete the VM directory and .conf file?
Perhaps quickemu
needs to expand the delete functionality?
--delete disk
to just delete the virtual hard drive and EFI variables.--delete vm
to delete everything.
And deprecate --delete
to just explain the two options above.
from quickgui.
Generally speaking, I'm in favour of the principle that the GUI should expose quickemu's functionality, rather than add to it or reimplement it. If we're going to add a "full delete" option, I'd agree with @flexiondotorg's suggestion of adding it to quickemu first.
Regarding the UI, I think something like the below would be good:
from quickgui.
I have no objection, that sounds like the right thing to do.
from quickgui.
I've added --delete-disk
and --delete-vm
options to quickemu 2.3.3 which was released earlier today. The existing --delete
is now an alias for --delete-disk
.
from quickgui.
@diddledani I've pushed this to branch wip20, give it a go and let me know if you've got any feedback.
from quickgui.
@diddledani I've pushed this to branch wip20, give it a go and let me know if you've got any feedback.
It actually got mingled in with #52 last night
from quickgui.
How embarassing. Oh well, I'm happy enough with how it works for now, Hopefully the changes of someone running with an old version of quickemu are minimal. I think we can mark this closed, and open a new issue for any improvements.
from quickgui.
Yeah, sorry I didn't catch that up earlier. I didn't want to mess with my already very messy merge :P
from quickgui.
@ymauray I dont seem to have permission to close issues, could you grant it for me?
from quickgui.
Wimpy made us both owners now :)
from quickgui.
Related Issues (20)
- bug: moving focus away from quickgui on hyprland cause the app to stop functioning
- Adding explicit License for QuickGUI HOT 1
- flutter_localizations depends on intl 0.18.1 and quickgui depends on intl ^0.17.0 HOT 5
- Can't change the directory where the VMs get stored HOT 2
- QuickGUI shows empty window for 13 seconds on load HOT 9
- feat: `list` and `list_csv` deprecation!
- Error dump while build HOT 1
- bug: quickgui encounters X Window System error when executed HOT 4
- bug: failed to read XDG desktop portal settings: HOT 1
- feat: improve terminal support
- feat: add support for macOS
- bug: some icons in the quickemu dark theme have incorrect contrast
- feat: add a feature to flush SSH known hosts for VM
- feat: implement a cross platform directory picker
- bug: quickgui is not available in the PPA for Ubuntu 24.04 HOT 4
- feat: capture and display the quickemu version
- feat: use quickemu --vm /path/to/vm.conf --kill to stop virtual machines
- bug: [macos_desktop] active VMs are not detected HOT 1
- bug: app displays "Waiting for download to start" until download is complete. HOT 1
- triage: AppImage doesnt work on a clean installation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quickgui.