Bug 56438

Summary: noatun should not exit if one clicks the cross
Product: noatun Reporter: Thomas Zander <zander>
Component: generalAssignee: Stefan Gehn <mETz81>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Wolfgang Mader 2003-03-26 15:58:16 UTC
Version:           2.2.1 (using KDE 3.1.1)
Installed from:     (testing/unstable)
Compiler:          gcc version 3.2.3 20030309 (Debian prerelease)
OS:          Linux (i686) release 2.4.20

hello,
it would be nice if noatun would not exit if one clicks the cross. i think it would be better if it only disappears from the task list an from the desktop but remains in the systray.
to exit it -> rightclick on the symbol in the systray and click exit.
w mader
Comment 1 Neil Stevens 2003-03-27 04:39:16 UTC
http://developer.kde.org/documentation/standards/kde/style/basics/systray.html 
 
Technically, this is a bug.  The url above demands the requested behavior. 
Comment 2 Eray Ozkural 2003-10-21 14:19:05 UTC
You're right, Neil. Who wants to fix it?

Comment 3 Stefan Gehn 2003-12-27 12:17:40 UTC
Don't mess with the systray in a kde application which has more than one KMainWindow, it'll break ya neck :P
Comment 4 Thomas Zander 2004-01-06 13:38:57 UTC
> Don't mess with the systray in a kde application which has more than one KMainWindow, it'll break ya neck :P 

What kind of problems are we talking about here, since currently the behavior is not uniform. So whatever the resolution, it should be done KDE wide.

IMO its not that hard; 
if(openPlugins > 0) 
	allPlugins=getOpenPluginsList
	hideAllPlugins
else
	foreach plugin in allPlugins
		showPlugin


Naturally this all becomes really easy if a mainwindow can have a parent window (invisible naturally) which can be iconified; taking all child windows with it.
Comment 5 Stephan Kulow 2004-05-31 20:32:42 UTC
Replaced trustindevil@gmx.de with zander@kde.org due to bounces by reporter
Comment 6 Stefan Gehn 2004-05-31 22:43:13 UTC
anyway, got a patch on my (currently broken) workstation. I'll commit this soon. Somebody mailed it to me, I'll give credit in the commit message when I can commit it :)
Comment 7 Stefan Gehn 2004-06-05 10:18:58 UTC
Fixed in CVS, will appear in KDE 3.3