Bug 328279 - Bad colors when entering vocabulary
Summary: Bad colors when entering vocabulary
Status: RESOLVED FIXED
Alias: None
Product: parley
Classification: Applications
Component: general (show other bugs)
Version: 0.9.4
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: parley bug tracker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-01 13:22 UTC by mnl
Modified: 2014-02-10 21:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Bad colors (3.10 KB, image/png)
2013-12-01 13:36 UTC, mnl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mnl 2013-12-01 13:22:19 UTC
The colors used to display words during editing make the text almost unreadable.


Reproducible: Always

Steps to Reproduce:
1. Start edit
2. Choose word that is displayed blue on white
3. It's now displayed as white on dark blue, cursor is at end of line
4. Now move cursor to the left or click anywhere on the word (to e.g. fix a typo)
5. Text is now displayed as black on dark blue which is very, very hard to read.

I tried several changes to color settings, but none seems to cause the foreground color to remain white during editing.
Comment 1 mnl 2013-12-01 13:36:29 UTC
Created attachment 83852 [details]
Bad colors
Comment 2 Amarvir Singh 2014-02-02 20:35:11 UTC
I can't seem to reproduce it. Clicking on the word makes it white on light blue and moving the cursor makes it black on white, as expected. Could be a desktop theme issue or something similar in your case.
Comment 3 Andreas Cord-Landwehr 2014-02-10 21:00:15 UTC
Git commit b979ba0f70676cd11e98ef49811533daee4651ee by Andreas Cord-Landwehr, on behalf of Amarvir Singh.
Committed on 03/02/2014 at 17:41.
Pushed by cordlandwehr into branch 'master'.

Removes gradient in grade statistics.

This closes the mentioned bugs, as it removes the gradient in learning statistics and uses solid color.
It also makes it even more intuitive for the user, as it uses a single color for all the grades with different alpha values, increasing as grades increase. Thus darker shades mean higher grades.
Also, the grade color settings in Parley configuration have been changed, removing the different color palletes for all grades and leaving just a single base color for all the grades.
The "Use colors" option has been removed from the configuration.
Also, the font color for the translations in the editor has been changed to be the  default black, making the text more readable.
Related: bug 266368

REVIEW: 115449

M  +3    -15   src/settings/parley.kcfg
M  +0    -17   src/settings/viewoptions.cpp
M  +150  -454  src/settings/viewoptionsbase.ui
M  +31   -20   src/statistics/lessonstatistics.cpp
M  +0    -7    src/vocabulary/vocabularymodel.cpp

http://commits.kde.org/parley/b979ba0f70676cd11e98ef49811533daee4651ee