[Kst] branches/work/kst/portto4/kst

Barth Netterfield netterfield at astro.utoronto.ca
Mon Jan 4 23:51:09 CET 2010


SVN commit 1070123 by netterfield:

BUG: 218812

A couple minor bug fixes:
  -fix changed document detection 
  -Fix 'wait' icon



 M  +0 -13     devel-docs/Kst2Specs/Bugs  
 M  +5 -0      devel-docs/Kst2Specs/FixedBugs  
 M  +1 -1      src/libkstapp/application.cpp  
 M  +1 -1      src/libkstapp/applicationsettings.cpp  
 M  +1 -1      src/libkstapp/datawizard.cpp  
 M  +1 -0      src/libkstapp/document.cpp  
 M  +2 -1      src/libkstapp/mainwindow.cpp  
 M  +1 -1      src/libkstapp/view.cpp  


--- branches/work/kst/portto4/kst/devel-docs/Kst2Specs/Bugs #1070122:1070123
@@ -35,21 +35,8 @@
 
 --------------------
 
-When you plot 48 plots on one screen, the default text size for the
-plots is way too small to be readable.  
-
---------------------
-
 Windows MEMleak
 
---------------------
-
-Windows ascii performance
-
--------------------
-
-Change data sample range dialog: add all note enabled at first.
-
 ------------------
 
 Cleanup layout totally sucks!
--- branches/work/kst/portto4/kst/devel-docs/Kst2Specs/FixedBugs #1070122:1070123
@@ -1152,3 +1152,8 @@
   Note: printing still requires parts of Qt which require a window session, so pure scripted 
   headless prints are not possible :-(
 
+--------------------
+
+When you plot 48 plots on one screen, the default text size for the
+plots is way too small to be readable.  
+
--- branches/work/kst/portto4/kst/src/libkstapp/application.cpp #1070122:1070123
@@ -49,7 +49,7 @@
 
   connect(this, SIGNAL(aboutToQuit()), _mainWindow, SLOT(aboutToQuit()));
   _mainWindow->show();
-  _mainWindow->hide();
+  //_mainWindow->hide();
 }
 
 
--- branches/work/kst/portto4/kst/src/libkstapp/applicationsettings.cpp #1070122:1070123
@@ -53,7 +53,7 @@
   _refViewWidth = _settings->value("general/referenceviewwidth", QVariant(16)).toDouble();
   _refViewHeight = _settings->value("general/referenceviewheight", QVariant(12)).toDouble();
   _refFontSize = _settings->value("general/referencefontsize", QVariant(16)).toInt();
-  _minFontSize = _settings->value("general/minimumfontsize", QVariant(5)).toInt();
+  _minFontSize = _settings->value("general/minimumfontsize", QVariant(7)).toInt();
   _maxUpdate = _settings->value("general/minimumupdateperiod", QVariant(200)).toInt();
 
   _showGrid = _settings->value("grid/showgrid", QVariant(false)).toBool();
--- branches/work/kst/portto4/kst/src/libkstapp/datawizard.cpp #1070122:1070123
@@ -998,9 +998,9 @@
     }
   }
 
-  QApplication::restoreOverrideCursor();
   UpdateManager::self()->doUpdates(true);
   kstApp->mainWindow()->document()->setChanged(true);
+  QApplication::restoreOverrideCursor();
   accept();
 
 }
--- branches/work/kst/portto4/kst/src/libkstapp/document.cpp #1070122:1070123
@@ -316,6 +316,7 @@
   _win->tabWidget()->closeCurrentView();
 
   UpdateManager::self()->doUpdates(true);
+  setChanged(false);
   return _isOpen = true;
 }
 
--- branches/work/kst/portto4/kst/src/libkstapp/mainwindow.cpp #1070122:1070123
@@ -241,6 +241,7 @@
     printFromCommandLine(P.printFile());
     ok = false;
   }
+  _doc->setChanged(false);
   return ok;
 }
 
@@ -1065,7 +1066,7 @@
 void MainWindow::reload() {
   document()->objectStore()->rebuildDataSourceList();
   UpdateManager::self()->doUpdates(true);
-  document()->setChanged(true);
+  //document()->setChanged(true);
 }
 
 void MainWindow::showDataManager() {
--- branches/work/kst/portto4/kst/src/libkstapp/view.cpp #1070122:1070123
@@ -636,7 +636,7 @@
 
 
 void View::viewChanged() {
-  kstApp->mainWindow()->document()->setChanged(true);
+  //kstApp->mainWindow()->document()->setChanged(true);
 }
 
 }


More information about the Kst mailing list