Bug 4194

Summary: Included recipes / packages are repositioned randomly upon selection when tables are not sorted by name
Product: [Build System, Metadata & Runtime] Hob Reporter: Belen Barros Pena <belen.barros.pena>
Component: hobAssignee: Cristiana Voicu <cristiana.voicu>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: belen.barros.pena, cristian.iorga, cristiana.voicu, jessica.zhang, poky.bs.watcher, poky.watcher, valentin.popa
Version: unspecified   
Target Milestone: 1.4 M6   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Bug Depends on: 2346    
Bug Blocks:    

Description Belen Barros Pena 2013-04-04 11:22:05 UTC
Steps to reproduce:

1. Launch Hob
2. Select a machine and base image
3. Click 'Edit image'
4. Select the "All recipes" tab
5. Click on the checkbox of a recipe that is not included

Outcome: the recipe is repositioned within the table upon selection, which is quite disconcerting. If you click on the "Recipe name" table heading to sort recipes by name, and then include another recipe, the repositioning does not happen.

Expected outcome: selected items should remain in the same position upon selection. I suspect the table is being reordered on the fly upon selection, which means the problem is related to the fact that there is no default sorting criteria applied to those tables (see bug 2346).
Comment 1 Cristiana Voicu 2013-04-04 11:28:05 UTC
I will take this one because I will resolve this within the patch for #2346.
Cristiana
Comment 3 Belen Barros Pena 2013-04-16 14:11:23 UTC
verified on af9ed97e30ac1a3a2b4e1062f2f8aee255d05972