Bug 348154 - Panel is sometimes transparent depending on compositor settings
Summary: Panel is sometimes transparent depending on compositor settings
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.3.0
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL: http://www.hostingpics.net/viewer.php...
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-23 15:08 UTC by jeremy9856
Modified: 2015-07-13 22:13 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Breeze wrongly translucent (221.40 KB, image/jpeg)
2015-06-04 16:50 UTC, jeremy9856
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jeremy9856 2015-05-23 15:08:27 UTC
Panel is sometimes transparent depending on compositor settings. I played with the settings of the compositor (scale method, rendering backend) and suddently the panel become normal (opaque).

When it's transparent depending on the wallpaper the text can become unreadable.

http://www.hostingpics.net/viewer.php?id=573771screenshotdark.jpg

Reproducible: Always

Steps to Reproduce:
1. Select breeze theme
2. Change compositor settings

Actual Results:  
Panel is transparent

Expected Results:  
Panel is opaque
Comment 1 jeremy9856 2015-05-24 10:41:07 UTC
I'm on Netrunner 16 with Nvidia drivers 349.16
Comment 2 Marco Martin 2015-05-26 14:41:38 UTC
does it happen from startup or just after changing theme/settings?
Comment 3 jeremy9856 2015-05-26 15:31:16 UTC
By default Netrunner have a semi transparent theme (not breeze) so it's just after choosing breeze theme that happen. Here you can have more infos :

http://forums.netrunner.com/showthread.php?tid=17630&pid=27392#pid27392
Comment 4 jeremy9856 2015-06-04 16:50:44 UTC
Created attachment 93000 [details]
Breeze wrongly translucent
Comment 5 jeremy9856 2015-06-07 22:37:30 UTC
I see an article on phoronix with desktop screenshots on Fedora and the panel is too transparent too with breeze.

http://www.phoronix.com/scan.php?page=article&item=fedora-22-kde&num=1
Comment 6 jeremy9856 2015-06-08 01:28:47 UTC
If I enable the contrast effect the panel become normal
Comment 7 jeremy9856 2015-06-08 08:50:09 UTC
Thus bug is related to this one :

https://bugs.kde.org/show_bug.cgi?id=337355
Comment 8 Kai Uwe Broulik 2015-06-08 15:33:55 UTC
Git commit d65c0ed1d07b4fb09643c9401a6697db1282d89e by Kai Uwe Broulik.
Committed on 08/06/2015 at 15:30.
Pushed by broulik into branch 'master'.

Bind translucent theme to background contrast rather than blur effect

Only the background contrast effect provides real contrast for contents, the blur effect
doesn't improve readability that much; so we now use the translucent theme only when we
have the background contrast effect. This significantly improves readability.

CHANGELOG: An opaque theme is now used when only the blur effect is available
REVIEW: 124039
Related: bug 342934

M  +12   -15   src/plasma/private/theme_p.cpp
M  +2    -3    src/plasma/private/theme_p.h

http://commits.kde.org/plasma-framework/d65c0ed1d07b4fb09643c9401a6697db1282d89e
Comment 9 bartek1516 2015-07-11 11:39:06 UTC
How do I get back my transparency now? I liked how it was with blur effect. Now I have 0 transparency and I can't seem to find option to turn it back on. I have blur effect on, it works fine on other themes.
Comment 10 David Edmundson 2015-07-13 22:13:21 UTC
@bartek

Find a transparent theme on kde-look. Breeze with the transparency can be found here:
http://kde-look.org/content/show.php?content=170623 it is just a case of overriding the one config file.

In your case it was transparent because of a bug. The theme assumed it was being blurred with this effect, falling back to an opaque one if this effect is not available.

Ideally if you want your theme to look different, it should be because you chose the theme to look different; not as a side effect of breaking something in kwin. 
It's an option in kwin for performance reasons not aesthetics ones. It wouldn't be fair on others to have the theme change because they made a performance change. Plus having that as the "correct" way to change the theme would not be particularly discoverable.