Page MenuHome

Clicking away from colour picker wih hex value selected changes the colour
Closed, ResolvedPublic


System Information
Windows 10
GTX 1060

Blender Version
2.79b daily f6c615a8c28 blender2.8 2018-12-06
2.80, ad707115d5bc, blender2.8, 2019-01-17

Clicking away from highlighted hex value in materia{F6327187}l editor causes colour to change

Exact steps for others to reproduce the error
Open the attached blend file in 2.8 (or append 'strips' object in 2.79), select the blue strip, click on 'base colour' in the material editor, change to hex, highlight the value, left click anywhere else to get out of the colour picker and the colour changes. The hex value itself seems to stay the same .

Event Timeline

Jacques Lucke (JacquesLucke) triaged this task as Confirmed, Medium priority.

Probably related: T60577

Are the color picker number sliders supposed to accept values greater than 1? Because it currently accepts them:

This is what may be causing the conversion to HEX to be wrong. And, when the HEX text field is selected, it applies the wrong calculated values.

For example, RGB accepts input of R: 1, G: 1, B: 1.03, and this is treated by the renderer as white (1, 1, 1). But the HEX field blue component wraps around to #FFFF03. When focus and then unfocus, the HEX field overwrites whatever value was set by other means, so 1.03 resets to 0.000911 (0x03) due to the overwrite:

(please don't mind the flickering)