You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
The timer event for the clipboard clearing functionality should be improved. When new passwords are copied in the clipboard the timer should be reset to the user's time interval set in the settings.
The current behaviour is as such:
The clearing timer starts whenever a 'copy to clipboard' event is detected. However if another 'copy to clipboard' event is detected while the clearing didn't occur yet then the user will have his clipboard (which contains the new copied password) cleared sooner than expected.
Set the clearing timer to 10sec.
Click on a password to copy in the clipboard.
Wait 5 seconds.
Click on another password to copy to the clipboard.
Observe that the clipboard is cleared after 5 seconds instead of 10 seconds (because the clearing timer wasn't reset when the second password was copied).
The text was updated successfully, but these errors were encountered:
Hi @annejan, these issues are not related. In #307 it's all about the GPG passphrase to decrypt the user's private key. In my issue it's about the QtPass clipboard auto-clear timer.
Maybe I wasn't clear in my initial comment, let me try to rephrase it:
When the auto-clear functionality is set for X seconds, when decrypting a password the clipboard is automatically cleared after X seconds. However, if in the meantime (before the first auto-clear occurs) the user decrypts another password, the first auto-clear will sill clear the clipboard after X seconds based on the first password's decryption date, not based on the second password decryption date. Which means that if you decrypt a second password right before the first auto-clear occurs, your clipboard is going to be immediately cleared when the second password is copied in the clipboard which is kinda annoying.