kcontrol empty

Matthias Kretz kretz at kde.org
Fri Feb 2 14:50:12 GMT 2007


On Friday 02 February 2007 15:28, Aaron J. Seigo wrote:
> On February 2, 2007, Jonathan Riddell wrote:
> > There's a of system settings ported to KDE 4 from a while ago in
> > branches/work/kde4/playground/base/systemsettings/, I'd certainly be
> > happy to help move this to trunk if nobody objects to it replacing the
> > current kcontrol.
>
> i'd be cool with that, but is also implies a LOT of work that needs go into
> the individual kcm's since they are really written with a "big tree of
> crap" model in mind which simply doesn't map nicely to a system setting
> style. in fact, they end up snatching defeat from the jaws of victory.

I'm not sure what you mean. Is it that there are KCMs that should be splitted 
again (many KCMs make heavy use of tab widgets, some KCMs are even only a 
tabwidget container for other KCMs to group them into one)? Or is it 
interdependecies?

> during the process of moving to system settings (if that is what we do),
> some really important things we need to look at during the process of kde4:
>
>  - rethinking kcm's

The technical (API) aspects, or the presentation? (is "instant apply" still a 
topic, or a topic for KControl at all?)

>  - handling root privileges properly

Yes. Would be great if I didn't have to solve this one. This is the TODO item:
The KCM GUI is running with the user's privileges but saving the settings and 
in rare cases also reading the settings might require elevated privileges. 
This should be done by as few as needed code that runs as root.
If we could find a generic and secure way to do that, that would be great.

The workflow would then look like this:
- open KCM
- optional: asks for password to read current settings
- show the GUI and info that saving the settings will require root privileges
- on saving the settings asks for password

>  - indexing metadata effectively for search goodness

automatic string extraction out of the KCMs instead of the handwritten list in 
the desktop file?

-- 
________________________________________________________
Matthias Kretz (Germany)                            <><
http://Vir.homelinux.org/
MatthiasKretz at gmx.net, kretz at kde.org,
Matthias.Kretz at urz.uni-heidelberg.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070202/9b0ae9b8/attachment.sig>


More information about the kde-core-devel mailing list