STEPS TO REPRODUCE 1. Initiate any operation that requires authorization 2. Cancel the password prompt EXPECTED RESULTS The password dialogs disappears and that's the end of it ACTUAL RESULTS The password dialog disappears, but then a little bubble message appears complaining about no authorization. There's no need to show this: - When the password dialog was purposely dismissed, user doesn't need a complainey notification telling them about something they decided to do - When the password is entered incorrectly, the password dialog supplies its own "that was the wrong password, try again" message
Created attachment 109461 [details] Unnecessary message shown after canceling password prompt
The problem exists, but there's not much we can do about it ATM. The UI comes from PolicyKit through PackageKit, the response we get is ErrorNotAuthorized.
Well we can just eat this error and not display it to the user, right? 1. If the error comes from the user purposely dismissing the dialog, we don't need to annoy them with another message 2. If the error comes from the user entering their password incorrectly multiple times, the dialog has already told them what the problem is.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/104
There was no agreement on my proposed change. Closing.