Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-close About Dialog before locking databases #5947

Merged
merged 1 commit into from
Jan 29, 2021

Conversation

droidmonkey
Copy link
Member

Testing strategy

Tested on Windows

Type of change

  • ✅ Bug fix (non-breaking change that fixes an issue)

@droidmonkey droidmonkey requested a review from phoerious January 16, 2021 16:52
@droidmonkey droidmonkey added this to the v2.6.4 milestone Jan 27, 2021
@droidmonkey droidmonkey linked an issue Jan 27, 2021 that may be closed by this pull request
Copy link
Member

@phoerious phoerious left a comment

Choose a reason for hiding this comment

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

LGTM, but in the future we should have a more generic solution. Like a flag on each modal of whether it should be auto-closed or not and then the lock function just goes ahead and closes all auto-close modals and only blocks if there are any non-auto-close modals left open.

@droidmonkey
Copy link
Member Author

I had developed one in the past but the problem is you have to handle modal choice dialogs like "Save your changes?". We need an application level setting to auto-save on lock, or similar, even just saving the encrypted data to memory and not to disk and load from memory.

@droidmonkey droidmonkey merged commit 63df00a into release/2.6.4 Jan 29, 2021
@droidmonkey droidmonkey deleted the hotfix/about-dialog branch January 29, 2021 02:21
phoerious added a commit that referenced this pull request Jan 31, 2021
Added

- Automatically adapt to light/dark system theme changes (Windows/macOS only) [#6034]

Changed

- Show window title as tooltip on system tray [#5948]
- Compress Snap release as LZO for faster initial startup [#5877]
- Password generator: Set maximum selectable password length to 999 [#5937]

Fixed

- Fix crash on app close when using SSH agent [#5935]
- Fix KDF selection showing wrong item when using Argon2id [#5923]
- Automatically close About dialog on database lock if it is still open [#5947]
- Linux: Fix automatic launch at system startup with AppImages [#5901]
- Linux: Fix click-to-move on empty area activating when using menus [#5971]
- Linux: Try multiple times to show tray icon if tray is not ready yet [#5948]
- macOS: Fix KeePassXC blocking clean shutdown [#6002]
aswild added a commit to aswild/keepassxc that referenced this pull request Feb 5, 2021
Release 2.6.4

Added

- Automatically adapt to light/dark system theme changes (Windows/macOS only) [keepassxreboot#6034]

Changed

- Show window title as tooltip on system tray [keepassxreboot#5948]
- Compress Snap release as LZO for faster initial startup [keepassxreboot#5877]
- Password generator: Set maximum selectable password length to 999 [keepassxreboot#5937]

Fixed

- Fix crash on app close when using SSH agent [keepassxreboot#5935]
- Fix KDF selection showing wrong item when using Argon2id [keepassxreboot#5923]
- Automatically close About dialog on database lock if it is still open [keepassxreboot#5947]
- Linux: Fix automatic launch at system startup with AppImages [keepassxreboot#5901]
- Linux: Fix click-to-move on empty area activating when using menus [keepassxreboot#5971]
- Linux: Try multiple times to show tray icon if tray is not ready yet [keepassxreboot#5948]
- macOS: Fix KeePassXC blocking clean shutdown [keepassxreboot#6002]
@phoerious phoerious added pr: bugfix Pull request that fixes a bug and removed bug labels Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: bugfix Pull request that fixes a bug security
Projects
None yet
Development

Successfully merging this pull request may close these issues.

About window blocks database lock
2 participants