| Summary: | Task Manager thumbnails for grouped tasks lead to incorrect windows | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | madcatx |
| Component: | Task Manager and Icons-Only Task Manager widgets | Assignee: | Eike Hein <hein> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | eherenz, plasma-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | 5.7.0 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/plasma-workspace/313aede08506b87358e0d770911c562d3ac6f234 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
madcatx
2016-07-07 08:00:22 UTC
I can't reproduce this unfortunately. Can you provide any more clues? Ah hold on, I just realized what's up there. Git commit 313aede08506b87358e0d770911c562d3ac6f234 by Eike Hein. Committed on 07/07/2016 at 20:32. Pushed by hein into branch 'Plasma/5.7'. Return LegacyWinIdList for groups in final proxy sort order. TaskGroupingProxyModel appends; the proxy may sort differently (e.g. alphabetically by default). The win id list was returned in TGPM sort order, which meant the tooltips had the thumbnails in the wrong order, and clicking them would activate the wrong window. M +16 -0 libtaskmanager/tasksmodel.cpp M +2 -0 libtaskmanager/tasksmodel.h http://commits.kde.org/plasma-workspace/313aede08506b87358e0d770911c562d3ac6f234 Thanks for looking into this so quickly. I tried the patch this morning but it seems to crash the whole plasma with the backtrace below, I am missing something here?
file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/ToolTipDelegate.qml:82: TypeError: Cannot read property 'DesktopEntry' of undefined
Thread 1 "plasmashell" received signal SIGSEGV, Segmentation fault.
0x00007fff3b0cf79c in TaskManager::TasksModel::data (this=0x29a4040, proxyIndex=..., role=268)
at /home/madcat/abs/plasma-workspace/src/plasma-workspace-5.7.0/libtaskmanager/tasksmodel.cpp:823
823 {
(gdb) bt
#0 0x00007fff3b0cf79c in TaskManager::TasksModel::data (this=0x29a4040, proxyIndex=..., role=268)
at /home/madcat/abs/plasma-workspace/src/plasma-workspace-5.7.0/libtaskmanager/tasksmodel.cpp:823
#1 0x00007fff3b0cf7de in QModelIndex::data (arole=268, this=0x7fffffff8470) at /usr/include/qt/QtCore/qabstractitemmodel.h:426
#2 TaskManager::TasksModel::data (this=0x29a4040, proxyIndex=..., role=268)
at /home/madcat/abs/plasma-workspace/src/plasma-workspace-5.7.0/libtaskmanager/tasksmodel.cpp:824
#3 0x00007fff3b0cf7de in QModelIndex::data (arole=268, this=0x7fffffff8470) at /usr/include/qt/QtCore/qabstractitemmodel.h:426
#4 TaskManager::TasksModel::data (this=0x29a4040, proxyIndex=..., role=268)
at /home/madcat/abs/plasma-workspace/src/plasma-workspace-5.7.0/libtaskmanager/tasksmodel.cpp:824
#5 0x00007fff3b0cf7de in QModelIndex::data (arole=268, this=0x7fffffff8470) at /usr/include/qt/QtCore/qabstractitemmodel.h:426
#6 TaskManager::TasksModel::data (this=0x29a4040, proxyIndex=..., role=268)
at /home/madcat/abs/plasma-workspace/src/plasma-workspace-5.7.0/libtaskmanager/tasksmodel.cpp:824
#7 0x00007fff3b0cf7de in QModelIndex::data (arole=268, this=0x7fffffff8470) at /usr/include/qt/QtCore/qabstractitemmodel.h:426
#8 TaskManager::TasksModel::data (this=0x29a4040, proxyIndex=..., role=268)
at /home/madcat/abs/plasma-workspace/src/plasma-workspace-5.7.0/libtaskmanager/tasksmodel.cpp:824
#9 0x00007fff3b0cf7de in QModelIndex::data (arole=268, this=0x7fffffff8470) at /usr/include/qt/QtCore/qabstractitemmodel.h:426
I committed another revision shortly after that fixed the crash. Great, with both patches applied the issue seems to be gone. Thanks! (This is probably another matter but I noticed that clicking on the thumbnail does not activate the window when there is only one window in the group. This was not the case in 5.6, was this an intentional change?) > (This is probably another matter but I noticed that clicking on the thumbnail does not activate the window when there is only one window in the group. This was not the case in 5.6, was this an intentional change?)
No, this is probably a bug. I'll have a look, thanks!
^ Fixed by 901e76e4b0fb in plasma-desktop.git *** Bug 365717 has been marked as a duplicate of this bug. *** |