[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: [PATCH] BUG 198888 & BUG 198890 about icon and text on plasma
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2009-07-05 0:19:13
Message-ID: 200907041819.19959.aseigo () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Saturday 04 July 2009, 潘卫平 wrote:
> 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.

yes, that's a good addition.

> 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/.

while the patch looks ok, there's no reason the exact same thing couldn't be 
done with a QGridLayout. it also supports setting the stretch, alignment, etc.

by the way, do you have a commit account for KDE's svn? if you do, please 
commit the above patches (and close the bugs on bugs.kde.org :). if you don't, 
please visit http://techbase.kde.org/Contribute/Get_a_SVN_Account and apply 
for one as it is best if you can commit these kinds of patches directly 
yourself. :)

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Software

["signature.asc" (application/pgp-signature)]

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic