Version: (using KDE KDE 3.2.2) Installed from: Compiled From Sources Compiler: gcc 3.4 OS: Linux well to reproduce it i do the following: 1. run kopete with the tray option it wroks fine; the close button minimise kopete in the dock .. 2. unselect the tray system in kopete settings "apply"=> the kopete icone disappears in the tray dock (ok) 3. then clic the close button (should exit kopete) but in fact kopete just disappear and is still running while doing a "ps aux" (can be annoying for a beginner trying to parametrise its computer).... 4. it works again fine if you ste the tray systrm back or at your next login I love Kopete thanks for it! Benjamin
CVS commit by mattr: Save the settings and quit kopete when we're not using the tray, instead of just hiding it. Fixes bugs 81143 and 81809. CCMAIL: 81143-done@bugs.kde.org CCMAIL: 81809-done@bugs.kde.org M +10 -0 kopetewindow.cpp 1.192 --- kdenetwork/kopete/kopete/kopetewindow.cpp #1.191:1.192 @@ -432,4 +432,14 @@ void KopeteWindow::closeEvent( QCloseEve e->accept(); + + //If we're not showing the tray, and they close the window (via the 'X' in the titlebar), + //workaround the fact that accepting the close event doesn't cause kopete to shutdown + if ( !app->isShuttingDown() ) + { + queryExit(); + slotQuit(); + } + + //may never get called return; }
CVS commit by mattr: Backport the fixes for 81143 and 81809. Should be in KDE 3.2.3 CCMAIL: 81143@bugs.kde.org, 81809@bugs.kde.org M +10 -0 kopetewindow.cpp 1.170.2.2 --- kdenetwork/kopete/kopete/kopetewindow.cpp #1.170.2.1:1.170.2.2 @@ -431,4 +431,14 @@ void KopeteWindow::closeEvent( QCloseEve e->accept(); + + //If we're not showing the tray, and they close the window (via the 'X' in the titlebar), + //workaround the fact that accepting the close event doesn't cause kopete to shutdown + if ( !app->isShuttingDown() ) + { + queryExit(); + slotQuit(); + } + + //may never get called return; }
You need to log in before you can comment on or make changes to this bug.