The configuration module of the current kwalletmanager version begins to set up an authentication action required for saving changes to the wallet configuration, but fails to add the actual authAction. As a result, saving becomes impossible because `authAction().isValid == false`. Reproducible: Always Steps to Reproduce: N/A Actual Results: authAction.isValid() evaluates to falls, and as a result it is impossible to save changes to the wallet configuration Expected Results: changes to the configuration can be saved either setAuthAction() is called to define an authentication action, or else the code setting up an authentication requirement should be stripped like with the patch below. --- src/konfigurator/orig.konfigurator.cpp 2015-12-22 01:46:08.000000000 +0100 +++ src/konfigurator/konfigurator.cpp 2015-12-22 01:46:57.000000000 +0100 @@ -60,7 +60,7 @@ QStringLiteral(), QStringLiteral("staikos@kde.org")); setAboutData(about); - setNeedsAuthorization(true); + setNeedsAuthorization(false); QVBoxLayout *vbox = new QVBoxLayout(this); //PORT QT5 vbox->setSpacing(KDialog::spacingHint()); @@ -267,18 +267,19 @@ QVariantMap args; KAuth::Action action = authAction(); if (!action.isValid()) { - qDebug() << "There's no authAction, not saving settings"; - return; - } - action.setArguments(args); +// qDebug() << "There's no authAction, not saving settings"; +// return; + } else { + action.setArguments(args); - KAuth::ExecuteJob *j = action.execute(); + KAuth::ExecuteJob *j = action.execute(); - if (!j->exec()) { - qDebug() << j->errorText(); - KMessageBox::error(this, j->errorString(), i18n("KDE Wallet Control Module")); - load(); - return; + if (!j->exec()) { + qDebug() << j->errorText(); + KMessageBox::error(this, j->errorString(), i18n("KDE Wallet Control Module")); + load(); + return; + } } KConfigGroup config(_cfg, "Wallet");
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported and confirmed, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
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!
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!