[Libreoffice-bugs] [Bug 125288] wrong Bar color name in the Data bar dialog (#0000FF instead of Blue)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed May 15 05:16:57 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=125288

V Stuart Foote <vstuart.foote at utsa.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|UI                          |Calc
                 CC|                            |erack at redhat.com,
                   |                            |vstuart.foote at utsa.edu
            Summary|wrong color name in Data    |wrong Bar color name in the
                   |bar dialog (#0000FF instead |Data bar dialog (#0000FF
                   |Blue)                       |instead of Blue)
           Keywords|regression                  |
            Version|6.2.3.2 release             |6.1.0.0.alpha0+

--- Comment #2 from V Stuart Foote <vstuart.foote at utsa.edu> ---
Hmm, not really a regression. From the 6.1.0 release the color value for our
RYB scheme named Blue is #2a6099; color value assigned from the standard .SOC
(based on the Gossett & Chen ryb2rgb algorithm interpolating RGB vector values
corresponding to a RYB inscribed in a tensor--see bug 114719).

The hard coded #0000FF color used for the Data Bar colors is the fully
saturated RGB scheme Blue.

The Bar Colors for conditional formatting dialog/configs did not get adjusted
to the RYB based standard.soc at 6.1 release, names of which are now localized.

Red behaves, because it uses the #FF0000 color assignment and its name is
picked up from the standard.soc -- the Blue does not as its #0000FF does not
match the RYB interpolated Hue for Blue of #2a6099--so it gets no name but its
hex value.

Probably could point the source used for the Data Bar colors [1] to Standard
SOC, but that is likely to also impact the QA unit tests that would need
tweaks.

An, alternative, might be for conditional formatting Data Bars to use the RGB
centric tonal.soc which assigns the fully saturated RGB.

Otherwise an easy workaround is for user to just use the "tonal" palette (see
bug 80196), color values there are meaningful--and visually consistent to
handling of conditional formatting.


=-ref-=
[1]
https://opengrok.libreoffice.org/xref/core/sc/source/ui/condformat/colorformat.cxx?r=e5c3d5f3#77

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190515/68727f7b/attachment.html>


More information about the Libreoffice-bugs mailing list