Bug 508754 - kreadconfig does not respect filepath . (current directory)
Summary: kreadconfig does not respect filepath . (current directory)
Status: REPORTED
Alias: None
Product: frameworks-kconfig
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 6.13.0
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Matthew Dawson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-26 10:11 UTC by Christian Hartmann
Modified: 2026-01-08 19:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshot konsole with commands as in summary (31.57 KB, image/png)
2025-08-26 10:11 UTC, Christian Hartmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Hartmann 2025-08-26 10:11:16 UTC
Created attachment 184457 [details]
Screenshot konsole with commands as in summary

SUMMARY
kreadconfig does not respect filepath . (current directory) as it is known in most shells

STEPS TO REPRODUCE
1. get a copy of a config file (e.g. here: kwiterc) into current directory
2. change any value in it (e.g. here '1920x1200 screen: Height' from 755 to 720)
3. execute on command line:  kreadconfig6 --file $PWD/kwriterc ...
4. execute on command line:  kreadconfig6 --file ./kwriterc ...


OBSERVED RESULT
kreadconfig6 --file ./kwriterc --group 'MainWindow' --key '1920x1200 screen: Height'
> 755


EXPECTED RESULT
kreadconfig6 --file ./kwriterc --group 'MainWindow' --key '1920x1200 screen: Height'
> 720


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian Trixie
KDE Plasma Version: 6.3.6
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION
-