On Plasma Mobile we can't actually show a qwidgets based dialog
when the password is wrong, and preferably not any additional window over the $
this adds a signal to the kded when it fails to authenticate,
the handler will forget such password so that the password field will appear again and the kcm shows an error message when this happens
Details
Details
- Reviewers
jgrulich bshah - Group Reviewers
Plasma - Commits
- R116:63a541c4425f: send a signal over dbus when the wrong password is provided
tried to connect with wrong password
Diff Detail
Diff Detail
- Repository
- R116 Plasma Network Management Applet
- Branch
- phab/errorSignal
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 8828 Build 8846: arc lint + arc unit
Comment Actions
Good idea to remove the failed connection.
kded/secretagent.cpp | ||
---|---|---|
412 | I'm not sure this assumption is currect, it's not that the password is wrong all the time, NM might be just asking for additional passwords or for passwords which are marked not to be stored (e.g. VPN, or WPA2 EAP). But I guess for your usecase we can leave it as it is, we just need to make sure that Configuration::showPasswordDialog() will be true only on plasma-mobile. | |
libs/handler.h | ||
107 | void secretAgentError(const QString &connectionPath, const QString &message) so we know on first look what are these params? |