Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Fixed: children windows become orphans when main evolution window gets closed first#2

Open
pavelgood wants to merge 1 commit intoacidrain42:masterfrom
pavelgood:fix_orphan_children_windows
Open

Fixed: children windows become orphans when main evolution window gets closed first#2
pavelgood wants to merge 1 commit intoacidrain42:masterfrom
pavelgood:fix_orphan_children_windows

Conversation

@pavelgood
Copy link

The purpose of this commit (PR) is to fix one small but quite annoying BUG, that
apears when "hide on close" feature is enabled. Steps to reproduce:
* enable "hide on close" feature
* open the main evolution window
* open at least one email message (should appear in a separate window)
* close the main window (should disappear and probably be closed/destroyed but not hidden)
* close the child window (BUG: child is orphan now and can't be closed, tray icon doesn't toggle main window anymore)

Issue: current implementation is based on "quit-requested" event interception, which is sent only when last window (main or child) is about to be closed as it means to quit the application. It works fine when all children windows get closed first but causes a problem othewise.

Proposal: using "delete-event" instead of "quit-requested".

…ted and

main evolution window gets closed before them.

Solution: using "delete-event" instead of "quit-requested" event.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant