How can we help you today?
Start a new topic

Cannot porvision background colors

Hey,


trying to set a branding. Font colors, line background, background image all work fine. But setting

 

<background_color perm="">0 0 0 200</background_color>
<fkey_background_color perm="">0 0 0 0</fkey_background_color>
<titlebar_background_color perm="">0 0 0 0</titlebar_background_color>

 has no effect, phone always falls back to original values. Nothing special in the log. latest firmware.


Alexander,


Are you trying to alter these settings for use with a custom background image?


https://service.snom.com/display/wiki/GUI+-+Customization 



Regards, 



Snom Support

Yes. Changing via web GUI and saving works, but not via provisioning

Any chance to get a solution here?

I believe the background color alpha value needs to be 0 when using a custom background image on the phone. 


Hi Sean,
that's not the issue. Tried setting 0 as alpha, that's not the issue. The problem is that the whole setting of those values is not applied. Background stays at 242 242 242 80. Setting it manually to 0 0 0 200 (or 0 0 0 0) via the web gui works, but the value is just not loaded from the provisioning XML.


regards

Alex

This behavior is the result of enactmentsto the  display's UI and Smartlabels in the version 10 firmware.  The alpha values are auto populated when using a custom_bg_image_url via provisioning. 


Apr 23 16:03:29.331 [INFO ] PHN: WebImage::SetLocation http://10.20.10.36:80/background11.png

Apr 23 16:03:29.331 [DEBUG1] PHN: Parsing color string >242 242 242 0<

Apr 23 16:03:29.331 [INFO ] PHN: color parsed as: 242 242 242 0

Apr 23 16:03:29.331 [DEBUG1] PHN: Parsing color string >242 242 242 80<

Apr 23 16:03:29.331 [INFO ] PHN: color parsed as: 242 242 242 80

Apr 23 16:03:29.338 [INFO ] TOOLS: Going to write file ./snomconfig/config.xml.

Apr 23 16:03:29.341 [NOTICE] PHN: Std-Settings stored

Apr 23 16:03:29.341 [DEBUG1] PHN: Parsing color string >242 242 242 80<

Apr 23 16:03:29.341 [INFO ] PHN: color parsed as: 242 242 242 80

Apr 23 16:03:29.341 [DEBUG0] PHN: apply_value: background_color = '242 242 242 80', set.need_apply: 0, finished: 0, need reboot to apply: 0


SAP-2024: The UI elements transparency is now auto adjusted when custom background image URL (custom_bg_image_url) is set


Auto Adjusted Apha Values:


background_color -> Alpha value of 80
titlebar_background_color -> Alpha value of 140
fkey_background_color -> Alpha value of 140
fkey_separator_color -> Alpha value of 140
selected_line_background_color -> Alpha value of 140
line_background_color -> Alpha value of 140
selected_line_indicator_color -> Alpha value of 140
line_separator_color -> Alpha value of 140
scrollbar_color -> Alpha value of 140


Important note for firmware V10: In case you configured the URL and it looks like all should work, but the phone user interface just doesn't show your desired image, please check the setting background color. Change the current / default alpha value to 0, so the desired background image does not get overlaid anymore.



Thanks Sean for looking into this. I think we are getting there!

The phone boots. Reads all the colors from provisioning:

Oct 29 12:31:16.308 [DEBUG1] PHN: Parsing color string >242 242 242 0<

Oct 29 12:31:16.308 [INFO ] PHN: color parsed as: 242 242 242 0

Oct 29 12:31:16.308 [DEBUG1] PHN: Parsing color string >255 255 255 255<

Oct 29 12:31:16.308 [INFO ] PHN: color parsed as: 255 255 255 255

Oct 29 12:31:16.329 [DEBUG1] PHN: Parsing color string >51 51 51 255<

Oct 29 12:31:16.329 [INFO ] PHN: color parsed as: 51 51 51 255

[...]

