[Bug 152696] panel cannot be repositioned / resized

Aaron J.Seigo aseigo at kde.org
Sun Jan 13 19:55:45 CET 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=152696         




------- Additional Comments From aseigo kde org  2008-01-13 19:55 -------
 Marco: i don't think it's any more safer like that; in fact it's likely to be less safe as it now relies on the proper geometry always being in the config object even when first created or when moved to another screen. seems a bit brittle. i'll ponder how to do this without assumptions.

 Matej: 

* re kconfigxt: you're looking for KConfigDialog. see http://techbase.kde.org/Development/Tutorials/Using_KConfig_XT#Use_and_Dialogs

* left/right/center alignment; yes, that'll take a bit more work indeed as it'll need to move around on geometry changes. while these alignment concepts are familiar to a kde3'er, i also don't think they are really what we want in kde4 anyways. i think we want an anchor point and expansion directions. this will allow easily emulating left/right/center while also allowing for far more interesting and complex arrangements, such as three panels on the same side starting a different locations along the screen. this is related to why i don't think percentages work.

* percentages: so if i say i want a 40% panel because that fits my items but then switch screen resolutions to a smaller screen, should the panel stay big enough to view my items or shrinks and not show them? as screens and resolutions both get bigger, how do we handle the inevitable rounding errors? you're right that people will want "a panel that's half the screen" but we can do this easily by providing "magnetic" points, just as we do with rotating and resizing applets.

anyways ... interesting stuff.. i need to get back to working on my presentations for the release event before i can work on this stuff with the time and attention it deserves.


More information about the Panel-devel mailing list