Bug 69535 - changing plugin modifies mdi mode
Summary: changing plugin modifies mdi mode
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: UI: all modes (show other bugs)
Version: git master
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
: 69544 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-12-03 01:11 UTC by filippo santovito
Modified: 2003-12-06 19:01 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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();
 }