keepassxc/src/core
Michal Suchanek b9daed2055 Correct issues with hiding and minimizing the MainWindow
The GUI features depend on windowing system used, not just OS.

There is an issue with the WM sometimes producing an event that keepassxc interprets as request to hide the main window just after it is shown. A workaround with immediately firing a timer was implemented. However, there is no guarantee on execution ordering of the timer callback and other application code. Remove the timer and override
show() and hide() on main window to only hide if the window has not been shown recently.

The user can set an option to hide window instead of minimizing when tray icon is enabled. This is not honored in most places where the main windows is minimized. Fix it. This also allows using the tray icon as a workaround for minimization not working under some circumstances in X11.

Signed-off-by: Michal Suchanek <msuchanek@suse.de>
2020-02-27 23:25:44 -05:00
..
Alloc.cpp Check include malloc.h and malloc_usable_size(3) 2019-11-01 22:54:24 -04:00
AsyncTask.h Restore correct formatting 2018-11-28 18:29:15 -05:00
AutoTypeAssociations.cpp Introduce synchronize merge method 2018-09-30 09:36:39 -04:00
AutoTypeAssociations.h Introduce synchronize merge method 2018-09-30 09:36:39 -04:00
AutoTypeMatch.cpp Reduce unnecessary copies using move semantics 2018-10-31 15:16:04 +01:00
AutoTypeMatch.h add support for multiple autotype sequence, fix #559 2018-02-04 23:13:15 +01:00
Base32.cpp Improve Base32.cpp 2017-11-12 12:09:35 -06:00
Base32.h Replace Optional with QVariant 2017-10-21 13:15:02 +02:00
Bootstrap.cpp Fix start minimized to tray for unix 2019-11-23 09:53:40 -05:00
Bootstrap.h Multiple macOS fixes and include keepassxc-cli in DMG (#2165) 2018-12-28 18:32:25 -05:00
Clock.cpp Correct issues with hiding and minimizing the MainWindow 2020-02-27 23:25:44 -05:00
Clock.h Correct issues with hiding and minimizing the MainWindow 2020-02-27 23:25:44 -05:00
Compare.cpp Removing QColor (from Qt::Widgets) from core modules. (#4247) 2020-01-26 21:38:43 -05:00
Compare.h Removing QColor (from Qt::Widgets) from core modules. (#4247) 2020-01-26 21:38:43 -05:00
Config.cpp Add checkbox to allow minimize after database unlock. 2019-09-02 21:53:16 -04:00
Config.h Improve accessibility (#3409) 2019-08-30 20:18:41 -04:00
CsvParser.cpp Add braces around single line statements 2020-02-02 08:46:18 -05:00
CsvParser.h Reduce number of unneeded copies 2018-10-31 15:16:04 +01:00
CustomData.cpp Support Database Custom Data Merging (#3002) 2019-05-01 18:35:08 -04:00
CustomData.h Support Database Custom Data Merging (#3002) 2019-05-01 18:35:08 -04:00
Database.cpp Ensure challenge-response key buffer is properly cleared. 2020-01-11 11:16:03 +01:00
Database.h Correct multiple issues with database saving 2019-12-14 21:26:12 -05:00
DatabaseIcons.cpp Add sharing of groups between databases 2018-10-01 10:39:37 -04:00
DatabaseIcons.h Add sharing of groups between databases 2018-10-01 10:39:37 -04:00
Endian.h Formatting the code. 2018-03-31 16:01:30 -04:00
Entry.cpp Add braces around single line statements 2020-02-02 08:46:18 -05:00
Entry.h Removing QColor (from Qt::Widgets) from core modules. (#4247) 2020-01-26 21:38:43 -05:00
EntryAttachments.cpp Avoid creation of temporary containers 2019-01-30 09:50:10 -05:00
EntryAttachments.h Refactor Database and Database widgets (#2491) 2018-11-22 11:47:31 +01:00
EntryAttributes.cpp Updates to EntrySearcher 2019-02-25 18:09:54 -05:00
EntryAttributes.h Updates to EntrySearcher 2019-02-25 18:09:54 -05:00
EntrySearcher.cpp Expose EntrySearcher's SearchTerm for internal code usage 2019-11-08 17:37:50 -05:00
EntrySearcher.h Expose EntrySearcher's SearchTerm for internal code usage 2019-11-08 17:37:50 -05:00
Exporter.h Formatting the code. 2018-03-31 16:01:30 -04:00
FilePath.cpp Ignore system icon theme, always use our own icons 2020-01-29 19:18:54 -05:00
FilePath.h Ignore system icon theme, always use our own icons 2020-01-29 19:18:54 -05:00
FileWatcher.cpp Prevent unnecessary merge requests on intermittent network shares 2020-01-10 20:10:35 -05:00
FileWatcher.h Prevent reloading database while editing an entry or group 2019-12-14 21:26:12 -05:00
Global.h Add option to use entry only for HTTP Basic Auth 2019-12-21 17:28:27 -05:00
Group.cpp Prevent new entry loss on database file reload 2019-10-23 22:47:59 -04:00
Group.h Prevent new entry loss on database file reload 2019-10-23 22:47:59 -04:00
HibpOffline.cpp CLI: add 'analyze' subcommand for offline HIBP breach checks 2019-06-25 15:37:40 -04:00
HibpOffline.h CLI: add 'analyze' subcommand for offline HIBP breach checks 2019-06-25 15:37:40 -04:00
IconDownloader.cpp Icon downloader button list check 2020-02-20 20:38:07 +02:00
IconDownloader.h Download all favicons (#3169) 2019-07-07 15:29:11 -04:00
InactivityTimer.cpp Restore correct formatting 2018-11-28 18:29:15 -05:00
InactivityTimer.h Replace Q_EMIT, Q_SIGNALS and Q_SLOTS macros with MOC keywords 2017-03-10 16:12:02 +01:00
ListDeleter.h Formatting the code. 2018-03-31 16:01:30 -04:00
MacPasteboard.cpp Formatting the code. 2018-03-31 16:01:30 -04:00
MacPasteboard.h Formatting the code. 2018-03-31 16:01:30 -04:00
Merger.cpp Merge custom data only when necessary (#3475) 2019-09-16 14:01:13 -04:00
Merger.h Add CLI --dry-run option for merge (#3254) 2019-06-18 21:45:24 -04:00
Metadata.cpp Removing QColor (from Qt::Widgets) from core modules. (#4247) 2020-01-26 21:38:43 -05:00
Metadata.h Removing QColor (from Qt::Widgets) from core modules. (#4247) 2020-01-26 21:38:43 -05:00
NetworkManager.cpp Download all favicons (#3169) 2019-07-07 15:29:11 -04:00
NetworkManager.h Download all favicons (#3169) 2019-07-07 15:29:11 -04:00
OSEventFilter.cpp Force app exit if session manager signals a shutdown. (#3666) 2019-10-26 16:14:28 +02:00
OSEventFilter.h Code quality updates for 2.4.0 (#2709) 2019-02-18 08:26:56 -05:00
PassphraseGenerator.cpp Fix keepassxc-browser password entropy display (#3107) 2019-06-19 20:40:41 -04:00
PassphraseGenerator.h Fix keepassxc-browser password entropy display (#3107) 2019-06-19 20:40:41 -04:00
PasswordGenerator.cpp Implement Password Health Report 2020-02-01 09:30:12 -05:00
PasswordGenerator.h Implement Password Health Report 2020-02-01 09:30:12 -05:00
PasswordHealth.cpp Remove result cache from the HealthChecker class 2020-02-01 09:30:12 -05:00
PasswordHealth.h Remove result cache from the HealthChecker class 2020-02-01 09:30:12 -05:00
ScreenLockListener.cpp Formatting the code. 2018-03-31 16:01:30 -04:00
ScreenLockListener.h Formatting the code. 2018-03-31 16:01:30 -04:00
ScreenLockListenerDBus.cpp retrieve login1 session object from manager (#3339) 2020-01-25 09:56:16 -05:00
ScreenLockListenerDBus.h retrieve login1 session object from manager (#3339) 2020-01-25 09:56:16 -05:00
ScreenLockListenerMac.cpp Performed project-wide code formatting 2019-01-28 22:38:59 -05:00
ScreenLockListenerMac.h Performed project-wide code formatting 2019-01-28 22:38:59 -05:00
ScreenLockListenerPrivate.cpp Replace deprecated parts of the code (#2419) 2018-10-26 15:19:04 +02:00
ScreenLockListenerPrivate.h Improve readability and type-safety 2018-10-31 15:16:04 +01:00
ScreenLockListenerWin.cpp Formatting the code. 2018-03-31 16:01:30 -04:00
ScreenLockListenerWin.h Fixes for minor issues found by static analysis 2020-02-02 08:46:58 -05:00
SignalMultiplexer.cpp Formatting the code. 2018-03-31 16:01:30 -04:00
SignalMultiplexer.h Make C++11 mandatory. 2015-09-12 13:55:50 +02:00
TimeDelta.cpp Formatting the code. 2018-03-31 16:01:30 -04:00
TimeDelta.h Drop Qt module name from include statements. 2013-10-03 15:18:16 +02:00
TimeInfo.cpp Performed project-wide code formatting 2019-01-28 22:38:59 -05:00
TimeInfo.h Introduce synchronize merge method 2018-09-30 09:36:39 -04:00
Tools.cpp Add braces around single line statements 2020-02-02 08:46:18 -05:00
Tools.h Implement SSH key file path env substitution 2020-01-27 22:57:31 -05:00
Translator.cpp Improve accessibility (#3409) 2019-08-30 20:18:41 -04:00
Translator.h Improve accessibility (#3409) 2019-08-30 20:18:41 -04:00