Oct 29 12:31:16.605 [DEBUG0] UXM: Request backlight for module -1 with value 15

Oct 29 12:31:16.635 [DEBUG1] PHN: Parsing color string >242 242 242 255<

Oct 29 12:31:16.635 [INFO ] PHN: color parsed as: 242 242 242 255

Oct 29 12:31:16.636 [DEBUG1] PHN: Parsing color string >182 183 184 255<

Oct 29 12:31:16.636 [INFO ] PHN: color parsed as: 182 183 184 255

Oct 29 12:31:16.677 [DEBUG1] PHN: Parsing color string >242 242 242 255<

Oct 29 12:31:16.677 [INFO ] PHN: color parsed as: 242 242 242 255

Oct 29 12:31:16.695 [DEBUG1] PHN: Parsing color string >123 124 126 255<

Oct 29 12:31:16.695 [INFO ] PHN: color parsed as: 123 124 126 255

Oct 29 12:31:16.702 [DEBUG1] PHN: Parsing color string >182 183 184 255<

Oct 29 12:31:16.702 [INFO ] PHN: color parsed as: 182 183 184 255

Oct 29 12:31:16.702 [ERROR ] GUI: gui_display::flush: return because gui is disabled

[...]

Oct 29 12:31:23.539 [INFO ] PHN: Config setup: code: 200, uri: https://phone.bobbie.de:443/XXXXXXXXXXXXXX/generalSettings.xml

Oct 29 12:31:23.546 [NOTICE] PHN: read_xml_settings: found phone-settings XML header

Oct 29 12:31:23.546 [NOTICE] PHN: read_xml_settings: found one byte encoding: 0

Oct 29 12:31:23.579 [DEBUG1] PHN: Parsing color string >255 255 255 255<

Oct 29 12:31:23.579 [INFO ] PHN: color parsed as: 255 255 255 255

Oct 29 12:31:23.579 [DEBUG1] PHN: Parsing color string >39 84 121 255<

Oct 29 12:31:23.579 [INFO ] PHN: color parsed as: 39 84 121 255

Oct 29 12:31:23.579 [DEBUG1] PHN: Parsing color string >52 86 29 255<

Oct 29 12:31:23.579 [INFO ] PHN: color parsed as: 52 86 29 255

Oct 29 12:31:23.579 [DEBUG1] PHN: Parsing color string >0 38 52 180<

Oct 29 12:31:23.580 [INFO ] PHN: color parsed as: 0 38 52 180

Oct 29 12:31:23.580 [DEBUG1] PHN: Parsing color string >0 38 52 180<

Oct 29 12:31:23.580 [INFO ] PHN: color parsed as: 0 38 52 180

Oct 29 12:31:23.580 [DEBUG1] PHN: Parsing color string >0 0 0 0<

Oct 29 12:31:23.580 [INFO ] PHN: color parsed as: 0 0 0 0

Oct 29 12:31:23.581 [DEBUG1] PHN: Parsing color string >0 0 0 200<

Oct 29 12:31:23.581 [INFO ] PHN: color parsed as: 0 0 0 200

Oct 29 12:31:23.581 [DEBUG1] PHN: Parsing color string >0 0 0 0<

Oct 29 12:31:23.581 [INFO ] PHN: color parsed as: 0 0 0 0

Oct 29 12:31:23.581 [DEBUG1] PHN: Parsing color string >223 128 27 255<

Oct 29 12:31:23.582 [INFO ] PHN: color parsed as: 223 128 27 255

Oct 29 12:31:23.582 [DEBUG1] PHN: Parsing color string >182 183 184 140<

Oct 29 12:31:23.582 [INFO ] PHN: color parsed as: 182 183 184 140

Oct 29 12:31:23.582 [DEBUG1] PHN: Parsing color string >255 255 255 255<

Oct 29 12:31:23.582 [INFO ] PHN: color parsed as: 255 255 255 255

