PATCH: kdelibs/plasma/containment.cpp ( The sequence of applets in the panel is out of expected (bugsid:175026))

qiang zhang liubingzhq at
Fri Nov 14 02:04:01 GMT 2008

---------- Forwarded message ----------
From: qiang zhang <liubingzhq at>
Date: 2008/11/14
Subject: Re: PATCH:The sequence of applets in the panel is out of expected
To: kde-devel at

 Such changes after installation in line with the general KDE user habits.

2008/11/13 zhangqiang <zhangqiang at>

> When I installed kde4,I found that the default sequence of applets in the
> panel was different from usual.For example the pager is in the left of the
> panel,but usually the launcher should be in the left by default. When I open
> the file
> /usr/share/kde-settings/kde-profile/default/share/config/plasma-appletsrc,I
> found the default sequence of applets in this file is the same as usual. At
> the same time I found  the topleft coordinate of every applet is all (0,0)
> in the file
> /usr/share/kde-settings/kde-profile/default/share/config/plasma-appletsrc.Why
> is the showing result out of expected ? By looking at source code ,I find
> the reason is that the sorting algorithm in the file
> kdelibs/plasma/containment.cpp is not very good.Through modifying the sort
> algorithm,the results are expected with the implementation of the same.My
> patch is in the attachment.Thanks.
> The modified file containment.cpp is in file kdelibs/plasma/.
> >> Visit to
> unsubscribe <<
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-core-devel mailing list