[New: openFATE 311144] Alternative configuration backend for KDE applications
Feature added by: Cornelius Schumacher (cschum) Feature #311144, revision 1 Title: Alternative configuration backend for KDE applications Hackweek VI: Unconfirmed Priority Requester: Important Requested by: Cornelius Schumacher (cschum) Partner organization: openSUSE.org Description: It's sometimes annoying that desktop applications written with different toolkits or frameworks use different ways how to store configuration. This makes it harder to share configuration between applications, like sharing color preferences across applications written with different toolkits. It make it harder to write tools which work on configuration on a low level, like backup tools. It also makes it harder to share configuration between different machines, as for example to put configuration in an LDAP backend multiple configuration systems would have to be adapted to get a full desktop configuration supported. KDE applications widely use kconfig_compiler to create high-level native code to access configuration from a generic configuration description. How the actual config backend works is more or less encapsulated. It would be an interesting experiment to add the option to kconfig_compiler to create code, which accesses a different backend than the standard KDE KConfig one. It could for example generate code, which uses QSettings or dconf. This way KDE applications could ideally be moved to a different configuration backend just by a simple recompile. The other way around kconfig_compiler could also create code, which can natively be used by non-KDE applications, e.g. a Qt-only or a GNOME interface. I have no idea, if this would be useful for anything, but it would be fun to play around and explore the possibilities a bit. Maybe something good for a more consistent desktop experience could result, especially for a project as openSUSE, which contains a wide range of applications using different desktops frameworks. -- openSUSE Feature: https://features.opensuse.org/311144
Feature changed by: Markus K (KAMiKAZOW) Feature #311144, revision 2 Title: Alternative configuration backend for KDE applications Hackweek VI: Unconfirmed Priority Requester: Important Requested by: Cornelius Schumacher (cschum) Partner organization: openSUSE.org Description: It's sometimes annoying that desktop applications written with different toolkits or frameworks use different ways how to store configuration. This makes it harder to share configuration between applications, like sharing color preferences across applications written with different toolkits. It make it harder to write tools which work on configuration on a low level, like backup tools. It also makes it harder to share configuration between different machines, as for example to put configuration in an LDAP backend multiple configuration systems would have to be adapted to get a full desktop configuration supported. KDE applications widely use kconfig_compiler to create high-level native code to access configuration from a generic configuration description. How the actual config backend works is more or less encapsulated. It would be an interesting experiment to add the option to kconfig_compiler to create code, which accesses a different backend than the standard KDE KConfig one. It could for example generate code, which uses QSettings or dconf. This way KDE applications could ideally be moved to a different configuration backend just by a simple recompile. The other way around kconfig_compiler could also create code, which can natively be used by non-KDE applications, e.g. a Qt-only or a GNOME interface. I have no idea, if this would be useful for anything, but it would be fun to play around and explore the possibilities a bit. Maybe something good for a more consistent desktop experience could result, especially for a project as openSUSE, which contains a wide range of applications using different desktops frameworks. + Discussion: + #1: Markus K (kamikazow) (2011-01-24 02:03:02) + Hasn't Canonical announced that they plan to do that? Let them actually + contribute to KDE for a change... -- openSUSE Feature: https://features.opensuse.org/311144
Feature changed by: Gaël Beaudoin (gabooo) Feature #311144, revision 3 Title: Alternative configuration backend for KDE applications Hackweek VI: Unconfirmed Priority Requester: Important Requested by: Cornelius Schumacher (cschum) Partner organization: openSUSE.org Description: It's sometimes annoying that desktop applications written with different toolkits or frameworks use different ways how to store configuration. This makes it harder to share configuration between applications, like sharing color preferences across applications written with different toolkits. It make it harder to write tools which work on configuration on a low level, like backup tools. It also makes it harder to share configuration between different machines, as for example to put configuration in an LDAP backend multiple configuration systems would have to be adapted to get a full desktop configuration supported. KDE applications widely use kconfig_compiler to create high-level native code to access configuration from a generic configuration description. How the actual config backend works is more or less encapsulated. It would be an interesting experiment to add the option to kconfig_compiler to create code, which accesses a different backend than the standard KDE KConfig one. It could for example generate code, which uses QSettings or dconf. This way KDE applications could ideally be moved to a different configuration backend just by a simple recompile. The other way around kconfig_compiler could also create code, which can natively be used by non-KDE applications, e.g. a Qt-only or a GNOME interface. I have no idea, if this would be useful for anything, but it would be fun to play around and explore the possibilities a bit. Maybe something good for a more consistent desktop experience could result, especially for a project as openSUSE, which contains a wide range of applications using different desktops frameworks. Discussion: #1: Markus K (kamikazow) (2011-01-24 02:03:02) Hasn't Canonical announced that they plan to do that? Let them actually contribute to KDE for a change... + #2: Gaël Beaudoin (gabooo) (2011-01-24 09:03:20) (reply to #1) + Yes indeed, see http://www.markshuttleworth.com/archives/568 + (http://www.markshuttleworth.com/archives/568) -- openSUSE Feature: https://features.opensuse.org/311144
Feature changed by: Cornelius Schumacher (cschum) Feature #311144, revision 4 Title: Alternative configuration backend for KDE applications Hackweek VI: Unconfirmed Priority Requester: Important Requested by: Cornelius Schumacher (cschum) Partner organization: openSUSE.org Description: It's sometimes annoying that desktop applications written with different toolkits or frameworks use different ways how to store configuration. This makes it harder to share configuration between applications, like sharing color preferences across applications written with different toolkits. It make it harder to write tools which work on configuration on a low level, like backup tools. It also makes it harder to share configuration between different machines, as for example to put configuration in an LDAP backend multiple configuration systems would have to be adapted to get a full desktop configuration supported. KDE applications widely use kconfig_compiler to create high-level native code to access configuration from a generic configuration description. How the actual config backend works is more or less encapsulated. It would be an interesting experiment to add the option to kconfig_compiler to create code, which accesses a different backend than the standard KDE KConfig one. It could for example generate code, which uses QSettings or dconf. This way KDE applications could ideally be moved to a different configuration backend just by a simple recompile. The other way around kconfig_compiler could also create code, which can natively be used by non-KDE applications, e.g. a Qt-only or a GNOME interface. I have no idea, if this would be useful for anything, but it would be fun to play around and explore the possibilities a bit. Maybe something good for a more consistent desktop experience could result, especially for a project as openSUSE, which contains a wide range of applications using different desktops frameworks. Discussion: #1: Markus K (kamikazow) (2011-01-24 02:03:02) Hasn't Canonical announced that they plan to do that? Let them actually contribute to KDE for a change... #2: Gaël Beaudoin (gabooo) (2011-01-24 09:03:20) (reply to #1) Yes indeed, see http://www.markshuttleworth.com/archives/568 (http://www.markshuttleworth.com/archives/568) + #3: Cornelius Schumacher (cschum) (2011-01-24 09:46:29) (reply to #2) + Mark announced that there will be Qt bindings for dconf. This is great, + but it still would need changes in applications wanting to use them. + The approach I described would not require that, as the backend is + switched in the background, and applications don't need to be aware of + that (at leas in an ideal world). Of course it would make a lot of + sense to use the Qt binding for dconf to implement this, once they are + there. But this is one layer below what I described in this idea. -- openSUSE Feature: https://features.opensuse.org/311144
Feature changed by: Will Stephenson (wstephenson) Feature #311144, revision 5 Title: Alternative configuration backend for KDE applications Hackweek VI: Unconfirmed Priority Requester: Important Requested by: Cornelius Schumacher (cschum) Partner organization: openSUSE.org Description: It's sometimes annoying that desktop applications written with different toolkits or frameworks use different ways how to store configuration. This makes it harder to share configuration between applications, like sharing color preferences across applications written with different toolkits. It make it harder to write tools which work on configuration on a low level, like backup tools. It also makes it harder to share configuration between different machines, as for example to put configuration in an LDAP backend multiple configuration systems would have to be adapted to get a full desktop configuration supported. KDE applications widely use kconfig_compiler to create high-level native code to access configuration from a generic configuration description. How the actual config backend works is more or less encapsulated. It would be an interesting experiment to add the option to kconfig_compiler to create code, which accesses a different backend than the standard KDE KConfig one. It could for example generate code, which uses QSettings or dconf. This way KDE applications could ideally be moved to a different configuration backend just by a simple recompile. The other way around kconfig_compiler could also create code, which can natively be used by non-KDE applications, e.g. a Qt-only or a GNOME interface. I have no idea, if this would be useful for anything, but it would be fun to play around and explore the possibilities a bit. Maybe something good for a more consistent desktop experience could result, especially for a project as openSUSE, which contains a wide range of applications using different desktops frameworks. Discussion: #1: Markus K (kamikazow) (2011-01-24 02:03:02) Hasn't Canonical announced that they plan to do that? Let them actually contribute to KDE for a change... #2: Gaël Beaudoin (gabooo) (2011-01-24 09:03:20) (reply to #1) Yes indeed, see http://www.markshuttleworth.com/archives/568 (http://www.markshuttleworth.com/archives/568) #3: Cornelius Schumacher (cschum) (2011-01-24 09:46:29) (reply to #2) Mark announced that there will be Qt bindings for dconf. This is great, but it still would need changes in applications wanting to use them. The approach I described would not require that, as the backend is switched in the background, and applications don't need to be aware of that (at leas in an ideal world). Of course it would make a lot of sense to use the Qt binding for dconf to implement this, once they are there. But this is one layer below what I described in this idea. + #4: Will Stephenson (wstephenson) (2011-01-24 13:11:19) + I discussed this with vuntz at the weekend. It seemed doable. The three + characteristics of GSettings and its backend dconf are 1) trees of key- + values 2) compulsory schemas and 3) change notification. 1) is in + KConfig already since it got support for arbitrarily nested subgroups. + 2) is somewhat present when KConfigXT is used as it asserts if a UI + tries to access fields that are not specified in the .kcfg, but is not + mandatory as plain KConfig can do what it likes with the + configurations, and 3) is not present in KConfig but could be a future + extension, and would still allow the sharing of data between DEs as + long as the apps using the shared configuration do not rely on change + notification. -- openSUSE Feature: https://features.opensuse.org/311144
Feature changed by: Markus K (KAMiKAZOW) Feature #311144, revision 6 Title: Alternative configuration backend for KDE applications Hackweek VI: Unconfirmed Priority Requester: Important Requested by: Cornelius Schumacher (cschum) Partner organization: openSUSE.org Description: It's sometimes annoying that desktop applications written with different toolkits or frameworks use different ways how to store configuration. This makes it harder to share configuration between applications, like sharing color preferences across applications written with different toolkits. It make it harder to write tools which work on configuration on a low level, like backup tools. It also makes it harder to share configuration between different machines, as for example to put configuration in an LDAP backend multiple configuration systems would have to be adapted to get a full desktop configuration supported. KDE applications widely use kconfig_compiler to create high-level native code to access configuration from a generic configuration description. How the actual config backend works is more or less encapsulated. It would be an interesting experiment to add the option to kconfig_compiler to create code, which accesses a different backend than the standard KDE KConfig one. It could for example generate code, which uses QSettings or dconf. This way KDE applications could ideally be moved to a different configuration backend just by a simple recompile. The other way around kconfig_compiler could also create code, which can natively be used by non-KDE applications, e.g. a Qt-only or a GNOME interface. I have no idea, if this would be useful for anything, but it would be fun to play around and explore the possibilities a bit. Maybe something good for a more consistent desktop experience could result, especially for a project as openSUSE, which contains a wide range of applications using different desktops frameworks. Discussion: #1: Markus K (kamikazow) (2011-01-24 02:03:02) Hasn't Canonical announced that they plan to do that? Let them actually contribute to KDE for a change... #2: Gaël Beaudoin (gabooo) (2011-01-24 09:03:20) (reply to #1) Yes indeed, see http://www.markshuttleworth.com/archives/568 (http://www.markshuttleworth.com/archives/568) #3: Cornelius Schumacher (cschum) (2011-01-24 09:46:29) (reply to #2) Mark announced that there will be Qt bindings for dconf. This is great, but it still would need changes in applications wanting to use them. The approach I described would not require that, as the backend is switched in the background, and applications don't need to be aware of that (at leas in an ideal world). Of course it would make a lot of sense to use the Qt binding for dconf to implement this, once they are there. But this is one layer below what I described in this idea. + #5: Markus K (kamikazow) (2011-01-24 15:42:59) (reply to #3) + Inviting Jonathan Riddel and Aurelien Agateau anyway wouldn't hurt. #4: Will Stephenson (wstephenson) (2011-01-24 13:11:19) I discussed this with vuntz at the weekend. It seemed doable. The three characteristics of GSettings and its backend dconf are 1) trees of key- values 2) compulsory schemas and 3) change notification. 1) is in KConfig already since it got support for arbitrarily nested subgroups. 2) is somewhat present when KConfigXT is used as it asserts if a UI tries to access fields that are not specified in the .kcfg, but is not mandatory as plain KConfig can do what it likes with the configurations, and 3) is not present in KConfig but could be a future extension, and would still allow the sharing of data between DEs as long as the apps using the shared configuration do not rely on change notification. -- openSUSE Feature: https://features.opensuse.org/311144
participants (1)
-
fate_noreply@suse.de