Bug 378568 - Annoying (and seemingly unnecessary) KWallet popup on start
Summary: Annoying (and seemingly unnecessary) KWallet popup on start
Status: CONFIRMED
Alias: None
Product: Discover
Classification: Applications
Component: KNewStuff Backend (show other bugs)
Version: 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: 2019-02-03 17:14 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


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.