Bug 364641

Summary: Panel is missing transparency at logon
Product: [Frameworks and Libraries] libplasma Reporter: Antonio Rojas <arojas>
Component: libplasmaAssignee: Marco Martin <notmart>
Status: RESOLVED DUPLICATE    
Severity: normal CC: asturm, krinpaus, kwin-bugs-null, naufal.fachrian, stupor_scurvy343
Priority: NOR    
Version: 5.23.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Antonio Rojas 2016-06-22 18:45:27 UTC
In 5.7 beta, after logon the panel is missing transparency and shadows - it's as if compositing was off, but only for the panel. Restarting plasmashell after logon is finished fixes it.

==========================

Version
=======
KWin version: 5.6.95
Qt Version: 5.7.0
Qt compile version: 5.7.0
XCB compile version: 1.12

Operation Mode: X11 only

Build Options
=============
KWIN_BUILD_DECORATIONS: yes                                                                                                                               
KWIN_BUILD_TABBOX: yes                                                                                                                                    
KWIN_BUILD_ACTIVITIES: yes                                                                                                                                
HAVE_INPUT: yes                                                                                                                                           
HAVE_DRM: yes                                                                                                                                             
HAVE_GBM: yes                                                                                                                                             
HAVE_X11_XCB: yes                                                                                                                                         
HAVE_EPOXY_GLX: yes                                                                                                                                       
HAVE_WAYLAND_EGL: yes                                                                                                                                     
                                                                                                                                                          
X11                                                                                                                                                       
===                                                                                                                                                       
Vendor: The X.Org Foundation                                                                                                                              
Vendor Release: 11803000                                                                                                                                  
Protocol Version/Revision: 11/0
SHAPE: yes; Version: 0x11
RANDR: yes; Version: 0x14
DAMAGE: yes; Version: 0x11
Composite: yes; Version: 0x4
RENDER: yes; Version: 0xb
XFIXES: yes; Version: 0x50
SYNC: yes; Version: 0x31
GLX: yes; Version: 0x0

Decoration
==========
Plugin: org.kde.breeze
Theme: 
Blur: 0
onAllDesktopsAvailable: false
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0, 9
decorationButtonsRight: 6, 3, 4, 5
borderSize: 3
gridUnit: 16
font: Noto Serif,16,-1,5,75,0,0,0,0,0
smallSpacing: 4
largeSpacing: 16

Options
=======
focusPolicy: 0
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
placement: 4
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
rollOverDesktops: true
focusStealingPreventionLevel: 1
legacyFullscreenSupport: false
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: 0
commandActiveTitlebar2: 30
commandActiveTitlebar3: 2
commandInactiveTitlebar1: 4
commandInactiveTitlebar2: 30
commandInactiveTitlebar3: 2
commandWindow1: 7
commandWindow2: 8
commandWindow3: 8
commandWindowWheel: 31
commandAll1: 10
commandAll2: 3
commandAll3: 14
keyCmdAllModKey: 16777251
showGeometryTip: false
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
hideUtilityWindowsForInactive: true
inactiveTabsSkipTaskbar: false
autogroupSimilarWindows: false
autogroupInForeground: true
compositingMode: 1
useCompositing: true
compositingInitialized: true
hiddenPreviews: 1
unredirectFullscreen: false
glSmoothScale: 1
colorCorrected: false
xrenderSmoothScale: false
maxFpsInterval: 16666666
refreshRate: 0
vBlankTime: 6000000
glStrictBinding: false
glStrictBindingFollowsDriver: true
glCoreProfile: true
glPreferBufferSwap: 0
glPlatformInterface: 2

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance: 1x1
timeThreshold: 150
reActivateThreshold: 350
actionTopLeft: 0
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 0
actionBottom: 0
actionBottomLeft: 0
actionLeft: 0

Screens
=======
Multi-Head: no
Active screen follows mouse:  no
Number of Screens: 1

Screen 0:
---------
Name: eDP-1
Geometry: 0,0,1920x1080
Refresh Rate: 60.0204


Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile 
OpenGL version string: 3.3 (Core Profile) Mesa 11.2.2
OpenGL platform interface: EGL
OpenGL shading language version string: 3.30
Driver: Intel
GPU class: Haswell
OpenGL version: 3.3
GLSL version: 3.30
Mesa version: 11.2.2
X server version: 1.18.3
Linux kernel version: 4.6.2
Direct rendering: Requires strict binding: no
GLSL shaders:  yes
Texture NPOT support:  yes
Virtual Machine:  no
OpenGL 2 Shaders are used
Painting blocks for vertical retrace:  no

