[Panel-devel] panel settings

Jeremy jeremy at scitools.com
Thu Dec 13 21:10:00 CET 2007


On Thursday 13 December 2007 12:38:14 Aaron J. Seigo wrote:
> On Thursday 13 December 2007, Petri Damstén wrote:
> > Is anyone doing the panel settings
>
> not as a dialog, no.
>
> > and what is going to be configurable?
> > - Screen
> > - Position
> > - Size
> > - Hiding
>
> yes to all of these. the question is how to offer access to them. i'd like
> to avoid a dialog, as it gets really messy really fast.

Not a dialog, so a context menu or something?  If a context menu, it needs to 
be always accessible even in a full panel, kicker often had the problem of 
finding an empty place to click to get it's context menu iirc.

>
> > - Align (top/left|centered|right/bottom)
> > - Length %
>
> this is an issue i've thought about quite a bit. alignment + % is how we
> did it with kicker, but i'm not really convinced that makes sense,
> especially we want to allow people to have multiple panels on the same
> side. with three alignments your are limited to 3 panels side by side.
> putting panels on adjacent edges also causes problems as there is then no
> way to avoid them overlapping without a bunch of configuration work (and
> even then it's pretty spotty). it also seems a bit ... artificial in
> general.
>
> i think what we want is an anchor point from which growth happens in both
> directions out to a defined limit, maximum being the extent of the screen.
>
> so one can have a center-positioned panel that grows out to 48px from the
> right left and 0px from the right so there is room for that panel on the
> left.... as one example.
>
> this is also why % is probably not what we want either, as it makes it
> impossible to guarantee pixel precision; on the other hand, pixel based
> measurements can be used to accurately represent any given %. when screen
> sizes change, however, then some bounds checks need to happen.
>
> make sense? or was that clear as mud? =)

Clear as mud.  We want to be able to do all this from something that's not a 
dialog?

> > - Custom background SVG
>
> part of Plasma::Theme ... the theming is now much more flexible, but that
> makes the Svg a bit more complex. in any case, what we really want here is
> a way to customize Plasma::Theme, not so much specific SVGs like this.

just my 2 cents...

Jeremy


More information about the Panel-devel mailing list