Hide window on close is a common workflow for macOS apps. Users close the window, but the application is working in the background with opened document. If you want to go back, you just click app icon in the dock.
Expected Behavior
When user presses window Close button, the window is hidden (not minimized).
Current Behavior
When use presses window Close button, it closes the application.
Possible Solution
Add option in the preferences to enable described behaviour. I think we can use QWindow::hide() method.
Steps to Reproduce (for bugs)
Context
This will implement common macOS app workflow.
Your Environment
- KeePassXC 2.1.4
- Qt version (e.g. Qt 5.3):
- Compiler (e.g. Clang++3.6.0):
- Operating System and version: macOS Sierra
Hide window on close is a common workflow for macOS apps. Users close the window, but the application is working in the background with opened document. If you want to go back, you just click app icon in the dock.
Expected Behavior
When user presses window Close button, the window is hidden (not minimized).
Current Behavior
When use presses window Close button, it closes the application.
Possible Solution
Add option in the preferences to enable described behaviour. I think we can use QWindow::hide() method.
Steps to Reproduce (for bugs)
Context
This will implement common macOS app workflow.
Your Environment