Oct 29 12:31:23.582 [DEBUG1] PHN: Parsing color string >255 255 255 255<

Oct 29 12:31:23.582 [INFO ] PHN: color parsed as: 255 255 255 255

Oct 29 12:31:23.582 [DEBUG1] PHN: Parsing color string >242 242 242 120<

Oct 29 12:31:23.582 [INFO ] PHN: color parsed as: 242 242 242 120

Oct 29 12:31:23.583 [DEBUG1] PHN: Parsing color string >242 242 242 180<

Oct 29 12:31:23.583 [INFO ] PHN: color parsed as: 242 242 242 180

Oct 29 12:31:23.583 [DEBUG1] PHN: Parsing color string >61 133 198 140<

Oct 29 12:31:23.583 [INFO ] PHN: color parsed as: 61 133 198 140

Oct 29 12:31:23.583 [DEBUG1] PHN: Parsing color string >41 103 158 255<

Oct 29 12:31:23.583 [INFO ] PHN: color parsed as: 41 103 158 255

Oct 29 12:31:23.583 [DEBUG1] PHN: Parsing color string >226 226 226 140<

Oct 29 12:31:23.583 [INFO ] PHN: color parsed as: 226 226 226 140

Oct 29 12:31:23.583 [DEBUG1] PHN: Parsing color string >182 183 184 140<

Oct 29 12:31:23.584 [INFO ] PHN: color parsed as: 182 183 184 140

Oct 29 12:31:23.584 [DEBUG1] PHN: Parsing color string >242 242 242 140<

Oct 29 12:31:23.584 [INFO ] PHN: color parsed as: 242 242 242 140

Oct 29 12:31:23.584 [DEBUG1] PHN: Parsing color string >182 183 184 140<

Oct 29 12:31:23.584 [INFO ] PHN: color parsed as: 182 183 184 140

Oct 29 12:31:23.585 [NOTICE] PHN: Config setup: found xml style settings

[...]

Oct 29 13:31:24.251 [INFO ] PHN: WebImage::SetLocation https://phone.bobbie.de:443/XXXXXXXXXX/bobbie-logo-snom-480.png

Oct 29 13:31:24.251 [DEBUG1] PHN: Parsing color string >242 242 242 80<

Oct 29 13:31:24.251 [INFO ] PHN: color parsed as: 242 242 242 80

Oct 29 13:31:24.251 [DEBUG1] PHN: Parsing color string >242 242 242 80<

Oct 29 13:31:24.252 [INFO ] PHN: color parsed as: 242 242 242 80

Oct 29 13:31:24.252 [DEBUG0] CFG: apply_value: background_color = '242 242 242 80', need_apply: 0, provisioning (progress:0/finished:0), need reboot: 0

Oct 29 13:31:24.252 [DEBUG1] PHN: Parsing color string >226 226 226 140<

Oct 29 13:31:24.252 [INFO ] PHN: color parsed as: 226 226 226 140

Oct 29 13:31:24.252 [DEBUG1] PHN: Parsing color string >226 226 226 140<

Oct 29 13:31:24.252 [INFO ] PHN: color parsed as: 226 226 226 140

Oct 29 13:31:24.252 [DEBUG0] CFG: apply_value: titlebar_background_color = '226 226 226 140', need_apply: 0, provisioning (progress:0/finished:0), need reboot: 0

Oct 29 13:31:24.252 [DEBUG1] PHN: Parsing color string >242 242 242 140<

Oct 29 13:31:24.253 [INFO ] PHN: color parsed as: 242 242 242 140

Oct 29 13:31:24.253 [DEBUG1] PHN: Parsing color string >242 242 242 140<

Oct 29 13:31:24.253 [INFO ] PHN: color parsed as: 242 242 242 140

Oct 29 13:31:24.253 [DEBUG0] CFG: apply_value: fkey_background_color = '242 242 242 140', need_apply: 0, provisioning (progress:0/finished:0), need reboot: 0

