Bug 2175

Summary: [Hob2] Implement "-- select a machine --" and "-- select a base image --" on the GUI.
Product: [Build System, Metadata & Runtime] Hob Reporter: Shane Wang <shane.wang>
Component: hobAssignee: anliming <limingx.l.an>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: belen.barros.pena, giulia, jessica.zhang, jiajun.xu, poky.bs.watcher, poky.watcher, sgw
Version: unspecified   
Target Milestone: 1.3 M2   
Hardware: x86   
OS: Multiple   
Whiteboard: (P2)
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Shane Wang 2012-03-26 06:23:24 UTC
Quoted from Belen in the bug 2104, we need to implement that for better user experience.

Hi there,

I just checked the email I sent after our meeting (I've attached it) and I
might have understood completely wrong, but I think what we agreed at OSTS was
that we would go away and look into how the combos should behave and come back
to you with a solution, considering that:

1. there should be an 'empty option' (i.e. no value assigned to it) in the
combo box because no default selected value was possible. 

2. the 'empty option' should only appear on loading the combo box, but it
should not be available for selection once another value has been selected
(e.g. once I've selected a machine I can only select a different machine: I
cannot select the 'empty option').

We have run the empty (as in no string) approach past a few people, and
everybody agrees it looks non-standard and, what's worse, is perceived as an
error. From a design point of view, we firmly believe we should not have an
empty combo. If the development team thinks we are in no position to fix this
now, we'll accept that of course: we can always fix it sometime in the future. 

Cheers

Belen
Comment 1 anliming 2012-05-25 09:48:12 UTC
Hi Belen, this function had be merged to poky/master, please to review.http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=39a9267dee0a0ee4d87ed51d4a0272549c462b02
Comment 2 Belen Barros Pena 2012-05-25 10:49:42 UTC
This works beautifully. Thanks!
Comment 3 Belen Barros Pena 2012-05-25 10:50:16 UTC
Marking as verified