[Bug 163053] Plasma panel doesn't remember size and alignment correctly

Aaron J.Seigo aseigo at kde.org
Tue Jun 10 18:54:44 CEST 2008


------- 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=163053         




------- Additional Comments From aseigo kde org  2008-06-10 18:54 -------
thanks for the quick reply; and now i see the problem.

the panel is containment id 2:

[Containments][2]
plugin=panel

the view id associated with it in plasmarc is:

[ViewIds]
2=-1237832024

and when setting an id, we get:

        } else if (uniqueId > s_maxViewId) {

and s_maxViewId is initialized to 0. so the id never gets assigned -> the settings never get restored.

so ... first i need to figure out how a negative number got set in there, and then decide on a way to make this a little more robust against that kind of breakage.


More information about the Panel-devel mailing list