Oct 29 13:31:24.253 [DEBUG1] PHN: Parsing color string >182 183 184 140<

Oct 29 13:31:24.253 [INFO ] PHN: color parsed as: 182 183 184 140

Oct 29 13:31:24.253 [DEBUG1] PHN: Parsing color string >255 255 255 140<

Oct 29 13:31:24.253 [INFO ] PHN: color parsed as: 255 255 255 140

Oct 29 13:31:24.253 [DEBUG1] PHN: Parsing color string >255 255 255 140<

Oct 29 13:31:24.254 [INFO ] PHN: color parsed as: 255 255 255 140

Oct 29 13:31:24.254 [DEBUG0] CFG: apply_value: selected_line_background_color = '255 255 255 140', need_apply: 0, provisioning (progress:0/finished:0), need reboot: 0

Oct 29 13:31:24.254 [DEBUG1] PHN: Parsing color string >61 133 198 255<

Oct 29 13:31:24.254 [INFO ] PHN: color parsed as: 61 133 198 255

Oct 29 13:31:24.254 [DEBUG1] PHN: Parsing color string >61 133 198 140<

Oct 29 13:31:24.254 [INFO ] PHN: color parsed as: 61 133 198 140

Oct 29 13:31:24.254 [DEBUG1] PHN: Parsing color string >226 226 226 255<

Oct 29 13:31:24.254 [INFO ] PHN: color parsed as: 226 226 226 255

Oct 29 13:31:24.254 [DEBUG1] PHN: Parsing color string >226 226 226 140<

Oct 29 13:31:24.254 [INFO ] PHN: color parsed as: 226 226 226 140

Oct 29 13:31:24.255 [DEBUG1] PHN: Parsing color string >182 183 184 255<

Oct 29 13:31:24.255 [INFO ] PHN: color parsed as: 182 183 184 255

Oct 29 13:31:24.255 [DEBUG1] PHN: Parsing color string >182 183 184 140<

Oct 29 13:31:24.255 [INFO ] PHN: color parsed as: 182 183 184 140

Oct 29 13:31:24.255 [DEBUG1] PHN: Parsing color string >242 242 242 255<

Oct 29 13:31:24.255 [INFO ] PHN: color parsed as: 242 242 242 255

Oct 29 13:31:24.255 [DEBUG1] PHN: Parsing color string >242 242 242 140<

Oct 29 13:31:24.255 [INFO ] PHN: color parsed as: 242 242 242 140

Oct 29 13:31:24.255 [DEBUG1] PHN: Parsing color string >182 183 184 255<

Oct 29 13:31:24.255 [INFO ] PHN: color parsed as: 182 183 184 255

Oct 29 13:31:24.255 [DEBUG1] PHN: Parsing color string >182 183 184 140<

Oct 29 13:31:24.256 [INFO ] PHN: color parsed as: 182 183 184 140

Oct 29 13:31:24.256 [DEBUG2] PHN: WebImage: not found image https://phone.bobbie.de:443/XXXXXXXXXXXXX/bobbie-logo-snom-480.png in cache

Oct 29 13:31:24.256 [DEBUG2] PHN: WebImage: not found image https://phone.bobbie.de:443/XXXXXXXXXXXXX/bobbie-logo-snom-480.png in cache

Oct 29 13:31:24.256 [DEBUG2] PHN: WebImage: not found image https://phone.bobbie.de:443/XXXXXXXXXXXXX/bobbie-logo-snom-480.png in cache

Oct 29 13:31:24.256 [DEBUG1] PHN: WebImage: added image https://phone.bobbie.de:443/XXXXXXXXXXXXX/bobbie-logo-snom-480.png to cache, entries: 1, fetch it

Oct 29 13:31:24.256 [NOTICE] PHN: Fetching URL: https://phone.bobbie.de:443/XXXXXXXXXXXXX/bobbie-logo-snom-480.png

