Bug 378568 - Annoying (and seemingly unnecessary) KWallet popup on start
Summary: Annoying (and seemingly unnecessary) KWallet popup on start
Status: RESOLVED WORKSFORME
Alias: None
Product: Discover
Classification: Applications
Component: KNewStuff Backend (other bugs)
Version First Reported In: 5.9.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-08 20:25 UTC by Matthew Trescott
Modified: 2024-06-06 03:45 UTC (History)
4 users (show)

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


Attachments
Backtrace (1.45 MB, image/jpeg)
2017-05-22 21:50 UTC, Matthew Trescott
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Trescott 2017-04-08 20:25:06 UTC
(Moving from #278036)

Every time I open up Discover, a KWallet prompt comes up. I'm not using kwallet-pam. I'm not sure the point of this—polkit seems to be configured to allow me to install packages with Discover without a sudo prompt.
Comment 1 Aleix Pol 2017-04-13 10:04:43 UTC
Can you show a screenshot? Doesn't it give any reason whatsoever?

I cannot reproduce here...
Comment 2 Matthew Trescott 2017-04-13 20:37:27 UTC
Here's a picture of the screen. pinentry blocked me from accessing Spectacle. https://drive.google.com/open?id=0B_iE50uqUIIbeEc5cHVBNWphNnM

Perhaps you use kwallet_pam so you don't get prompted for a password? I get the same popup other places (e.g. when using KIO-GDrive because my Google account credentials are stored in KWallet) but I'm not sure what kind of credentials Discover might need to store in KWallet.
Comment 3 Aleix Pol 2017-05-22 10:38:44 UTC
Hi, I've been trying hard to reproduce and could not. Can you maybe try to run it with a breakpoint on KdePlatformDependent::openWallet?

It's used to set up credentials for OCS in KNewStuff.
Comment 4 Aleix Pol 2017-05-22 10:40:02 UTC
And now thinking about it, just having the back-trace when it's blocked requesting the wallet should work just as well.

I can help you with gdb if you're not familiar with it.
Comment 5 Matthew Trescott 2017-05-22 21:50:31 UTC
Created attachment 105678 [details]
Backtrace

This is the backtrace while Discover was waiting for credentials. I had to use a VT because pinentry won't let me open a terminal, so sorry about the picture being a bit blurry.
Comment 6 Aleix Pol 2017-05-23 16:44:46 UTC
#0 Attica::KdePlatformDependent::hasCredentials() at /home/apol/devel/frameworks/plasma-desktop/attica-kde/kdeplugin/kdeplatformdependent.cpp:155
#1 Attica::Provider::Private::Private() at /home/apol/devel/frameworks/attica/src/provider.cpp:173
#2 Attica::Provider::Provider() at /home/apol/devel/frameworks/attica/src/provider.cpp:207
#3 Attica::ProviderManager::parseProviderFile() at /home/apol/devel/frameworks/attica/src/providermanager.cpp:229
#4 Attica::ProviderManager::fileFinished() at /home/apol/devel/frameworks/attica/src/providermanager.cpp:160
#5 Attica::ProviderManager::qt_static_metacall() at /home/apol/build-devel/frameworks/attica/src/KF5Attica_autogen/EWIEGA46WW/moc_providermanager.cpp:113
#6 QMetaObject::activate() at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qobject.cpp:3766

Here's the actual backtrace with lines and debug information.
Comment 7 Harald Sitter 2024-05-07 07:59:45 UTC
From the backtrace the auth dialog doesn't seem unnecessary though? It's used for opendesktop.org login credentials.
Comment 8 Harald Sitter 2024-05-07 08:00:09 UTC
.
Comment 9 Bug Janitor Service 2024-05-22 03:45:21 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Bug Janitor Service 2024-06-06 03:45:56 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!