Bug 472278 - kwalletmanager5 has very slow respons
Summary: kwalletmanager5 has very slow respons
Status: REPORTED
Alias: None
Product: kwalletmanager
Classification: Applications
Component: general (show other bugs)
Version: 23.04.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Valentin Rusu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-15 12:25 UTC by Freek de Kruijf
Modified: 2023-10-16 17:07 UTC (History)
1 user (show)

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


Attachments
output of strace starting kmalletmanager5 (3.65 MB, text/x-log)
2023-08-25 09:31 UTC, Freek de Kruijf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Freek de Kruijf 2023-07-15 12:25:33 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
After starting kwalletmanager5 with a visible window in the KDE session, and pressing button Open it takes quite some time, 40 to 50 seconds, before it asks for the password. It should ask for the password immediately.

STEPS TO REPRODUCE
1. Start a KDE session
2. In a terminal enter: "kwalletmanager5 --show". A window appears and above in the window a button Open.
3. Press that button.

OBSERVED RESULT
It takes 40 to 50 seconds before popup appears asking for the password.


EXPECTED RESULT
The popup should appear immediately.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 6.4.2
(available in About System)
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
Comment 1 Freek de Kruijf 2023-08-23 20:04:03 UTC
Using strace a strange error message appears:
statx(AT_FDCWD, "/usr/local/share/kwalletmanager5/kwalletmanager.rc", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffe7777eec0) = -1 ENOENT (Bestand of map bestaat niet)

Shouldn't this be ~/.local/share/kwalletmanager5/kwalletmanager.rc ?
I found a file ~/.config/kwalletmanager5rc
Comment 2 Freek de Kruijf 2023-08-25 09:31:33 UTC
Created attachment 161170 [details]
output of strace starting kmalletmanager5

This is the output of the command
LC_ALL=C strace -t -ff /usr/bin/kwalletmanager5 --show > wallet.log 3>&1 2>&1

As can be seen after time 10:43:45 the next reported time is 10:44:10, so a delay of 25 seconds.
And again a delay between 10:44:10 and 10:44:35, again 25 seconds, followed by 7 seconds delay
till 10:44:42
Comment 3 Jay Loepp 2023-10-16 17:07:23 UTC
I've been having this same issue ever since I installed openSUSE and it's driving me nuts! The number 2 reason I use linux is that it boots immediately. Now thanks to this it takes longer than windows does to get going. Embarrassing.