Bug 2584

Summary: [Hob2] Change any hardcoded UI values to play nice with the host environment
Product: [Build System, Metadata & Runtime] Hob Reporter: Belen Barros Pena <belen.barros.pena>
Component: hobAssignee: Cristian Iorga <cristian.iorga>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: Low CC: alexandru.damian, cristian.iorga, jessica.zhang, jiajun.xu, poky.bs.watcher, poky.watcher, ross.burton
Version: 1.3   
Target Milestone: Future   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on:    
Bug Blocks: 1701    

Description Belen Barros Pena 2012-06-12 10:53:02 UTC
After some discussion on the mailing list, we have agreed that Hob should take its visual style from the GTK theme installed in the host computer. Some of the things that will need to be changed:

- Eliminate hardcoded colours and replace them with theme colours
- Stop using gtk.Table
- Eliminate hardcoded values for text
- Eliminate hardcoded values for UI widgets

The above list is not exhaustive: a review of the existing code by someone with experience in implementing GTK-based UIs might be a good idea ... not looking at you Ross ;)
Comment 1 Ross Burton 2012-06-12 12:38:15 UTC
A good tip after the obvious candidates have been fixed is to use the "Blue Screen of Death" theme.  This theme sets *everything* to blue, so anything visible on screen isn't respecting the theme colours.

http://git.gnome.org/browse/gnome-themes/tree/BSOD.
Comment 2 Cristian Iorga 2012-10-26 14:31:53 UTC
Hello QA, Belen,

Can this be retested?

Hob uses now the host theme.

Preliminary testing of Hob in a High-contrast theme looks OK.

Thanks,
Cristian
Comment 3 Belen Barros Pena 2012-10-29 17:06:20 UTC
hi Ross,

The BSOD theme seems to be gone from that URL. Do you know if I can get it somewhere else?

Thanks!

Belen

(In reply to comment #1)
> A good tip after the obvious candidates have been fixed is to use the "Blue
> Screen of Death" theme.  This theme sets *everything* to blue, so anything
> visible on screen isn't respecting the theme colours.
> 
> http://git.gnome.org/browse/gnome-themes/tree/BSOD.
Comment 4 Ross Burton 2012-10-29 17:21:35 UTC
Oh that's annoying.

There's a mirror of it here still:

https://github.com/GNOME/gnome-themes/tree/master/BSOD

(I presume Hob still uses GTK+ 2 and not 3)
Comment 5 Belen Barros Pena 2014-04-10 09:23:48 UTC
I think we can assume at this point that this will not be done.