Bug 69535

Summary: changing plugin modifies mdi mode
Product: [Applications] kdevelop Reporter: filippo santovito <filippo.santovito>
Component: UI: all modesAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal CC: filippo.santovito, jonsmirl
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description filippo santovito 2003-12-03 01:11:24 UTC
Version:           3.0.0b2 (using KDE 3.1.4)
Installed from:    compiled sources
Compiler:          gcc version 3.2.3
OS:          Linux (i686) release 2.4.22

if you enable or disable plugins (from settings menu) while you are in ideal mode changes MDI mode
Comment 1 Amilcar do Carmo Lucas 2003-12-03 10:38:32 UTC
*** Bug 69544 has been marked as a duplicate of this bug. ***
Comment 2 Alexander Dymo 2003-12-06 19:01:04 UTC
Subject: kdevelop/src

CVS commit by dymo: 

Save mdi settings (mdi mode) after switching the mode, but not before.
Reviewed by teatime.
CCMAIL: 69535-done@bugs.kde.org


  M +12 -12    mainwindow.cpp   1.61


--- kdevelop/src/mainwindow.cpp  #1.60:1.61
@@ -1165,5 +1165,4 @@ void MainWindow::switchToToplevelMode()
   m_bUiModeSwitchPending = true;
   
-  saveMDISettings();
   m_toggleViewbar->setEnabled(true);
   if (mdiMode() == KMdi::TabPageMode || mdiMode() == KMdi::IDEAlMode) {
@@ -1174,4 +1173,5 @@ void MainWindow::switchToToplevelMode()
   m_bUiModeSwitchPending = false;
   updateActionState();
+  saveMDISettings();
 }
 
@@ -1181,5 +1181,4 @@ void MainWindow::switchToChildframeMode(
   m_bUiModeSwitchPending = true;
   
-  saveMDISettings();
   m_toggleViewbar->setEnabled(true);
   if (mdiMode() == KMdi::TabPageMode || mdiMode() == KMdi::IDEAlMode) {
@@ -1190,4 +1189,5 @@ void MainWindow::switchToChildframeMode(
   m_bUiModeSwitchPending = false;
   updateActionState();
+  saveMDISettings();
 }
 
@@ -1197,5 +1197,4 @@ void MainWindow::switchToTabPageMode()
   m_bUiModeSwitchPending = true;
   
-  saveMDISettings();
   if (isViewTaskBarOn()) {
       slotToggleViewbar();
@@ -1206,4 +1205,5 @@ void MainWindow::switchToTabPageMode()
   m_bUiModeSwitchPending = false;
   updateActionState();
+  saveMDISettings();
 }
 
@@ -1213,5 +1213,4 @@ void MainWindow::switchToIDEAlMode()
   m_bUiModeSwitchPending = true;
   
-  saveMDISettings();
   if (isViewTaskBarOn()) {
       slotToggleViewbar();
@@ -1222,4 +1221,5 @@ void MainWindow::switchToIDEAlMode()
   m_bUiModeSwitchPending = false;
   updateActionState();
+  saveMDISettings();
 }