Bug 87727

Summary: Contact list does not display on startup
Product: [Unmaintained] kopete Reporter: Ken Zalewski <kennyz>
Component: Main ApplicationAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 0.9.0   
Target Milestone: ---   
Platform: Slackware   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ken Zalewski 2004-08-22 04:43:05 UTC
Version:           0.9.0 (using KDE KDE 3.3.0)
Installed from:    Slackware Packages
Compiler:          gcc 3.3.4 
OS:                Linux

When using the systray icon, the Kopete contact list does not open up when Kopete is started.

The Behavior option "Show the system tray icon" is selected, but the "Start with the contact list minimised to the system tray" option is NOT checked.  This means that the contact list should display when Kopete is started (along with the system tray icon), but it is not.

Only the system tray icon is displayed on startup, forcing the user to click in the system tray icon to view the contact list.
Comment 1 Matt Rogers 2004-08-23 05:27:51 UTC
CVS commit by mattr: 

Fix bug 87727. 
 
saveOptions() was in the destructor, which meant the window state was always hidden. 
 
CCMAIL: 87727@bugs.kde.org 


  M +1 -1      kopetewindow.cpp   1.200


--- kdenetwork/kopete/kopete/kopetewindow.cpp  #1.199:1.200
@@ -247,5 +247,4 @@ void KopeteWindow::initSystray()
 KopeteWindow::~KopeteWindow()
 {
-        saveOptions();
         delete m_pluginConfig;
 }
@@ -460,4 +459,5 @@ void KopeteWindow::closeEvent( QCloseEve
 void KopeteWindow::slotQuit()
 {
+        saveOptions();
         KopeteApplication *app = static_cast<KopeteApplication *>( kapp );
         app->quitKopete();


Comment 2 Matt Rogers 2004-08-23 05:29:36 UTC
CVS commit by mattr: 

Backport the fix for bug 87727. This should be in KDE 3.3.1

CCMAIL: 87727-done@bugs.kde.org


  M +1 -1      kopetewindow.cpp   1.199.2.1


--- kdenetwork/kopete/kopete/kopetewindow.cpp  #1.199:1.199.2.1
@@ -247,5 +247,4 @@ void KopeteWindow::initSystray()
 KopeteWindow::~KopeteWindow()
 {
-        saveOptions();
         delete m_pluginConfig;
 }
@@ -460,4 +459,5 @@ void KopeteWindow::closeEvent( QCloseEve
 void KopeteWindow::slotQuit()
 {
+        saveOptions();
         KopeteApplication *app = static_cast<KopeteApplication *>( kapp );
         app->quitKopete();