Auto-Type: Shortcuts for selection dialog (#6361)

* Shortcut to toggle search all entries
* Select first match only when we have a window match

When we default to full database search it's possible the user would select the first match without by accident.

In this case when our query is empty we don't select anything and you need to either type something or press down to select the first item.

* Added username, password, and TOTP keyboard shortcuts and a help tip

* Closes #6176

Co-authored-by: Jonathan White <[email protected]>
This commit is contained in:
Toni SpetsandJonathan White authored and GitHub committed 2021-03-31 23:27:56 -04:00
1 parent c19efb5b19
commit 371bd2e51b
5 files changed
+112 -44

No files matched your search

+5
View File
@@ -509,6 +509,11 @@ void AutoType::resetAutoTypeState()
QList<QSharedPointer<AutoTypeAction>>
AutoType::parseSequence(const QString& entrySequence, const Entry* entry, QString& error, bool syntaxOnly)
{
if (!entry) {
error = tr("Invalid entry provided");
return {};
}
const int maxTypeDelay = 100;
const int maxWaitDelay = 10000;
const int maxRepetition = 100;