Skip to content

Pressing escape quits search#213

Merged
droidmonkey merged 1 commit intokeepassxreboot:developfrom
knu:escape_to_quit_search
Jan 26, 2017
Merged

Pressing escape quits search#213
droidmonkey merged 1 commit intokeepassxreboot:developfrom
knu:escape_to_quit_search

Conversation

@knu
Copy link
Copy Markdown
Contributor

@knu knu commented Jan 25, 2017

Description

This allows for quitting search by pressing escape in the main window.

Motivation and Context

Everybody loves keyboard shortcuts, but there's no equivalent for the clear icon.

How Has This Been Tested?

The updated GUI test case.

Types of changes

  • ✅ New feature (non-breaking change which adds functionality)

Checklist:

  • ✅ I have read the CONTRIBUTING document. [REQUIRED]
  • ✅ My code follows the code style of this project. [REQUIRED]
  • ✅ All new and existing tests passed. [REQUIRED]
  • ✅ I have added tests to cover my changes.

Copy link
Copy Markdown

@saladpanda saladpanda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To clear this up:
This makes ESC quit search no matter where the focus is. The current implementation quits search only when the searchbox is focused.

@phoerious phoerious added this to the v2.2.0 milestone Jan 25, 2017
@knu
Copy link
Copy Markdown
Contributor Author

knu commented Jan 26, 2017

@DataMaan That's exactly my intention. I just want ESC to work whenever Ctrl+F works, and I think if any window/widget comes above the main window then ESC won't be consumed by the main window. For example, Ctrl+F -> type a word -> view/edit an entry -> ESC just get you back to the entry list without quitting search. Am I missing something?

@droidmonkey droidmonkey merged commit 6ccae6c into keepassxreboot:develop Jan 26, 2017
@droidmonkey
Copy link
Copy Markdown
Member

Great work, this bothered me as well

@knu knu deleted the escape_to_quit_search branch January 26, 2017 01:09
droidmonkey added a commit that referenced this pull request Jun 25, 2017
- Added YubiKey 2FA integration for unlocking databases [#127]
- Added TOTP support [#519]
- Added CSV import tool [#146, #490]
- Added KeePassXC CLI tool [#254]
- Added diceware password generator [#373]
- Added support for entry references [#370, #378]
- Added support for Twofish encryption [#167]
- Enabled DEP and ASLR for in-memory protection [#371]
- Enabled single instance mode [#510]
- Enabled portable mode [#645]
- Enabled database lock on screensaver and session lock [#545]
- Redesigned welcome screen with common features and recent databases [#292]
- Multiple updates to search behavior [#168, #213, #374, #471, #603, #654]
- Added auto-type fields {CLEARFIELD}, {SPACE}, {{}, {}} [#267, #427, #480]
- Fixed auto-type errors on Linux [#550]
- Prompt user prior to executing a cmd:// URL [#235]
- Entry attributes can be protected (hidden) [#220]
- Added extended ascii to password generator [#538]
- Added new database icon to toolbar [#289]
- Added context menu entry to empty recycle bin in databases [#520]
- Added "apply" button to entry and group edit windows [#624]
- Added macOS tray icon and enabled minimize on close [#583]
- Fixed issues with unclean shutdowns [#170, #580]
- Changed keyboard shortcut to create new database to CTRL+SHIFT+N [#515]
- Compare window title to entry URLs [#556]
- Implemented inline error messages [#162]
- Ignore group expansion and other minor changes when making database "dirty" [#464]
- Updated license and copyright information on souce files [#632]
- Added contributors list to about dialog [#629]
@phoerious phoerious added pr: new feature Pull request adds a new feature and removed new feature labels Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: new feature Pull request adds a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants