Bug 314854 - regression with KDE 4.10: Lyrics background has the wrong colour
Summary: regression with KDE 4.10: Lyrics background has the wrong colour
Alias: None
Product: amarok
Classification: Applications
Component: Context View/Lyrics (show other bugs)
Version: 2.8.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: 2.9
Assignee: Amarok Developers
Keywords: regression
Depends on:
Reported: 2013-02-10 21:04 UTC by Christian (Fuchs)
Modified: 2016-08-09 11:58 UTC (History)
6 users (show)

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

Screenshot showing the problem (60.73 KB, image/png)
2013-02-10 21:04 UTC, Christian (Fuchs)
old state 1 (165.83 KB, image/png)
2013-03-18 20:06 UTC, Christian (Fuchs)
old state 2 (112.67 KB, image/png)
2013-03-18 20:07 UTC, Christian (Fuchs)
Color change depending on Selection Background setting (373.13 KB, image/png)
2013-12-30 21:29 UTC, Thomas Mitterfellner

Note You need to log in before you can comment on or make changes to this bug.
Description Christian (Fuchs) 2013-02-10 21:04:22 UTC
Since updating to KDE 4.10, the lyrics background colour is wrong. 
It used to be the same blue-ish background as the other context views (e.g. wikipedia, similar artists) have, now it is all white (see attached screenshot). 

Not sure if an amarok or plasma problem, but so far I only see amarok affected.

Reproducible: Always

Steps to Reproduce:
1. Get KDE 4.10
2. Start amarok
3. Switch to lyrics view
Actual Results:  
Background has wrong colour

Expected Results:  
Background has the same colour as other context views
Comment 1 Christian (Fuchs) 2013-02-10 21:04:41 UTC
Created attachment 77106 [details]
Screenshot showing the problem
Comment 2 Myriam Schweingruber 2013-02-11 09:00:35 UTC
Comment 3 Matěj Laitl 2013-03-18 19:42:22 UTC
Please also provide screenshot of the "old" state for clarity.
Comment 4 Christian (Fuchs) 2013-03-18 20:06:54 UTC
Created attachment 78184 [details]
old state 1
Comment 5 Christian (Fuchs) 2013-03-18 20:07:11 UTC
Created attachment 78185 [details]
old state 2
Comment 6 Mikhail Ivchenko 2013-12-04 10:21:50 UTC
Still not fixed for Amarok v2.8.0 and KDE 4.11.3
Comment 7 Thomas Mitterfellner 2013-12-30 21:28:04 UTC
To me it seems that it's not the /lyrics/ color's background is wrong, but rather e.g. the one of the wikipedia plugin. The wikipedia background seems to be connected somehow to the global "Selection Background" setting. But it does not get exactly the color chosen there but rather some transparency/intensity-modified version thereof. In fact, all of the background colors seem to be derived from the global "Selection Background", see screenshot. Different global Selection Background settings lead to different 'one color themes'.

While this feature is nice, for the page background that is not what I would expect. I'd rather expect the page background to be derived from the global "View Background" setting, just as is the case for the lyrics browser (IMO the 'correct' behavior).
Comment 8 Thomas Mitterfellner 2013-12-30 21:29:43 UTC
Created attachment 84354 [details]
Color change depending on Selection Background setting
Comment 9 coolguysarehere+kde 2014-02-26 21:47:11 UTC
I would like to fix this bug. Please
Comment 10 coolguysarehere+kde 2014-02-26 21:48:42 UTC
I would like to fix this bug. Please guide me.
Comment 11 Myriam Schweingruber 2014-02-27 15:21:51 UTC
(In reply to comment #10)
> I would like to fix this bug. Please guide me.

Go ahead. The source is available online, so is the documentation, as a developer you should be able to find this on your own.

Please submit your code to reviewboard (steps are in the online documentation as well.
Comment 12 Stefano Pettini 2016-06-19 01:06:53 UTC
Please review fix:

I believe the look and feel of every context applet should be the same, that is a lighter version of the highlight color. This is true for current track, similar artist and other applets, so I support the opinion of the original bug reporter.

I fixed the bug by making the textbox of the lyrics browser transparent.

The lyrics browser also has an "edit lyrics" mode. In this case, the textbox background color is switched to the default on and switched back to transparent after exiting the editing mode.

If you agree with the solution, please review the code and merge my patch.
Comment 13 Matěj Laitl 2016-08-07 10:17:51 UTC
Git commit bdbb3a27f556c41910d3b814e5a4c73a2a93362f by Matěj Laitl, on behalf of Stefano Pettini.
Committed on 07/08/2016 at 09:42.
Pushed by laitl into branch 'master'.

Use transparent background for lyrics browser

This makes the lyrics browser similar to every other context applet.
Please note that, when editing lyrics, the default textbox background
is still used.

REVIEW: 128246

M  +1    -0    ChangeLog
M  +5    -7    src/context/applets/lyrics/LyricsBrowser.cpp