Bug 329513 - unreadable selected characters in ibus
Summary: unreadable selected characters in ibus
Status: RESOLVED FIXED
Alias: None
Product: Oxygen
Classification: Plasma
Component: gtk3-engine (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Hugo Pereira Da Costa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-01 22:54 UTC by nucleo
Modified: 2014-01-03 11:10 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
ibus suggested character no. 1 unreadable (11.33 KB, image/png)
2014-01-01 22:55 UTC, nucleo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nucleo 2014-01-01 22:54:48 UTC
The selected Chinese character suggested by ibus is unreadable under KDE with oxygen-gtk activated due to the colour combination.

Reproducible: Always

Steps to Reproduce:
1. Use KDE and activate oxygen-gtk under System Settings -> Application Appearance -> GTK+ Appearance
2. Enable ibus and Chinese - Intelligent Pinyin
3. Enter some words
Actual Results:  
The selected character in the pop up selection box (by default no. 1) is unreadable because it is dark grey in a black box.

Expected Results:  
Have a colour combination that makes the selected character readable.

The latest version in the repo's is oxygen-gtk3-1.3.1-1.fc20. This version has the problem with the unreadable text.

I installed oxygen-gtk3-1.1.4-2.fc20 from Koji. With the older version the problem goes away. The box becomes blue and the characters are readable.

See https://bugzilla.redhat.com/show_bug.cgi?id=1047505
Comment 1 nucleo 2014-01-01 22:55:16 UTC
Created attachment 84402 [details]
ibus suggested character no. 1 unreadable
Comment 2 nucleo 2014-01-01 23:03:43 UTC
gtk3 version 3.10.6.
Comment 3 Hugo Pereira Da Costa 2014-01-02 18:05:02 UTC
I can reproduce and am working on it.
Will not be easy though, because the commit that introduced the regression was meant to fix another bug ...
Will keep you posted; 
thanks for reporting.
Comment 4 Hugo Pereira Da Costa 2014-01-03 11:09:10 UTC
Git commit b6a807959284f6abed0ee11d2fc36ac7742a2927 by Hugo Pereira Da Costa.
Committed on 02/01/2014 at 13:21.
Pushed by hpereiradacosta into branch 'gtk3'.

Only check for background class when painting background on windows.

M  +2    -2    src/oxygenthemingengine.cpp

http://commits.kde.org/oxygen-gtk/b6a807959284f6abed0ee11d2fc36ac7742a2927
Comment 5 Hugo Pereira Da Costa 2014-01-03 11:09:11 UTC
Git commit c4848f77aac174e7bc58cc2b31641c53467c46bd by Hugo Pereira Da Costa.
Committed on 03/01/2014 at 11:06.
Pushed by hpereiradacosta into branch 'gtk3'.

Fixed selection color for GtkLabel.

M  +1    -0    src/oxygenqtsettings.cpp

http://commits.kde.org/oxygen-gtk/c4848f77aac174e7bc58cc2b31641c53467c46bd
Comment 6 Hugo Pereira Da Costa 2014-01-03 11:10:11 UTC
These two commits should fix it (tested here).
Will appear in comming gtk3-1.3.2 release (in a week or so)
So closing.
Thanks again for reporting (it actually fixes more issues than only this one)