Bug 2225528

Summary: [Machines] Uncheck default disk won't disable the arrows when changing boot order
Product: Red Hat Enterprise Linux 9 Reporter: Xianghua Chen <xchen>
Component: cockpit-machinesAssignee: Simon Kobyda <skobyda>
Status: NEW --- QA Contact: Xianghua Chen <xchen>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 9.3CC: kkoukiou, qzhang, wshi, ymao, yunyang
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Xianghua Chen 2023-07-25 13:30:42 UTC
[Machines] Uncheck default disk won't disable the arrows when changing boot order

Version-Release number of selected components (if applicable):
cockpit-machines-294-1.el9.noarch
cockpit-296-1.el9.x86_64
libvirt-dbus-1.4.1-5.el9.x86_6
libvirt-client-9.3.0-2.el9.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Prepare a shutoff vm.

2. Click "edit" after "Boot order", there will be 2 options listed and the arrows for moving the items are disabled as gray

3. Check the box before "network"  to enable the arrows

4. Uncheck the box before default disk (Note that this is the first raw on the dialog, uncheck other raws would work fine.)

The arrows are not disabled as gray which should be.

5. Click one of  the arrow to change the boot order

Order is changed and the arrows are gray now. 



Actual results:
See step 4.



Expected results:
Uncheck no matter the first or other raws should have the same 



Additional info:
Uncheck other raws except the first raw works fine.