[...]

Oct 29 13:31:24.644 [INFO ] VISION: ConnectToPairedVisionViaRarp() mac: >< ip: ><

Oct 29 13:31:24.647 [DEBUG1] PHN: Parsing color string >39 84 121 255<

Oct 29 13:31:24.647 [INFO ] PHN: color parsed as: 39 84 121 255

Oct 29 13:31:24.647 [DEBUG1] PHN: Parsing color string >51 51 51 255<

Oct 29 13:31:24.647 [INFO ] PHN: color parsed as: 51 51 51 255

Oct 29 13:31:24.647 [DEBUG1] PHN: Parsing color string >52 86 29 255<

Oct 29 13:31:24.647 [INFO ] PHN: color parsed as: 52 86 29 255

Oct 29 13:31:24.647 [DEBUG1] PHN: Parsing color string >123 124 126 255<

Oct 29 13:31:24.647 [INFO ] PHN: color parsed as: 123 124 126 255

Oct 29 13:31:24.647 [DEBUG1] PHN: Parsing color string >0 38 52 180<

Oct 29 13:31:24.648 [INFO ] PHN: color parsed as: 0 38 52 180

Oct 29 13:31:24.648 [DEBUG1] PHN: Parsing color string >123 124 126 255<

Oct 29 13:31:24.648 [INFO ] PHN: color parsed as: 123 124 126 255

Oct 29 13:31:24.648 [DEBUG1] PHN: Parsing color string >0 38 52 180<

Oct 29 13:31:24.648 [INFO ] PHN: color parsed as: 0 38 52 180

Oct 29 13:31:24.648 [DEBUG1] PHN: Parsing color string >255 255 255 255<

Oct 29 13:31:24.648 [INFO ] PHN: color parsed as: 255 255 255 255

Oct 29 13:31:24.648 [DEBUG1] PHN: Parsing color string >226 226 226 140<

Oct 29 13:31:24.648 [INFO ] PHN: color parsed as: 226 226 226 140

Oct 29 13:31:24.648 [DEBUG1] PHN: Parsing color string >242 242 242 80<

Oct 29 13:31:24.648 [INFO ] PHN: color parsed as: 242 242 242 80

Oct 29 13:31:24.648 [DEBUG1] PHN: Parsing color string >242 242 242 140<

Oct 29 13:31:24.648 [INFO ] PHN: color parsed as: 242 242 242 140

Oct 29 13:31:24.648 [DEBUG1] PHN: Parsing color string >61 133 198 255<

Oct 29 13:31:24.648 [INFO ] PHN: color parsed as: 61 133 198 255

Oct 29 13:31:24.648 [DEBUG1] PHN: Parsing color string >223 128 27 255<

Oct 29 13:31:24.648 [INFO ] PHN: color parsed as: 223 128 27 255

Oct 29 13:31:24.648 [DEBUG1] PHN: Parsing color string >182 183 184 140<

Oct 29 13:31:24.649 [INFO ] PHN: color parsed as: 182 183 184 140

Oct 29 13:31:24.649 [DEBUG1] PHN: Parsing color string >255 255 255 255<

Oct 29 13:31:24.649 [INFO ] PHN: color parsed as: 255 255 255 255

Oct 29 13:31:24.649 [DEBUG1] PHN: Parsing color string >242 242 242 255<

Oct 29 13:31:24.649 [INFO ] PHN: color parsed as: 242 242 242 255

Oct 29 13:31:24.649 [DEBUG1] PHN: Parsing color string >255 255 255 255<

Oct 29 13:31:24.649 [INFO ] PHN: color parsed as: 255 255 255 255

Oct 29 13:31:24.649 [DEBUG1] PHN: Parsing color string >242 242 242 120<

Oct 29 13:31:24.649 [INFO ] PHN: color parsed as: 242 242 242 120

Oct 29 13:31:24.649 [DEBUG1] PHN: Parsing color string >255 255 255 140<