Loaded Effects:
---------------
zoom
thumbnailaside
dimscreen
slidingpopups
kwin4_effect_login
slide
screenshot
minimizeanimation
kwin4_effect_windowaperture
kwin4_effect_translucency
kwin4_effect_scalein
diminactive
desktopgrid
coverswitch
kwin4_effect_fade
kwin4_effect_maximize
kwin4_effect_morphingpopups
presentwindows
kwin4_effect_dialogparent
highlightwindow
blur
logout
startupfeedback
screenedge
kscreen

Currently Active Effects:
-------------------------
diminactive
blur

Effect Settings:
----------------
zoom:
zoomFactor: 1.2
mousePointer: 0
mouseTracking: 0
enableFocusTracking: false
followFocus: true
focusDelay: 350
moveFactor: 20
targetZoom: 1

thumbnailaside:
maxWidth: 500
spacing: 10
opacity: 0.5
screen: -1

dimscreen:

slidingpopups:
fadeInTime: 150
fadeOutTime: 250

kwin4_effect_login:

slide:

screenshot:

minimizeanimation:

kwin4_effect_windowaperture:

kwin4_effect_translucency:

kwin4_effect_scalein:

diminactive:
dimPanels: false
dimDesktop: false
dimKeepAbove: false
dimByGroup: true
dimStrength: 25

desktopgrid:
zoomDuration: 300
border: 10
desktopNameAlignment: 0
layoutMode: 0
customLayoutRows: 2
usePresentWindows: true

coverswitch:
animationDuration: 200
animateSwitch: true
animateStart: true
animateStop: true
reflection: true
windowTitle: true
zPosition: 900
primaryTabBox: false
secondaryTabBox: true

kwin4_effect_fade:

kwin4_effect_maximize:

kwin4_effect_morphingpopups:

presentwindows:
layoutMode: 0
showCaptions: true
showIcons: true
doNotCloseWindows: false
ignoreMinimized: false
accuracy: 20
fillGaps: true
fadeDuration: 150
showPanel: false
leftButtonWindow: 1
rightButtonWindow: 2
middleButtonWindow: 0
leftButtonDesktop: 2
middleButtonDesktop: 0
rightButtonDesktop: 0

kwin4_effect_dialogparent:

highlightwindow:

blur:
blurRadius: 12
cacheTexture: true

logout:
useBlur: true

startupfeedback:
type: 1

screenedge:

kscreen:


Reproducible: Always
Comment 1 Martin Flöser 2016-06-22 18:50:41 UTC
> OpenGL version string: 3.3 (Core Profile) Mesa 11.2.2
> OpenGL platform interface: EGL

Please try with default settings (GL 2/GLX)
Comment 2 Antonio Rojas 2016-06-22 18:54:51 UTC
(In reply to Martin Gräßlin from comment #1)
> Please try with default settings (GL 2/GLX)

Same thing
Comment 3 Martin Flöser 2016-06-22 18:58:23 UTC
Reassigning to Plasma as in KWin everything looks fine and a restart of Plasma fixes it.
Comment 4 Thomas Lübking 2016-06-22 20:10:45 UTC
Does restarting the compositor "fix" it as well?
(SHIFT+Alt+F12 twice)
Comment 5 Antonio Rojas 2016-06-22 20:18:56 UTC
(In reply to Thomas Lübking from comment #4)
> Does restarting the compositor "fix" it as well?
> (SHIFT+Alt+F12 twice)

Yes
Comment 6 Thomas Lübking 2016-06-22 21:02:53 UTC
likely a race condition.

ThemePrivate::ThemePrivate  checks the compositor at construction, figures it's not (yet) there, selects the uncomposited theme and misses the CM selection change because it establishes the listener only then (and too late) at the end of the constructor

afair there's already such bug reported (but might relate to contrast effect; in case it's the same problem, though - properties being watched after checking them)
Comment 7 Antonio Rojas 2016-07-01 19:32:50 UTC

*** This bug has been marked as a duplicate of bug 362531 ***
Comment 8 Martin Flöser 2016-11-02 13:21:14 UTC
*** Bug 365591 has been marked as a duplicate of this bug. ***