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

            Bug ID: 458776
           Summary: Changing the default wallet does not update Secret
                    Service `default` alias (unless `kwalletd5` is
                    restarted).
           Product: kwalletmanager
           Version: 22.08.0
          Platform: unspecified
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: va...@kde.org
          Reporter: mk.mat...@gmail.com
  Target Milestone: ---

SUMMARY
When the default wallet is changed in settings, the Secret Service `default`
alias is not updated until `kwalletd5` is restarted.

STEPS TO REPRODUCE
1. Set up KWallet with Secret Service integration enabled, and at least two
wallets.
2. Run `qdbus org.freedesktop.secrets`. Make sure
`/org/freedesktop/secrets/aliases/default` is listed.
    - If it's not listed, restart `kwalletd5` and KWalletManager (Bug 458774).
If that doesn't help, select a default wallet in the settings and restart them
again.
3. Run `qdbus org.freedesktop.secrets /org/freedesktop/secrets/aliases/default
org.freedesktop.Secret.Collection.Label`, note which name is returned.
4. In KWalletManager -> Settings -> Configure Wallet, select a different wallet
to use as default, and click Apply.
5. Run `qdbus org.freedesktop.secrets /org/freedesktop/secrets/aliases/default
org.freedesktop.Secret.Collection.Label` again.

OBSERVED RESULT
Step 5 returns the same name as step 3. The `default` alias is not updated.

EXPECTED RESULT
The `default` alias should be updated. Step 5 should return the updated
selection.

SOFTWARE/OS VERSIONS
KDE Frameworks Version: 5.97.0
KWalletManager: 22.08.0

ADDITIONAL INFORMATION
The `default` alias is updated after restarting `kwalletd5` (and
KWalletManager?).
Either the settings module needs to make a
`org.freedesktop.Secret.Service.SetAlias` call when the default wallet is
changed, of `kwalletd5` needs to listen for configuration changes and update
Secret Service as needed.
https://specifications.freedesktop.org/secret-service/latest/re01.html

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

Reply via email to