Summary: | Plasma panel doesn't remember size and alignment correctly | ||
---|---|---|---|
Product: | [Plasma] plasma4 | Reporter: | Bart Cerneels <bart.cerneels> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
my plasma-appletsrc
My current plasmarc |
Description
Bart Cerneels
2008-06-02 11:50:09 UTC
Created attachment 25064 [details]
my plasma-appletsrc
notice how [Containments][2]'s geometry seems to be bogus.
We had made some recent commits on this, perhaps it's fixed? Can you confirm that it doesn't happen anymore with current trunk? It's not fixed in r817471 but will try latest svn now. Not fixed yet in r818994. the containments geometry is exactly right. it's the coordinates on the scene (canvas / model), not where it appears on screen. can you post your plasmarc as well, since that's where the panel alignment, etc, is kept? thanks. Created attachment 25245 [details]
My current plasmarc
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. SVN commit 819127 by aseigo: always ensure we have a valid view id. BUG:163053 M +9 -5 view.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=819127 |