[PATCH] BUG 198888 & BUG 198890 about icon and text on plasma tooltip
潘卫平
wppan at redflag-linux.com
Sat Jul 4 12:29:46 CEST 2009
Hi, everyone
BUG 198888 plasma applet tasks doesn't have an icon on tooltip, because we don't set an icon in TaskGroupItem updateTooltip function.
Apply kdebase-plasma-tasks-groupicon.patch to kdebase/workspace/plasma/applets/tasks/ can fix this bug.
BUG 198890 The positions of icon and text on plasma tooltip aren't consistent when grouping or not, because the plasma tooltip only has a QGridLayout. When you enable kwin taskbar thumbnail effect, it cann't work finefor previews, icon and text.
So I add previews into a QHBoxLayout, add icon and text into another QHBoxLayout, and set the stretch factor of text is 1, and and both QHBoxLayouts into a QVBoxLayout. These make the items on tooltip looks consistent.
kdelibs-tooltip-alignment.patch should be applied to kdelibs/plasma/.
Best regards
pwp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdelibs-tooltip-alignment.patch
Type: text/x-patch
Size: 1561 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090704/a2746595/attachment.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdebase-plasma-tasks-groupicon.patch
Type: text/x-patch
Size: 616 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090704/a2746595/attachment-0001.patch
More information about the Plasma-devel
mailing list