Comment 1 for bug 1944062

Revision history for this message
Cubic PPA (cubic-wizard) wrote (last edit ):

------------------------------------------------------------------------
Project Page
------------------------------------------------------------------------
- Add a "Test" button in the header bar on the Project page.
- The Test button will only appear if there is a previously generated disk image.
- This allows the user to easily test an existing customized ISO by simply opening Cubic and selecting the desired project, without having to navigate through all of the steps and regenerate an ISO.
- The Test button will only appear if there is enough system memory to run QEMU.
- Clicking the "Test" button will navigate to the Test page.
- Clicking the "Test" button will simultaneously launch QEMU in a separate window.
- The main Cubic window will remain active while QEMU is running.

------------------------------------------------------------------------
Test Page #1 (launched from Project Page)
------------------------------------------------------------------------

- Add a new Test page that appears when the "Test" header bar button is clicked on the Project page.
- The Test page will display information about the disk image being tested.
- This information will reflect the previously generated disk image, and may not match the information on the Project page (if the user has made changes on the Project page).
- The Test page will display custom disk file name, directory path, checksum, checksum file name, version, volume id, release, and disk name.
- The user will have the ability to open a file browser to the location of the custom disk file or the checksum file.
- If QEMU launched successfully, a "Stop" button will appear in the header bar of the Test page.
- Clicking the "Stop" button will automatically terminate QEMU and automatically navigate to the Project page.
- If QEMU could not be launched, a message will be presented to the user, and a "Back" button will appear in the header bar.
- (Cubic will not be able to display the cause/reason of the error).
- Clicking the "Back" button will navigate to the Project page.
- When QEMU exits, automatically navigate to the Project page.

------------------------------------------------------------------------
Generate Page
------------------------------------------------------------------------

- Cubic will automatically navigate to the Finish page, once generation is completed.
- The user no longer needs to click the "Finish" button.

------------------------------------------------------------------------
Finish Page
------------------------------------------------------------------------
- Make the "Back" button in the header bar active, so the user can make additional changes after (automatically) arriving on the Finish page.
- Clicking the "Back" button will navigate to the Options page.
- Add a "Test" button in the header bar on the Finish page.
- This allows the user to easily test a the new customized ISO.
- The Test button will only appear if there is enough system memory to run QEMU.
- The Test button will be a recommended action (i.e. green in color).
- The Close button will be be changed from a recommended action (i.e. green in color) to a destructive action (i.e. red in color).
- Clicking the "Test" button will navigate to the Test page.
- Clicking the "Test" button will simultaneously launch QEMU in a separate window.
- The main Cubic window will remain active while QEMU is running.

------------------------------------------------------------------------
Test Page #2 (launched from Finish Page)
------------------------------------------------------------------------
- Add a new Test page that appears when the "Test" header bar button is clicked on the Finish page.
- The Test page will display information about the disk image being tested.
- This information will reflect the newly generated disk image and will match the user's changes on the Project page.
- The Test page will display custom disk file name, directory path, checksum, checksum file name, version, volume id, release, and disk name.
- The user will have the ability to open a file browser to the location of the custom disk file or the checksum file.
- If QEMU launched successfully, a "Stop" button will appear in the header bar of the Test page.
- Clicking the "Stop" button will automatically terminate QEMU and automatically navigate to the Finish page.
- If QEMU could not be launched, a message will be presented to the user, and a "Back" button will appear in the header bar.
- (Cubic will not be able to display the cause/reason of the error).
- Clicking the "Back" button will navigate to the Finish page.
- When QEMU exits, automatically navigate to the Finish page.

------------------------------------------------------------------------
QEMU
------------------------------------------------------------------------
- Cubic will use qemu-system-x86_64 as the emulator.
- Based on user feedback other QEMU emulators, such as qemu-system-i386, qemu-system-x86_64-microvm, or qemu-system-x86_64-spice, may be added.
- Cubic will automatically select necessary parameters/options to launch QEMU.
- System memory will be allocated automatically, based on available memory.
- Cubic will reserve 512 GB for the system; this should be enough memory to protect against an unresponsive system.
- QEMU will use all available CPUs on the system.
- QEMU will use for intel-hda and hda-duplex for audio. User feedback will help determine if this is sufficient.
- QEMU can be exited by clicking the Close window control.
- QEMU can be exited by shutting down the OS being tested.
- QEMU can be exited by clicking on the "Stop" button on the "Test" page.
- Exiting Cubic will exit QEMU (launched using the "Test" buttons in Cubic).
- When QEMU exits while on Test page #1, Cubic will automatically navigate to the Project page.
- When QEMU exits while on Test page #2, Cubic will automatically navigate to the Finish page.
- Cubic dependencies will be updated to require qemu-system-x86 version 1:2.11 or higher, supporting Ubuntu 18.04 Bionic Beaver and above.