kcmodule and kcmoduleproxy

Celeste Lyn Paul celeste at kde.org
Fri Dec 5 13:06:46 GMT 2008


On Thursday 04 December 2008 14:55:17 Sebastian Sauer wrote:
> Albert Astals Cid wrote:
> > A Dijous 04 Desembre 2008, Matthias Kretz va escriure:
> >> AFAIR that's the original behavior of the proxy. This line was probably
> >> introduced to "fix" the incorrect initial size of the dialog (yes, as
> >> svn blame + svn log tells us). I.e. with your patch the dialog now might
> >> resize when you show one of the contained KCMs for the first time.
> >>
> >> IMO (not humble in this case) it is better to have a resizing dialog
> >> than a long delay before having the dialog ready. Which is why I made
> >> the proxy delay loading, and breaking it like this one might have just
> >> deleted all the delayed loading logic...
> >>
> >> If dialogs are initially "ridicolous"ly small then the application needs
> >> to be "fixed" to set a sensible initial size for the dialog...
> >
> > I disagree, i don't need to set any sensible small size, Qt does it for
> > me, and quite good actually. You are bypassing it, and it's failing, and
> > you say it's the developers fault?
>
> As far as I understood the prob is here that e.g. Konqi's settings-dialog
> does resize what is, without question, evil as well and needs to be fixed.
>
> I would suggest, and that's how I did understood Matthias, that we should
> look at e.g. Konqi's settings-dialog how to fix it while preserving the
> KDE3 logic of delaying loading the kcmodule's as long as possible (what the
> patch is about).
>
> My suggestion here was to follow what we did with systemsettings. In the
> case of Konqi's settings-dialog we could try to identify those kcmodules
> which do result in such a resize and either (short term solution) put them
> into a QScrollArea or (long term solution) make them more friendly to also
> work fine on e.g. a eeePC.
>
> Would that be better?

Wouldn't using a scrollbar be a good idea as a fallback regardless if it fits 
in 800x600?  When you have 800x600 on a 4.25 inch/10.8 cm screen, 9pt font is 
pretty damn small. I've heard a lot of netbook users complain about some 
dialogs (not sure if they were kcm or other) not fitting because they increase 
their default font size, and some accessibility themes increase font size, 
which results in more use of vertical UI.

-- 
Celeste Lyn Paul
KDE Usability Project
usability.kde.org




More information about the kde-core-devel mailing list