KGlobalSettings::completionMode() can be read, is not consistent in KDE though

Aaron J. Seigo aseigo at kde.org
Sat Apr 24 02:58:11 BST 2004


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

On April 23, 2004 06:38, Dawit A. wrote:
> On Friday 23 April 2004 06:40, Michael Brade wrote:
> > On Friday 23 April 2004 00:59, Dawit A. wrote:
> > > We already do that. The minute you change the default setting, a new
> > > item "Default" is added. Click on it and the completion mode will be
> > > reverted back to KGlobalSettings::completionMode(). I have no
> > > objections if people want to change "Default" to something more
> > > descriptive...
> >
> > Aha, very nice indeed! So with your fix a couple of mails above regarding
> > not saving the setting if it different from the default this leaves us
> > with the problem that there is no GUI (!) for changing the default.
> >
> > Any suggestions where to put something like that?
>
> Your suggestion or guess would be as good as mine :) The problem of where
> to put it is why there is no GUI for it already... There are many options,
> for example in the io-slaves, that have no configuration option ; so this
> is not by far an isolated problem. The worst part about all of it is that
> most of these types of options are not documented at all.

this is why i suggested what i suggested in the first place. sure, we have a 
"Default" option but then there is no way to easily adjust that default.

if instead the option was "Use Desktop-Wide Setting" (or something similar) 
then the user would still be able to select from the list of option,s which 
would then set either the global setting or the app-specific setting 
depending on the state of this entry. this would allow making a change to one 
lineedit affecting ALL others in KDE, while also preserving app-specific 
behaviour as an option.

here are the four use cases:

1. Using global settings, user switches to application-only settings
	-> user unchecks "Use Desktop-Wide Setting"
	-> current setting (global) is saved in app-specific config

2. Using application-specific settings, switches to global settings
	-> user checks "Use Desktop-Wide Setting"
	-> option changes to current desktop-wide default

3. Using global stetings ("Use Desktop-Wide Setting" is checked), user changes 
mode
	-> the setting is saved in kdeglobals

4. Using application-specific settings ("Use Desktop-Wide Setting" is not 
checked), user changes mode
	-> the setting is saved in app-specific config

- -- 
Aaron J. Seigo
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43
while (!horse()); cart();
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQFAicmz1rcusafx20MRAsDUAJ9VUF2l1K00S++gWMaRHB0TUPWZAQCbBCmT
bBrSxDzoCSt/hnqpThiMvn0=
=TeZE
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list