| Summary: | Canceling Polkit prompt for installing a GHNS item shows an unnecessary error popup | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-knewstuff | Reporter: | fruu.tee11 |
| Component: | general | Assignee: | Alexander Lohnau <alexander.lohnau> |
| Status: | CONFIRMED --- | ||
| Severity: | minor | CC: | alexander.lohnau, kdelibs-bugs-null, nate |
| Priority: | NOR | ||
| Version First Reported In: | 5.90.0 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
fruu.tee11
2022-01-26 17:55:51 UTC
I will take care of it, the KRunner plugin KNewStuff installer had a related problem that I fixed a while back. Meaning KNewStuff does not need any changes, only the sddmthemeinstaller. Not sure why, but KAuth gives one only a AuthorizationDeniedError instead of UserCancelledError when one clicks the cancel button. Meaning we can not tell if the authorization failed or if the user canceled :( A "solution" would be to simply ignore errors from the auth job. With the KMessageBox::sorry method call one might argue, that the installer already takes care of displaying the error message in case there is anything to display. @Nate, what do you think? I agree and have argued in favor if this in the past. |