-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
When creating or editing entry, Setup TOTP reset fields to original state #6838
Comments
Found it, we were reloading data from the entry if it was modified outside of the edit widget. This doesn't make sense when creating a new entry (all data is blank), so when TOTP was set it triggered the modified signal on the empty entry and blanks out the fields. Adding a creation guard to that signal fixed the problem. |
Oof nevermind, the fix to this will require the much dreaded complete rewrite to the edit entry widget. |
I don't know if such a rewrite would be part of #8228 for 2.8.0 (?), but if not, a quick workaround would be to check for unsaved changes before starting the TOTP setup, and prompt the user to save first. |
Overview
When manually creating a new login with TOTP, on completion of the "setup TOTP" step it wipes other information entered previously. Note this only happens with a new entry, if adding TOTP to an existing entry it does not happen.
Steps to Reproduce
Expected Behavior
Set up of TOTP should leave previous entries intact
Actual Behavior
When the Set up TOTP step is complete and click on Ok (within the TOTP pop-up) the Title through URL entries are wiped
Context
This only happens with a new entry, so when the Title through URL information is entered just before selecting Set up TOTP. If Set up TOTP is used with an existing entry this does not occur.
[NOTE]:
KeePassXC - VERSION 2.6.6
Revision: REVISION 9c108b9
[NOTE]:
Operating System: Windows
The text was updated successfully, but these errors were encountered: