Bug 263816 - Text in notes plasma applet is unreadable when used plasma theme defines a bright text color
Summary: Text in notes plasma applet is unreadable when used plasma theme defines a br...
Status: RESOLVED FIXED
Alias: None
Product: kjots
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Stephen Kelly
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-21 05:05 UTC by Elias Probst
Modified: 2013-07-15 18:55 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.11.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Probst 2011-01-21 05:05:50 UTC
Version:           unspecified (using KDE 4.5.95) 
OS:                Linux

Due to the shifted KDEPIM releases, I'm using:
KDE SC 4.6 RC2 (4.5.95)
kjots 4.5.94.1
Qt 4.7.1

When using a plasma theme which defines a bright text color (such as 'Oxygen' or 'Slim Glow' the text of an 'Akonotes Notes Plasmoid' is not readable at all.

Reproducible: Always

Steps to Reproduce:
1. Configure plasma to use the 'Oxygen' or 'Slim Glow' theme
2. Add an 'Akonotes Notes Plasmoid' applet to the desktop containment
3. Put some text onto it
4. Try to read the text

Actual Results:  
The text is not readable at all because it white on bright yellow.

Expected Results:  
I'd expect the plasmoid to take care of selecting a sane default background color or a darker font color.
Comment 1 Mathias Védrines 2011-02-16 13:01:03 UTC
Hi,

I'm using:
Qt: 4.7.1
KDE Development Platform: 4.6.00 (4.6.0)
on Fedora 14, KDE 4.6 installed from kde-redhat's kde-testing repo.

I can experience the same problem.

For example with the dark "Aya" plasma desktop theme, on the default yellow sticky note widget, the "theme color" used is a kind of light gray, thus it is unreadable.
If I go into the "Notes Settings" dialog for my widget, I can choose "Color: Use custom color". From here I choose for example a very standard black color (#000), making the text readable again. I can type some text on the first line (or below it) and the text will be black, as I set just before. But, if I open a line above the first line of my note, the text I type at the top of the note will have the light gray, unreadable, default color.

Could someone please re-assign the bug to Product: plasma, Component: widget-notes, as it doesn't seem to be a kjots issue…
Comment 2 Elias Probst 2011-02-16 14:13:16 UTC
No need to change the component. For the generic notes applet, this was already fixed for 4.6.1 in bug#263016
Comment 3 naraesk 2012-05-14 22:16:16 UTC
The "normal" notes plugin looks nice, but the akonadi/kjots note widget is still unreadable for me. See: http://simplest-image-hosting.net/png-0-xu4753
Comment 4 naraesk 2013-07-12 11:31:20 UTC
Any news on this after one year? I'd really like to use it, but yellow background + white tex is still unreadable.

To clarify: We are talking about the akonadi notes plugin, not the generic/normale one that exists since years.
Comment 5 Wolfgang Bauer 2013-07-15 12:29:22 UTC
I have created a patch that fixes this by simply setting the text color to black:
https://git.reviewboard.kde.org/r/111515/
Comment 6 Wolfgang Bauer 2013-07-15 18:55:25 UTC
Git commit 1ece4afe38602bd5947393d49c9067ffbce1dfa9 by Wolfgang Bauer.
Committed on 15/07/2013 at 18:53.
Pushed by wbauer into branch 'KDE/4.11'.

Explicitely set text color to black

The akonotes plasmoid provided by KJots has a yellow background
(provided by an svg image) but takes the text color from the current
plasma theme.
This results in unreadable notes when you are using a (dark) theme with
a bright text color, e.g. Slim Glow or Produkt.

This patch fixes this by simply setting the text color to black.
FIXED-IN: 4.11.0
REVIEW: 111515

M  +10   -0    kjots/plasmoid/akonotes_noteapplet.cpp

http://commits.kde.org/kdepim/1ece4afe38602bd5947393d49c9067ffbce1dfa9