Bug 472626 - If KDE Wallet is closed due to a kwin_wayland crash, when NeoChat launches, it throws a weird error message instead of prompting the user to unlock and open the wallet
Summary: If KDE Wallet is closed due to a kwin_wayland crash, when NeoChat launches, i...
Status: RESOLVED WORKSFORME
Alias: None
Product: NeoChat
Classification: Applications
Component: General (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-25 19:03 UTC by Nate Graham
Modified: 2023-11-29 16:50 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2023-07-25 19:03:13 UTC
STEPS TO REPRODUCE
1. Use KWallet and store NeoChat credentials in it
2. make kwin_wayland crash (an easy way is to touch the screen with a stylus on Wayland; found while testing Bug 472358)
3. Launch NeoChat


OBSERVED RESULT
NeoChat launches but shows an error message saying "Access token wasn't found; maybe it was deleted"


EXPECTED RESULT
NeoChat prompts to unlock and open the wallet


ADDITIONAL INFORMATION
If I don't make kwin_wayland crash, and instead simply manually close the wallet using KWalletManager and then launch NeoChat, then the problem doesn't happen and it does prompt to unlock and open the wallet as expected.

Might be a KWallet bug rather than a NeoChat bug.
Comment 1 Nate Graham 2023-07-25 20:34:20 UTC
Not a crash, Bug Janitor.

(this comment makes it stop changing it back)
Comment 2 Tobias Fella 2023-11-24 13:44:15 UTC
I can't reproduce this; after killing kwin_wayland and starting neochat, the kwallet unlock dialog comes up as expected. Can you still reproduce?
Comment 3 Nate Graham 2023-11-29 16:50:24 UTC
kwallet no longer closes automatically due to a kwin_wayland crash as of Qt 6.6, so I have no way of reproducing the original issue anymore.