https://bugs.kde.org/show_bug.cgi?id=498473
Bug ID: 498473
Summary: Provide a mechanism to return the keys in a group via
the KWrite- and KReadConfig binaries.
Classification: Frameworks and Libraries
Product: frameworks-kconfig
Version: 6.9.0
Platform: Fedora RPMs
URL: https://discuss.kde.org/t/how-to-list-keys-in-group-us
ing-kreadconfig6/13912/4?u=rokejulianlockhart
OS: Linux
Status: REPORTED
Severity: wishlist
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
SUMMARY
-------
KDE's CLI configuration acquisition and application tools (`kreadconfig6` and
`kwriteconfig6` respectively) are unable to return valid keys via the CLI when
a group is specified without a key.
For comparison, GNOME >30 provides this functionality via `dconf`.
STEPS TO REPRODUCE
------------------
Invoke `kreadconfig6 --file kdeglobals --group KDE`.
OBSERVED RESULT
---------------
When a value is not specified, the help documentation is returned.
EXPECTED RESULT
---------------
When a value is not specified, the available values should be returned.
SOFTWARE/OS VERSIONS
--------------------
> ~~~YAML
> Operating System: Fedora Linux 41
> KDE Plasma Version: 6.2.5
> KDE Frameworks Version: 6.9.0
> Qt Version: 6.8.1
> Kernel Version: 6.12.7-200.fc41.x86_64 (64-bit)
> Graphics Platform: Wayland
> Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
> Memory: 30.4 GiB of RAM
> Graphics Processor: AMD Radeon RX 5700
> ~~~
ADDITIONAL INFORMATION
----------------------
I've reported this to this package due to the undermentioned:
> ~~~log
> RokeJulianLockhart@SNRW3Q:~$ command -v 'kwriteconfig6'
> /usr/bin/kwriteconfig6
> RokeJulianLockhart@SNRW3Q:~$ dnf5 repoquery --whatprovides
> '/usr/bin/kwriteconfig6'
> Updating and loading repositories:
> Repositories loaded.
> kf6-kconfig-0:6.7.0-1.fc41.i686
> kf6-kconfig-0:6.7.0-1.fc41.x86_64
> kf6-kconfig-0:6.9.0-1.fc41.i686
> kf6-kconfig-0:6.9.0-1.fc41.x86_64
> RokeJulianLockhart@SNRW3Q:~$ rpm -qa 'kf6-kconfig'
> kf6-kconfig-6.9.0-1.fc41.x86_64
> ~~~
--
You are receiving this mail because:
You are watching all bug changes.