Bug 346348 - Thumbnail without icon and title
Summary: Thumbnail without icon and title
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager (show other bugs)
Version: 5.3.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL: https://docs.google.com/uc?id=0B0Mykr...
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-18 22:36 UTC by Guido
Modified: 2015-11-25 14:09 UTC (History)
4 users (show)

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


Attachments
screenshot of the problem (145.17 KB, image/jpeg)
2015-04-20 11:38 UTC, Marco Martin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guido 2015-04-18 22:36:08 UTC
Both Icon Only Task Manager and default task manager display a weird windows thumbnail /see photo) without windows title and icon. That occours randomly during the session. When it occours it go back to normal after 2-3 thumbnail visualization.

Reproducible: Sometimes

Steps to Reproduce:
1. Move the mouse pointer on a icon in the taskbar
2. see the thumbnail


Actual Results:  
sometimes it is without icon and title

Expected Results:  
it should shows icon and title of the window

My videocard is Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
I use OpenGL 3.1 for Kwin

Actually I use Manjaro not Arch but I don't think it is a distro-specific problem.
Comment 1 Marco Martin 2015-04-20 09:33:02 UTC
comment mentions a screenshot that is not present
Comment 2 Guido 2015-04-20 11:31:31 UTC
I inserted it in the "URL" field. 
Btw: 

https://docs.google.com/uc?id=0B0MykrNTpt9LUTM3a1VPWVR5cEE
Comment 3 Marco Martin 2015-04-20 11:38:23 UTC
Created attachment 92129 [details]
screenshot of the problem
Comment 4 Marco Martin 2015-04-20 11:39:26 UTC
screenshots are better as atachment (done) very rarely i can reproduce it tough
Comment 5 Guido 2015-04-20 12:53:29 UTC
For me the bug occurs more often than not
Comment 6 Guido 2015-05-04 16:31:24 UTC
I noted that if I move the mouse pointer on a launcher of a not-running program in the taskbar and then I move the mouse back on the running program, the thumbnail is correct.
Comment 7 Guido 2015-05-05 12:26:27 UTC
Plasma 5.3 doesn't solve the problem
Comment 8 Guido 2015-06-28 23:40:36 UTC
can I help with some test?
Comment 9 Guido 2015-10-03 19:21:48 UTC
I noticed that the problem appears when there are launchers in the bar. Whithout launcher all is fine. Icons dont create the problem.
Comment 10 Fabian Vogt 2015-10-24 09:36:48 UTC
I find this issue quite annoying as well and tracked it down to
    Layout.minimumWidth: width
    Layout.minimumHeight: height
    Layout.maximumWidth: width
    Layout.maximumHeight: height

in /usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/ToolTipDelegate.qml:40
Can you confirm that it works (reliably) if you remove or comment out those four lines?
I'm not sure what the purpose of those lines is, as the element is "Column" and width and height are set manually.
Comment 11 David Edmundson 2015-10-24 09:59:28 UTC
>I find this issue quite annoying as well and tracked it down to 

 Layout.minimumWidth: width

is fundamentally completely completely wrong. If you're in a layout, the layout is controlling your width; you've basically got a binding loop.

I'll change it to what it should be.
Comment 12 David Edmundson 2015-10-24 10:31:02 UTC
The Layout attached property isn't actually being used by a layout. 
Plasma Dialog uses them as extra size hints
Comment 13 Guido 2015-10-25 15:23:46 UTC
@Fabian: your suggestion seems to work well
Comment 14 Fabian Vogt 2015-11-07 16:08:19 UTC
Bump.

(In reply to David Edmundson from comment #12)
> The Layout attached property isn't actually being used by a layout. 
> Plasma Dialog uses them as extra size hints

What for? I mean, it works 100% fine without them.
Comment 15 David Rosca 2015-11-25 14:09:52 UTC
Git commit 0ed62041f1715d4e732576bde3e98b7c6d1f3190 by David Rosca, on behalf of Fabian Vogt.
Committed on 25/11/2015 at 14:08.
Pushed by drosca into branch 'Plasma/5.5'.

taskmanager: Fix sometimes not showing labels in tooltip
FIXED-IN: 5.5.0
REVIEW: 126162

M  +0    -4    applets/taskmanager/package/contents/ui/ToolTipDelegate.qml

http://commits.kde.org/plasma-desktop/0ed62041f1715d4e732576bde3e98b7c6d1f3190