Bug 334331 - Thumbnails stop working after a while
Summary: Thumbnails stop working after a while
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager (show other bugs)
Version: master
Platform: unspecified Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-04 14:25 UTC by Antonio Rojas
Modified: 2014-10-09 10:14 UTC (History)
4 users (show)

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


Attachments
log (79.63 KB, text/plain)
2014-10-06 11:07 UTC, Antonio Rojas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Rojas 2014-05-04 14:25:47 UTC
After running plasma for a while, taskbar thumbnails stop appearing for no apparent reason (compositing is still on). Killing and restarting plasma-shell makes them work again.

Reproducible: Always
Comment 1 Martin Flöser 2014-05-04 20:17:30 UTC
What's your git hash of plasma-framework? There was a recent commit which might affect the behavior (to the better).
Comment 2 Antonio Rojas 2014-05-04 20:20:11 UTC
(In reply to comment #1)
> What's your git hash of plasma-framework?

5713f72
Comment 3 Bhushan Shah 2014-05-24 15:21:41 UTC
is this still valid?
Comment 4 Antonio Rojas 2014-05-24 19:31:22 UTC
(In reply to comment #3)
> is this still valid?

yes
Comment 5 David Edmundson 2014-06-20 14:53:22 UTC
Is it still valid now?
I know there have been changes in this area in the last few weeks.
Comment 6 Antonio Rojas 2014-06-20 16:51:15 UTC
Yes this is still valid
Comment 7 Martin Flöser 2014-06-20 21:04:20 UTC
for what windows does it break? Are they minimized or on a different desktop?

please provide output of
qdbus org.kde.KWin /KWin supportInformation
Comment 8 Antonio Rojas 2014-06-20 21:15:09 UTC
(In reply to comment #7)
> for what windows does it break? Are they minimized or on a different desktop?

All windows, once they stop working there are no thumbnails at all 

> qdbus org.kde.KWin /KWin supportInformation
Información sobre KWin:
La siguiente información se debe usar al solicitar ayuda, por ejemplo en http://forum.kde.org.
Proporciona información sobre la instancia que se ejecuta actualmente, qué opciones se están usando,
qué controlador OpenGL y qué efectos están activos.
Por favor, envíe la información proporcionada a continuación de este texto de introducción a un
servicio de bandeja de pegar como http://paste.kde.org en lugar de pegarla en hilos de ayuda.

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

Version
=======
KWin version: 4.97.0
Qt Version: 5.3.0

Operation Mode: X11 only

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
showDesktopIsMinimizeAll: false
rollOverDesktops: true
focusStealingPreventionLevel: 1
legacyFullscreenSupport: false
operationTitlebarDblClick: 
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: 2
colorCorrected: false
xrenderSmoothScale: false
maxFpsInterval: 16666666
refreshRate: 0
vBlankTime: 6000000
glStrictBinding: false
glStrictBindingFollowsDriver: true
glCoreProfile: true
glPreferBufferSwap: 101
glPlatformInterface: 

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance: 
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 Geometry: 0,0,1920x1080

Decoration
==========
Current Plugin: Oxygen
Shadows: yes
Alpha: yes
Announces Alpha: yes
Tabbing: yes
Frame Overlap: no
Blur Behind: no

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 10.2.1
OpenGL platform interface: GLX
OpenGL shading language version string: 3.30
Driver: Intel
GPU class: Haswell
OpenGL version: 3.3
GLSL version: 3.30
Mesa version: 10.2.1
X server version: 1.15.1
Linux kernel version: 3.15.1
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
diminactive
desktopgrid
kwin4_effect_translucency
kwin4_effect_maximize
kwin4_effect_fade
presentwindows
kwin4_effect_dialogparent
highlightwindow
blur
contrast
logout
dashboard
startupfeedback
screenedge
kscreen

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

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:

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

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

kwin4_effect_translucency:

kwin4_effect_maximize:

kwin4_effect_fade:

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

contrast:

logout:
useBlur: true

dashboard:
brightness: 0.5
saturation: 0.5
blur: false

startupfeedback:

screenedge:

kscreen:
Comment 9 Martin Flöser 2014-06-20 21:26:49 UTC
> OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile 

you most likely hit upstream bug: https://bugs.freedesktop.org/show_bug.cgi?id=79448
Comment 10 Antonio Rojas 2014-06-20 21:32:31 UTC
(In reply to comment #9)
> > OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile 
> 
> you most likely hit upstream bug:
> https://bugs.freedesktop.org/show_bug.cgi?id=79448

Yes, I have that issue, and it's causing the thumbmails to be the same for all windows when they are shown. But this is a different thing: there is no corruption, no black squares, nothing: the tooltip contains only the application name and desktop number, as if thumbnails were turned off. I have QSG_RENDER_LOOP=threaded to avoid the Mesa bug and I'm still seeing this.
Comment 11 Aleix Pol 2014-07-07 17:24:31 UTC
Most of these issues got fixed for me when Arch updated to a later mesa.

Now I have:
LibGL Vendor: Intel Open Source Technology Center
Renderer: Mesa DRI Intel(R) Ironlake Mobile 
Version: 2.1 Mesa 10.2.2
Shading language: 1.20
Format: Version: 2.1 Profile: 0 Swap behavior: 0 Buffer size (RGBA): 8,8,8,8
Comment 12 Antonio Rojas 2014-07-07 17:29:16 UTC
I'm still seeing this with Mesa 10.2.2. Unfortunately I have no idea what triggers it or how to reproduce it, but it consistently happens after a sufficiently long plasma session (over 1 day)
Comment 13 Aleix Pol 2014-07-07 18:06:20 UTC
Maybe try a newer Qt 5.3? I'm using the 5.3 git branch
Comment 14 David Edmundson 2014-09-25 18:03:22 UTC
Did the released 5.3 Qt fix it?
Comment 15 Antonio Rojas 2014-09-25 18:22:17 UTC
No, still consistently happening after a few hours of plasma use with current plasma git. Unfortunately I still have no clue of how to trigger it.
Comment 16 Antonio Rojas 2014-10-06 11:06:30 UTC
More info: the moments before this happens, the tooltips look corrupted: once they appeared really tall (more than twice its usual height) with the thumbnail on top. Now it happened again, and immediately before the tooltips showed only the thumbnail (no text) for a few seconds. Attaching kwin log for that period in case there's something useful there.
Comment 17 Antonio Rojas 2014-10-06 11:07:57 UTC
Created attachment 88996 [details]
log

At 12:58 tooltips were OK, they broke at 12:59
Comment 18 Eike Hein 2014-10-06 11:55:58 UTC
Maybe related to https://gerrit.vesnicky.cesnet.cz/r/71
Comment 19 Antonio Rojas 2014-10-09 06:40:53 UTC
(In reply to Eike Hein from comment #18)
> Maybe related to https://gerrit.vesnicky.cesnet.cz/r/71

Indeed, I applied the patch and can't reproduce anymore. But now thumbnails appear behind the taskbar for a while at startup. In any case, this one seems fixed.
Comment 20 Eike Hein 2014-10-09 09:18:57 UTC
> But now thumbnails appear behind the taskbar for a while at startup.

Could you elaborate on this please?
Comment 21 Eike Hein 2014-10-09 10:14:56 UTC
I'm hearing this should be resolved by 68eadae in plasma-framework, can't reproduce it here either ...