Bug 352445

Summary: Loss of panel translucency at initial login
Product: [Plasma] plasmashell Reporter: Paul <pip.kde>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: antkoul, kde, notmart, thomas.luebking
Priority: NOR    
Version: 5.4.0   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: panel-no-translucency
panel-toggle-compositing-off
panel-toggle-compositing-on
support-info-no-translucency
support-info-with-translucency

Description Paul 2015-09-08 16:25:43 UTC
At initial login the plasma panel has a solid white background, not the translucent one it should have.
Toggling compositing off and then on (ctrl-shift-F12, ctrl-shift-F12) restores translucency.

Reproducible: Always

Steps to Reproduce:
1. Set Desktop Theme to 'Air openSUSE'
2. Set Window Decoration to 'Oxygen'
3. Log out from KDE/Plasma
4. Log in to KDE/Plasma


Actual Results:  
Plasma Panel has solid white, non-translucent background.

Expected Results:  
Plasma Panel has translucent background.

Toggling compositing off results in a Plasma Panel which still has a solid white background, but now with miniature icons.
Toggling compositing back on results in a correctly displayed panel with translucent background and normal sized icons.

Please see attached screenshots and kwin support information.
Comment 1 Paul 2015-09-08 16:27:37 UTC
Created attachment 94472 [details]
panel-no-translucency

At initial login the panel has a solid white background.
Comment 2 Paul 2015-09-08 16:28:46 UTC
Created attachment 94473 [details]
panel-toggle-compositing-off

After toggling compositing off I get a solid white background but with funky miniature icons
Comment 3 Paul 2015-09-08 16:29:22 UTC
Created attachment 94474 [details]
panel-toggle-compositing-on

Toggle compositing again and I get the correct translucent background
Comment 4 Paul 2015-09-08 16:32:06 UTC
Created attachment 94475 [details]
support-info-no-translucency

kwin suport info - initial login - panel with no translucency
Comment 5 Paul 2015-09-08 16:33:09 UTC
Created attachment 94476 [details]
support-info-with-translucency

kwin suport info - after toggling compositing off, then on - panel with correct translucency
Comment 6 Thomas Lübking 2015-09-08 18:22:37 UTC
compositing, blur and contrast effect are loaded - plasma simply uses the wrong theme (or has the contrast hints falsely set)

=> Can you please try to deactivate the "contrast" effect in "kcmshell5 kwineffects" and see whether that makes any difference?
Comment 7 Paul 2015-09-08 19:45:16 UTC
(In reply to Thomas Lübking from comment #6)
> => Can you please try to deactivate the "contrast" effect in "kcmshell5
> kwineffects" and see whether that makes any difference?

With the "Background contrast" effect disabled the panel remains solid white non-translucent, toggling compositing off-on does not restore translucency.

Also (just discovered), I don't know if it helps in tracking this down:

Re-enable "contrast" and apply - translucency returns. Disable "contrast" and apply - translucency disappears.
Comment 8 Thomas Lübking 2015-09-08 20:14:12 UTC
The behavior is because of bug #348154
Apparently plasmashell either initially picks the "wrong" theme variant or sets the "wrong" background color.
Comment 9 Paul 2015-09-09 10:01:15 UTC
OK - Thanks...
Comment 10 David Edmundson 2015-09-09 10:18:39 UTC

*** This bug has been marked as a duplicate of bug 350184 ***
Comment 11 Paul 2015-09-09 10:32:02 UTC
(In reply to David Edmundson from comment #10)
> 
> 
> *** This bug has been marked as a duplicate of bug 350184 ***

In marking this as a duplicate you did realise that I am using a theme with a transparent panel, (Air openSUSE), and not Breeze as that bug report seems to be referring to.
Comment 12 David Edmundson 2015-09-09 10:41:31 UTC
oh you're right. It does seem to be something different.
Comment 13 Antonis K 2016-07-19 17:04:07 UTC
I have the same issue with kwin 5.7.1 (and for some time now) on default breeze theme.
Even restarting kwin on the same session (kwin_x11 --replace) makes panels etc translucent, but on initial login everything is opaque.
Tried on a fresh profile and this behavior is still present.
My hardware is intel gma x4500.
Any steps for further investigation would be greatly appreciated.
Comment 14 Thomas Lübking 2016-07-19 17:29:39 UTC
the bug is not in kwin, likely bug #364641 (race condition in libplasma theme code)
Comment 15 David Edmundson 2016-07-20 13:57:38 UTC

*** This bug has been marked as a duplicate of bug 362531 ***