[Kde-accessibility] Re: [Kwin] Sizes for the window borders

Luciano Montanaro mikelima at virgilio.it
Wed Sep 24 11:21:34 CEST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 23 September 2003 17:05, Gunnar Schmi Dt wrote:
> Hello,
>
> Just a few minutes ago I added the two decoration sizes BorderVeryHuge and
> BorderOversized to the list of known border sizes (as the first part of my
> entry "Add an option to allow wide borders to some of the window decoration
> styles" in the feature plan).
>

OK. I am not sure about the size names. I think of Huge to be larger than 
oversized, for example, and can you say 'very huge' in english? Maybe 
Enormous, or Gargantuan, or something is better. Maybe simply "largest" could 
do.

> I also modified the Web decoration from kdebase and the KStep and Plastik
> decorations from kdeartwork to respect these new border sizes. (They are
> the only ones that currently both allow to specify a border size and are
> ported to the new kwin API). I will add the possibility to set the border
> size to the other decorations in the next few days.
>

Respecting the border size hints in the laptop and b2 clients is on my todo 
list. But I want to port the CDE client to the new API first, since I think 
it is a good starting point for an accessible window decoration. Is that all 
right for you? In the BeeToo decoration I have code for variable border size.
It can't yet be used for very large sizes, but I think I can adapt it. 

> Currently the Web and Plastik styles use the pixel sizes 4,8,12,18,27,40
> pixels for normal, large, very large, huge, very huge, and oversized
> borders. As the standard size for the KStep decoration is larger, all of
> its border sizes are larger. It uses the sizes 6, 9, 14, 21, 32, and 48.
>
> Currently the KCM for the window decoration does not allow to set the
> border size. However, I have prepared a patch that adds a combo box for the
> sizes to that KCM. This patch is a quick hack (it does not check whether
> the actual decoration supports different border sizes), but it works. Is it
> OK to commit that patch until we have a clean solution for the GUI?
>

I have no saying in if that can go in or not, however currently most window 
decoration can't respect all the global settings, so I see no reason not to 
commit the patch.

Luciano

> Gunnar Schmi Dt

- -- 
- - I want a  Software  Patents  Free  Europe  too!  And  you? -
- --------------------------------------------------------------
 EuropeSwPatentFree - http://EuropeSwPatentFree.internautas.org 
- --------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/cVQZaeOY6B53J4URAnAgAKC5d3tdBKU6ojemz6c1bMF9lnyZsACgoKks
pxBjzrjY/TA4XJzrC55lziw=
=sy6M
-----END PGP SIGNATURE-----


More information about the kde-accessibility mailing list