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

Oliver Beard <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|                            |6.6.2
  Fixed/Implemented|                            |
                 In|                            |
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-login-manager/-/c
                   |                            |ommit/b5385afa096125b08c42c
                   |                            |d7462824765a6cb0ac8
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Oliver Beard <[email protected]> ---
Git commit b5385afa096125b08c42cd7462824765a6cb0ac8 by Oliver Beard.
Committed on 27/02/2026 at 14:09.
Pushed by olib into branch 'master'.

frontend/kcm: Fix error when saving default, empty config

We save our config by writing to KConfig set to use a temp file. When we sync,
if the config isn't dirty and would be empty, then the file isn't created.

Later code assumes that the file will be created, and causes an error that
prevents saving settings.

We need to track if config was dirty before sync and if it was, then it would
be empty and no file saved, so we shouldn't even try to read back the temp file
to pass to the auth helper.
FIXED-IN: 6.6.2

M  +19   -9    src/frontend/kcm/kcm.cpp

https://invent.kde.org/plasma/plasma-login-manager/-/commit/b5385afa096125b08c42cd7462824765a6cb0ac8

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

Reply via email to