Bug 112041

Summary: can't quit atlantik, need to xkill
Product: [Applications] atlantik Reporter: Mathieu Jobin <opensource>
Component: generalAssignee: Rob Kaper <webmaster>
Status: RESOLVED FIXED    
Severity: normal CC: 4maillists, chriswhite
Priority: NOR    
Version: 0.7.5   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mathieu Jobin 2005-09-04 20:13:24 UTC
Version:           0.7.5 (using KDE 3.4.90 (alpha1, >= 20050806), Gentoo)
Compiler:          gcc version 3.3.5-20050130 (Gentoo Linux 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1)
OS:                Linux (i686) release 2.6.12-gentoo-r6

clicking the X on the titlebar, or File->Quit does nothing....

I always need to kill atlantik using xkill

(3.4.2 and 3.5alpha1)
Comment 1 Chris White 2005-09-24 18:37:11 UTC
I can confirm this as well.  Only package in all of kdegames that does it.  Same app version gcc 3.4, 2.6.12 kernel, kde beta1 release.
Comment 2 Rob Kaper 2005-09-26 10:35:29 UTC
I do recall making use of some closeEvent magic to prevent accidental exits during a running game, but as this works fine for me on 3.4.0 I fear a regression somewhere in kdelibs. Unfortunately I currently have no time or means to actively maintain Atlantik..
Comment 3 Rob Kaper 2005-11-29 06:18:47 UTC
*** Bug 112046 has been marked as a duplicate of this bug. ***
Comment 4 Rob Kaper 2005-11-29 06:18:55 UTC
*** Bug 117255 has been marked as a duplicate of this bug. ***
Comment 5 Albert Astals Cid 2005-11-29 22:39:56 UTC
SVN commit 484216 by aacid:

Fix bug 112041, atlantik can not close
This will be on KDE 3.5.1
Stephan you should be really, really, really more careful when doing this substituions ;-(
BUG: 112041


 M  +1 -1      atlantik.cpp  


--- branches/KDE/3.5/kdegames/atlantik/client/atlantik.cpp #484215:484216
@@ -838,7 +838,7 @@
 	Game *gameSelf = m_atlanticCore->gameSelf();
 	Player *playerSelf = m_atlanticCore->playerSelf();
 
-	int result = KMessageBox::Yes;
+	int result = KMessageBox::Continue;
 	if ( gameSelf && !playerSelf->isBankrupt() && m_runningGame )
 		result = KMessageBox::warningContinueCancel( this, i18n("You are currently part of an active game. Are you sure you want to close Atlantik? If you do, you forfeit the game."), i18n("Close & Forfeit?"), i18n("Close && Forfeit") );