Bug 324458 - Trojita quit after last visible window is closed
Summary: Trojita quit after last visible window is closed
Status: RESOLVED FIXED
Alias: None
Product: trojita
Classification: Applications
Component: Desktop GUI (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Trojita default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-03 15:17 UTC by Pali Rohár
Modified: 2013-09-04 15:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pali Rohár 2013-09-03 15:17:23 UTC
It is possible to minimalize trojita main window to systray and then main window act as hidden.
If you open new composer window, then minimalize trojita to systray and then close composer window (e.g. by close button or automatically when mail sent), trojita immediately quit. Same happen if trojita is in systray and some error message dialog will show. After closing dialog, trojia quit too.
Comment 1 Jan Kundrát 2013-09-04 08:02:19 UTC
Please go ahead and submit a patch for this. It is probably related to our (broken) handling of the "quit on last window close" flag.
Comment 2 Pali Rohár 2013-09-04 15:00:25 UTC
Git commit 61842237f0cc33922d9872097e824f011fc397b4 by Pali Rohár.
Committed on 04/09/2013 at 13:27.
Pushed by jkt into branch 'master'.

Do not quit application on last closed window when running in systray
REVIEW: 112515

M  +4    -0    src/Gui/Window.cpp

http://commits.kde.org/trojita/61842237f0cc33922d9872097e824f011fc397b4