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

            Bug ID: 458774
           Summary: KWallet/Secret Service: `default` alias should default
                    to the 1st collection
           Product: frameworks-kwallet
           Version: 5.97.0
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: va...@kde.org
          Reporter: mk.mat...@gmail.com
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

SUMMARY
If a default wallet has not been set manually, it defaults to the 1st wallet.
But via Secret Service API, there is no `default` alias in this case. It should
default to the collection matching the default wallet name.

STEPS TO REPRODUCE
1. On a fresh install such as KDE Neon live DVD, copy a wallet from backup (or
from another KDE installation) into `~/.local/share/kwalletd`.
2. Adjust the user/permissions as needed to make the wallet readable by the
current user.
3. Launch KWalletManager and enable the KDE Wallet system.
4. Run `qdbus org.freedesktop.secrets`
5. In KWalletManager, open Settings -> Configure Wallet... (don't make any
changes)

OBSERVED RESULT
- The wallet is listed as
`/org/freedesktop/secrets/collection/<name-of-wallet>`
- In the settings, "Select wallet to use as default" defaults to the 1st
wallet.
- There is no `/org/freedesktop/secrets/aliases/default` alias.

EXPECTED RESULT
- `/org/freedesktop/secrets/aliases/default` should exist by default if there
are any collections (wallets) available, and should match the default
(pre)selection of the "Select wallet to use as default" setting.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon User 20220825-0951 live DVD
KDE Frameworks Version: 5.97.0
KWalletManager: 22.08.0
KDE Plasma Version: 5.25.4
Qt Version: 5.15.5

ADDITIONAL INFORMATION
`/org/freedesktop/secrets/aliases/default` is created after restarting
`kwalletd5` (and KWalletManager?).

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

Reply via email to