Automatically reopen sqlitebrowser when closed and remove minimize and close buttons from window decoration #9
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description:
IMHO the main use case of this container is having easy access to sqlitebrowser and to nothing else.
As in, you start the container to use sqlitebrowser and start something else in the container.
So it makes sense to reopen sqlitebrowser, if you have closed it by mistake (because you started to container to use sqlitebrowser 😉).
For preventing accidentally closing sqlitebrowser the close button is removed from the window decoration. It is still possible to close the program, but it is more complicated and so less likely to happen by mistake.
And also the minimize button is removed, because the minimized window can not get easily maximized again.
Benefits of this PR and context:
The changes decrease the chance of bad user experience (e.g. window minimized and gone) and threfore improve the usability of the container.
And that with minimal and clear changes 👍
How Has This Been Tested?
Made a test build of the container and checked if it still works. It does 👍
Source / References: