Bug 464329 - Brave requesting password for kwallet, but Brave is already running.
Summary: Brave requesting password for kwallet, but Brave is already running.
Status: REPORTED
Alias: None
Product: kwalletmanager
Classification: Applications
Component: general (show other bugs)
Version: 22.12.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Valentin Rusu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-15 15:45 UTC by crptdngl71
Modified: 2023-01-15 15:55 UTC (History)
0 users

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


Attachments
screenshot of Brave asking for password via kwalletmanager (18.06 KB, image/jpeg)
2023-01-15 15:49 UTC, crptdngl71
Details
screenshot showing kwalletmanager has stored Brave folder, but no password (0) (42.49 KB, image/jpeg)
2023-01-15 15:53 UTC, crptdngl71
Details

Note You need to log in before you can comment on or make changes to this bug.
Description crptdngl71 2023-01-15 15:45:50 UTC
SUMMARY
***
Issue: After running Brave browser and then running Thunderbird email, I open a weblink from inside a mail that contains a weblink. Brave should be opened to open and display the website of that link. Brave is opening the link, but it is asking for password first although Brave is already running and there is no need to do that.

Some details about my current password settings:
I have siduction linux running on my notebook (debian testing). It is configured to login me automatically without showing login dialogue screen. It is booting directly into KDE desktop as I am the only user anyway. kwallet manager is started in background. WLAN password is correctly used to log into WLAN. WLAN is fully working without issues. When opening kwallet manager and also opening current password wallet, I can see there is a WLAN password stored. Counter for WLAN password is (1).
There is also a folder for Brave. But, in contrast to WLAN, there is no password stored. Counter for Brave password is (0).

***


STEPS TO REPRODUCE
1. Boot into KDE desktop / alternatively wake up notebook from suspend-to-disc,
2. run Brave browser, browse to any website,
3. run Thunderbird email and open a mail that contains a link that needs to be opened in Brave (HTML etc.)
4. click link inside mail.

OBSERVED RESULT
4. Brave is requesting Brave password via kwallet manager, but it is already running. This step is not necessary.

EXPECTED RESULT
4. Brave should open and display weblink. No password request required.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Kernel Version: 6.1.4-1-siduction-amd64 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i5-8350U CPU @ 1.70GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: Dell Inc.
Product Name: Latitude 7490

ADDITIONAL INFORMATION
1. What worries me a bit is that opening link via Brave after entering password works, as no password is even stored for Brave at all, kwallet just shows folder for Brave, but no password (0).
2. It is actually possible to skip entering the password (or override it while doing a screenshot of windows). Then brave will also open the link.
3. If Brave is not yet running and password entry is skipped, Brave will open using another user profile, i.e. if while browsing on my profile I am viewing a youtube video and then closing it, Brave will open this video again and continue playback. If I skip password entry it will not continue playback.
4. I can open kwallet and also open current password wallet. In this case Brave is not asking for password.
5. I have reported this issue to Brave team who say I should consider reporting it to KDE team.
6. Issue is seen using current stable version of Brave and also beta version of Brave.
7. Thunderbird has issue with its password settings, too. Setting it to "Always ask" still ends up in password request for Brave.
8. Alternative browser chromium is unable to detect if it is default browser and also states it is unable to set itself as default browser.
Comment 1 crptdngl71 2023-01-15 15:49:45 UTC
Created attachment 155316 [details]
screenshot of Brave asking for password via kwalletmanager
Comment 2 crptdngl71 2023-01-15 15:53:31 UTC
Created attachment 155317 [details]
screenshot showing kwalletmanager has stored Brave folder, but no password (0)
Comment 3 crptdngl71 2023-01-15 15:55:07 UTC
I have tried this as well:
(1) In open wallet: delete Brave folder entry
(2) perform steps as described in description again (kwalletmanager open, wallet opened) ==> Brave does not ask for password, folder is created again without password entry.