Bug 3375 - When building an image, Hob should display errors and warnings differently
Summary: When building an image, Hob should display errors and warnings differently
Status: VERIFIED WORKSFORME
Alias: None
Product: Hob
Classification: Build System, Metadata & Runtime
Component: hob (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.4
Assignee: Cristiana Voicu
QA Contact:
URL:
Whiteboard: development
Depends on:
Blocks: 3215
  Show dependency tree
 
Reported: 2012-11-01 16:41 UTC by Belen Barros Pena
Modified: 2013-03-07 12:26 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments
alerts-vs-errors in the building screen.png (75.19 KB, image/png)
2012-11-01 16:41 UTC, Belen Barros Pena
no flags Details
presenting-alerts.pdf (97.32 KB, application/pdf)
2012-11-01 16:42 UTC, Belen Barros Pena
no flags Details
warnings in Hob (93.07 KB, image/png)
2012-11-12 09:34 UTC, Cristiana Voicu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.