[PATCH] BUG 184905 Size of the panel changes when the plasma theme changes

"潘卫平(Peter Pan)" wppan at redflag-linux.com
Mon Aug 3 05:17:44 CEST 2009


Hi, all

These days I've been working on BUG 184905.
I found that the size of panel changes when it receives a thememChanged
signal from Plasma::Theme::defaultTheme(). And this signal is sended
when we change the plasma theme or enable/disable window effects.

The reason is that the margins of panel's layout isn't equal to the
margins of panel's background.
(kdebase/workspace/plasma/containments/panel/panel.cpp line 678-684)

And I found that it is not necessary to adjust margins for toolBoxItem,
(kdebase/workspace/plasma/containments/panel/panel.cpp line 553-568)

because the geometry of toolBoxItem is controlled by Plasma::Containment.

I'm not sure whether my understanding is correct. ):

Regards
-- 
潘卫平(Peter Pan)
Red Flag Software Co., Ltd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdebase-panel-size-increasing.patch
Type: text/x-patch
Size: 1019 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090803/c7cceddb/attachment-0001.patch 


More information about the Plasma-devel mailing list