Bug 360047

Summary: window title in tooltip not in sync
Product: [Plasma] plasmashell Reporter: Christian (Fuchs) <kde>
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Eike Hein <hein>
Status: RESOLVED FIXED    
Severity: normal CC: plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.5.95   
Target Milestone: 1.0   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.6.0
Sentry Crash Report:

Description Christian (Fuchs) 2016-03-04 00:59:21 UTC
The window title in the tooltip of task manager is not updated when the window title changes.
This can be best reproduced with the new media control functionality (which is awesome, by the way. Aside from the usual tiny sizes) 

Reproducible: Always

Steps to Reproduce:
1. Have a media player open, e.g. amarok
2. Mouse hover the entry in the task bar to get the tooltip
3. Use it to skip to the next song

Actual Results:  
The song title is updated in the new player control, but the window title below stays on the old (now wrong) value

Expected Results:  
Both are updated

Note that this is just one example, in general the text should be kept in sync with the window title, not just for audio players
Comment 1 Eike Hein 2016-03-04 10:59:10 UTC
Git commit d815d41460206a5555c58228fb1b6b0e7124e336 by Eike Hein.
Committed on 04/03/2016 at 10:58.
Pushed by hein into branch 'Plasma/5.6'.

Update window title in tooltip in realtime.

M  +8    -0    applets/taskmanager/package/contents/ui/Task.qml

http://commits.kde.org/plasma-desktop/d815d41460206a5555c58228fb1b6b0e7124e336
Comment 2 Christian (Fuchs) 2016-03-05 14:55:49 UTC
Unfortunately not fully fixed with the above mentioned patch, still occurs, oddly enough sometimes it now works.
Comment 3 Kai Uwe Broulik 2016-03-07 11:12:33 UTC
Git commit 2fce1bc6a837fff8457e6e54566a39bf287a32f2 by Kai Uwe Broulik.
Committed on 07/03/2016 at 11:12.
Pushed by broulik into branch 'Plasma/5.6'.

[Task Manager] Use bindings for tooltip information

Let's let QML do what it can do best and update all the information real time.
FIXED-IN: 5.6.0

M  +15   -14   applets/taskmanager/package/contents/ui/Task.qml

http://commits.kde.org/plasma-desktop/2fce1bc6a837fff8457e6e54566a39bf287a32f2