Maniphest T60619

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

Assigned To
Bruno Boaventura Scholl (brunobbs)
Authored By
Mark Sutton (MrMargaretScratcher)
Jan 18 2019, 12:55 PM
Tags
  • BF Blender
Subscribers
Bruno Boaventura Scholl (brunobbs)
Jacques Lucke (JacquesLucke)
Mark Sutton (MrMargaretScratcher)
Victor Seiji Hariki (seijihariki)

Description

System Information
Windows 10
GTX 1060

Blender Version
Broken:
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 .

Revisions and Commits

rB Blender
D4727

Related Objects

Mentioned In
D4727: Limit value input range for color picker
Mentioned Here
T60577: 2.8 Color sampling alters color value
rBad707115d5bc: Preferences: add new Viewport, Animation, Navigation, Save & Load sections.

Event Timeline

Mark Sutton (MrMargaretScratcher) created this task.Jan 18 2019, 12:55 PM
Jacques Lucke (JacquesLucke) lowered the priority of this task from 90 to 50.Jan 18 2019, 3:45 PM
Jacques Lucke (JacquesLucke) added a subscriber: Jacques Lucke (JacquesLucke).

Probably related: T60577

Bruno Boaventura Scholl (brunobbs) added a subscriber: Bruno Boaventura Scholl (brunobbs).Apr 22 2019, 9:08 PM

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)

Victor Seiji Hariki (seijihariki) added a subscriber: Victor Seiji Hariki (seijihariki).Apr 22 2019, 9:10 PM
Bruno Boaventura Scholl (brunobbs) claimed this task.Apr 23 2019, 9:57 PM
Bruno Boaventura Scholl (brunobbs) mentioned this in D4727: Limit value input range for color picker.Apr 23 2019, 11:24 PM
Bruno Boaventura Scholl (brunobbs) added a revision: D4727: Limit value input range for color picker.
Brecht Van Lommel (brecht) changed the task status from Unknown Status to Resolved by committing rB8db514f81dc1: Fix T60441, T60619: incorrect values for color values > 1.0.Jun 6 2019, 6:08 PM
Brecht Van Lommel (brecht) added a commit: rB8db514f81dc1: Fix T60441, T60619: incorrect values for color values > 1.0.