[Kde-accessibility] Re: [Kwin] Size of window borders

Lubos Lunak l.lunak at suse.cz
Tue Sep 16 15:17:12 CEST 2003


On Tuesday 16 of September 2003 13:48, Gunnar Schmi Dt wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello,
>
> On Tuesday 16 September 2003 12:59, Lubos Lunak wrote:
> > On Tuesday 16 of September 2003 11:06, Luciano Montanaro wrote:
> > > On Monday 15 September 2003 12:46, Gunnar Schmi Dt wrote:
[snip]
> > >
> > > On the other hand, the "fixed setting" is not meant to be fixed at all,
> > > it is just a hint to the decoration that "normal" or "big" or "huge"
> > > borders are requested. If a decoration "normal" border is 3 pixels, a
> > > "huge" border could be, let's say 24 pixels, but it is up to the
> > > decoration writer to choose the exact size.
> >
> >  Agreed. Moreover, I expect that most decorations will implement only few
> > sizes at most anyway, as they use pre-made pixmaps for the decoration
> > buttons, and I don't think their developers will bother with scaling them
> > to 10 different sizes.
>
> This "agreed" belongs to which statement?

 To the paragraph is left above.

> As I wrote in my answer to the
> mail from Luciano having only five different sizes creates problems, so I
> would suggest to either have a slider or to have some more standard sizes.
> Also these standard sizes should include a recommended border width (well,
> it is up to the decoration to follow that recommendation or not).
>
> >  Currently, there are these options: BorderTiny, BorderNormal,
> > BorderLarge, BorderVeryLarge, BorderHuge. It's up to the decoration to
> > decide what this means in terms of pixel sizes, it's only said that
> > BorderNormal is the normal size. I can add more values, if you want (and
> > suggest names for them), but I personally doubt having 10 levels makes
> > sense.
>
> What about:
> Tiny (3 pixels)
> Small (5 pixels)
> Medium (8 pixels)
> Large (12 pixels)
> Very Large (17 pixels)
> Huge (23 pixels)
> Very Huge (30 pixels)
> Oversized (38 pixels)

 Well, I can add those 3 more possibilities if you think it makes sense (as I 
already said, I expect most decorations not to support so many different 
sizes, so this would be IMO only for the decorations where the developer will 
bother will all the required scalling).

 I have two questions though:
- To which size are those pixel values supposed to refer? Are those pixel 
sizes supposed to be width of left/right borders? In which case current 
decorations mostly have Tiny borders, which probably isn't right. Or is it 
supposed to be the titlebar? In which case current decorations have roughly 
VeryLarge borders, which I think isn't right either.
- Second question is actually closely related to the first one: Which setting 
should be the default one, i.e. the size decorations have now?

-- 
Lubos Lunak
KDE developer
---------------------------------------------------------------------
SuSE CR, s.r.o.  e-mail: l.lunak at suse.cz , l.lunak at kde.org
Drahobejlova 27  tel: +420 2 9654 2373
190 00 Praha 9   fax: +420 2 9654 2374
Czech Republic   http://www.suse.cz/



More information about the kde-accessibility mailing list