Bug 361197 - Syntax highlighting colors are not preserved exactly (rounding error?)
Summary: Syntax highlighting colors are not preserved exactly (rounding error?)
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: syntax (show other bugs)
Version: 5.0.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-30 17:20 UTC by Ivan Shapovalov
Modified: 2016-07-02 18:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Shapovalov 2016-03-30 17:20:14 UTC
At least with some highlighting colors, the stored color differs from what user enters by 1-2 for each channel.

Reproducible: Always

Steps to Reproduce:
1. Kate → "Settings" → "Configure Kate..." → "Editor Component/Fonts & Colors" → "Default Text Styles"
2. Change any color to #859900 (Solarized's "green")
3. Invoke the color pick dialog again
4. Observe the stored color

Actual Results:  
#849800

Expected Results:  
#859900
Comment 1 Buovjaga 2016-07-02 10:58:17 UTC
No problem here. Please test with latest version.

Arch Linux 64-bit
Kate 16.04.2
KDE Frameworks 5.23.0
Qt 5.7
xcb wm
Comment 2 Ivan Shapovalov 2016-07-02 16:03:01 UTC
Cannot reproduce it anymore as well. Seems to be silently fixed then?
Comment 3 Buovjaga 2016-07-02 18:10:44 UTC
Seems like it, yes. Setting to WFM.