Oct 29 13:31:24.649 [INFO ] PHN: color parsed as: 255 255 255 140

Oct 29 13:31:24.649 [DEBUG1] PHN: Parsing color string >61 133 198 140<

Oct 29 13:31:24.649 [INFO ] PHN: color parsed as: 61 133 198 140

Oct 29 13:31:24.649 [DEBUG1] PHN: Parsing color string >61 133 198 255<

Oct 29 13:31:24.649 [INFO ] PHN: color parsed as: 61 133 198 255

Oct 29 13:31:24.650 [DEBUG1] PHN: Parsing color string >41 103 158 255<

Oct 29 13:31:24.650 [INFO ] PHN: color parsed as: 41 103 158 255

Oct 29 13:31:24.650 [DEBUG1] PHN: Parsing color string >226 226 226 140<

Oct 29 13:31:24.650 [INFO ] PHN: color parsed as: 226 226 226 140

Oct 29 13:31:24.650 [DEBUG1] PHN: Parsing color string >182 183 184 140<

Oct 29 13:31:24.650 [INFO ] PHN: color parsed as: 182 183 184 140

Oct 29 13:31:24.650 [DEBUG1] PHN: Parsing color string >61 133 198 255<

Oct 29 13:31:24.651 [INFO ] PHN: color parsed as: 61 133 198 255

Oct 29 13:31:24.651 [DEBUG1] PHN: Parsing color string >61 133 198 255<

Oct 29 13:31:24.651 [INFO ] PHN: color parsed as: 61 133 198 255

Oct 29 13:31:24.651 [DEBUG1] PHN: Parsing color string >242 242 242 255<

Oct 29 13:31:24.651 [INFO ] PHN: color parsed as: 242 242 242 255

Oct 29 13:31:24.651 [DEBUG1] PHN: Parsing color string >182 183 184 255<

Oct 29 13:31:24.651 [INFO ] PHN: color parsed as: 182 183 184 255

Oct 29 13:31:24.651 [DEBUG1] PHN: Parsing color string >242 242 242 140<

Oct 29 13:31:24.652 [INFO ] PHN: color parsed as: 242 242 242 140

Oct 29 13:31:24.652 [DEBUG1] PHN: Parsing color string >61 133 198 255<

Oct 29 13:31:24.652 [INFO ] PHN: color parsed as: 61 133 198 255

Oct 29 13:31:24.652 [DEBUG1] PHN: Parsing color string >61 133 198 255<

Oct 29 13:31:24.652 [INFO ] PHN: color parsed as: 61 133 198 255

Oct 29 13:31:24.652 [DEBUG1] PHN: Parsing color string >182 183 184 140<

Oct 29 13:31:24.652 [INFO ] PHN: color parsed as: 182 183 184 140

Oct 29 13:31:24.652 [DEBUG1] PHN: Parsing color string >123 124 126 255<

Oct 29 13:31:24.652 [INFO ] PHN: color parsed as: 123 124 126 255

Oct 29 13:31:24.652 [DEBUG1] PHN: Parsing color string >123 124 126 255<

Oct 29 13:31:24.652 [INFO ] PHN: color parsed as: 123 124 126 255

Oct 29 13:31:24.652 [DEBUG1] PHN: Parsing color string >242 242 242 255<

Oct 29 13:31:24.652 [INFO ] PHN: color parsed as: 242 242 242 255

Oct 29 13:31:24.652 [DEBUG1] PHN: Parsing color string >242 242 242 255<

Oct 29 13:31:24.652 [INFO ] PHN: color parsed as: 242 242 242 255

Oct 29 13:31:24.683 [NOTICE] PHN: LabelDisplay::InitialSetup: loading 

 

When I check the Phone web Interface, it lists background_color as 242 242 242 80, but my config xml says

<background_color perm="">0 0 0 200</background_color>


Login or Signup to post a comment