Bug 3375

Summary: When building an image, Hob should display errors and warnings differently
Product: [Build System, Metadata & Runtime] Hob Reporter: Belen Barros Pena <belen.barros.pena>
Component: hobAssignee: Cristiana Voicu <cristiana.voicu>
Status: VERIFIED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium CC: andreea.b.proca, cristian.iorga, poky.bs.watcher, poky.watcher, sgw, valentin.popa
Version: unspecified   
Target Milestone: 1.4   
Hardware: x86   
OS: Multiple   
Whiteboard: development
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Bug Depends on:    
Bug Blocks: 3215    
Attachments:
Description Flags
alerts-vs-errors in the building screen.png
none
presenting-alerts.pdf
none
warnings in Hob none

Description Belen Barros Pena 2012-11-01 16:41:49 UTC
Created attachment 924 [details]
alerts-vs-errors in the building screen.png

In the attached screenshot (alerts-vs-errors in the building screen.png), a warning (i.e. an error that does not cause the build to fail) has come up on the 'Log' tab of the 'Build' screen. This warning is presented visually exactly in the same way as an error (i.e. something that causes the build to fail). Warnings and errors should be presented differently. 

To keep it simple, we could just take out the red background and replace the error icon with a warning icon, as shown in the attached file presenting-alerts.pdf (it's a bit crude, but I hope it illustrates what I mean).
Comment 1 Belen Barros Pena 2012-11-01 16:42:19 UTC
Created attachment 925 [details]
presenting-alerts.pdf
Comment 2 Cristiana Voicu 2012-11-12 09:34:07 UTC
Hello Belen,

In hob already exists a way of showing warnings. Please see the attachement. The backgroud is orange because this is the color for warnings in hob in general. The "warning" you catched is in fact reported as error by bitbake. That's why it is shown like this. If you agree I will close this bug.

Thanks!
Comment 3 Cristiana Voicu 2012-11-12 09:34:48 UTC
Created attachment 936 [details]
warnings in Hob
Comment 4 Belen Barros Pena 2012-11-12 17:23:49 UTC
yes, please: I guess we can only display what bitbake tells us :)

Thanks!!

Belen

(In reply to comment #2)
> Hello Belen,
> 
> In hob already exists a way of showing warnings. Please see the attachement.
> The backgroud is orange because this is the color for warnings in hob in
> general. The "warning" you catched is in fact reported as error by bitbake.
> That's why it is shown like this. If you agree I will close this bug.
> 
> Thanks!
Comment 5 Cristiana Voicu 2012-11-13 07:50:38 UTC
this issue is already implemented.
Comment 6 Andreea Brandusa Proca 2013-03-07 12:26:05 UTC
Verified in commit: 7d22ef28e64de06b6238d0ef9b664c0bee6efa46.