https://bugs.kde.org/show_bug.cgi?id=497561

            Bug ID: 497561
           Summary: kreadconfig5 --file kscreenlockerrc --group Daemon
                    --key Autolock/Timeout returns unexpected value
    Classification: Plasma
           Product: kscreenlocker
           Version: 5.24.7
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: jordy.swigg...@gmail.com
  Target Milestone: ---

Created attachment 176679
  --> https://bugs.kde.org/attachment.cgi?id=176679&action=edit
screenshot

SUMMARY
kreadconfig5 --file kscreenlockerrc --group Daemon --key Autolock

Should return "true" when atuomatic screen locking is enabled but instead it
returns null

STEPS TO REPRODUCE
1. enable auto screen locking in settings, delay 5 minutes
2. Konsole: kreadconfig5 --file kscreenlockerrc --group Daemon --key Autolock
3. Konsole: kreadconfig5 --file kscreenlockerrc --group Daemon --key Timeout

OBSERVED RESULT
value is null or empty, curiously when setting is disabled autolock returns
"false" just fine

EXPECTED RESULT
value is true / 5

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Kubuntu 22.04.5 LTS
KDE Plasma Version: 5.24.7
KDE Frameworks Version:  5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to