[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: [Bug 158105] Task Manager icon appearing at top left corner when
From: Anthony Bryant <antjbryant () gmail ! com>
Date: 2008-04-11 20:20:09
Message-ID: 20080411202009.14196.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=158105
antjbryant gmail com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |antjbryant gmail com
------- Additional Comments From antjbryant gmail com 2008-04-11 22:20 -------
Although I'm not a KDE developer, I've been looking through the code for the taskbar plasmoid, \
and I found this in kdebase/workspace/plasma/applets/tasks/taskgroupitem.cpp:
void TaskGroupItem::removeTask(AbstractTaskItem *item)
{
...snip...
layout()->removeItem(item);
item->setParentItem(0);
queueGeometryUpdate();
It looks like the second line here is setting the parent to 0, which according to the QT API \
makes the item a top level item. I think the item must still be painted for a while after it is \
set to a top level item, and the layout only sets its position relative to its parent \
component, which causes it to be shown in that position relative to the top left of the screen. \
I'm not sure where the item is actually destroyed, or why it is completely removed a short time \
after it is removed from the taskbar (possibly to do with the geometry update), but someone \
probably needs to look into this. _______________________________________________
Panel-devel mailing list
Panel-devel@kde.org
https://mail.kde.org/mailman/listinfo/panel-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic