Plugin vs. icon sizes.

Jasper Huijsmans jasper at xfce.org
Sat Sep 9 19:47:32 CEST 2006


2006/8/13, Benedikt Meurer <benedikt.meurer at unix-ag.uni-siegen.de>:
> Jasper Huijsmans wrote:
> > Hey all,
> >
> > This is especially important for plugin writers. I'd like to hear your
> > opinion about something.
> >
> > In bug #2084 benny notes that icons will become ugly when they have to
> > be scaled and it would be nice if we would use commonly available sizes
> > (48,32,24,...) even if the size is not exactly that value. This makes a
> > lot of sense and is what gtk does when it selects icons from an icon theme.
> >
> > Right, now let's think about how this could be implemented in the panel.
> > The panel of course doesn't know anything about the plugins and simply
> > passes on the size the user requested on to the plugins.
> >
> > The easiest way to handle this, I think, is to change the interpretation
> > of the plugin size to mean "icon size". This may be a bit awkward when a
> > plugin doesn't use a button + icon, but shouldn't be too hard to handle.
> >
> > The panel could even restrict the size to the common 'good' values and
> > theme-dependent values for [xy]thickness and focus-padding, would not
> > have any effect on icon size (and quality).
> >
> > So, what do you think? Would this work?
>
> Yes, that sounds like the best solution to this issue, tho it might be
> tricky to get the size of other plugins like the pager correct.
>

Due to personal circumstances I haven't been able to work on this at all :(

In view of the code freeze for 4.4.0 and the fact that this affects
every plugin, I think that this should wait until after the 4.4.0
release. Can everyone live with that or should I still try to get this
in now?

--
        Jasper



More information about the Xfce4-dev mailing list