Bug 2500

Summary: [Hob2] Editing the recipes of a selected base image changes 'Select a base image' combo box value to 'self-hosted-image'
Product: [Build System, Metadata & Runtime] Hob Reporter: Belen Barros Pena <belen.barros.pena>
Component: hobAssignee: Belen Barros Pena <belen.barros.pena>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, jiajun.xu, laurentiu.serban, limingx.l.an, poky.bs.watcher, poky.watcher, shane.wang
Version: 1.3   
Target Milestone: 1.3 M1   
Hardware: x86   
OS: Multiple   
Whiteboard: Patch out under review
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
outcome of the bug
none
selected-values-inactive.png none

Description Belen Barros Pena 2012-05-25 09:46:59 UTC
Steps to reproduce:

1. Launch Hob
2. Select any machine
3. Select any base image
4. Click on 'View recipes' button
5. Unselect any of the recipes in the 'Included' tab of the recipes screen
6. Click 'Back to image configuration'

Results:

1. The selected values in the combo boxes look inactive. Weirdly, when you hover over them once, they return to their normal look.
2. The selected value in the "Select a base image" combo box has been set to 'self-hosted-image', which makes no sense.

I am using Fedora 16 with the master branch.
Comment 1 Shane Wang 2012-05-30 01:18:52 UTC
Liming, I think the bug is not hard for you to fix, so I put it into M1. Let me know.
Comment 2 anliming 2012-05-30 11:01:22 UTC
Hi Belen, your means is the image combo will be changed by itself along with your steps, but I don't get it, use Fedroa 17 and new master, maybe I don't catch your means.
Comment 3 Belen Barros Pena 2012-05-30 11:19:51 UTC
Created attachment 557 [details]
outcome of the bug

Liming, do you mean you cannot replicate it in Fedora 17? Maybe it's a Fedora 16 thing. Just updated master and checked again: the bug is still there. 

I've attached a screenshot: I hope it helps.
Comment 4 anliming 2012-06-05 01:50:54 UTC
Hi Belen, I had fixed it issue, please to review.http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=limx/hob-bug-fixes-continue
Comment 6 Belen Barros Pena 2012-06-12 13:44:28 UTC
Created attachment 571 [details]
selected-values-inactive.png

Not fully fixed yet. The selected value in the base image combo box is now set to 'create your own image' (which I guess is correct), but the selected values still display in an inactive state until you hover over them. See attached selected-values-inactive.png
Comment 8 Laurentiu Serban 2012-06-19 09:53:10 UTC
Verified under Fedora 17, the issue is not reproducible anymore