Revision 664228

Go back to digest for 20th May 2007

Features in Graphics

Clarence Dang committed changes in /branches/work/~dang/kdegraphics/kolourpaint:

Manual merge of branches/KDE/3.5/kdegraphics/kolourpaint/ -r662446:r663466:

Implement rudimentary global session management. It saves the URLs - I'll probably get it to save other things like zoom level later.

Local session save/restore is not implemented, although some psuedo-code exists for it.
I don't intend to implement this since I don't think any other KDE app does.

[FORWARD PORT]

Note: Global session saving crashes KolourPaint and XSM, at least on my build.
I took a shortcut in the build process (timestamp-touched kpMainWindow.h so that I could override readProperties() and saveProperties() without a full rebuild) so this might be to blame.

But if this is not the case, it's a null ptr deref in KMWSessionManager::commitData().
Next time I update from kdelibs and do a clean build, I'll test again.

File Changes

Modified 6 files
  • /branches/work/~dang/kdegraphics/kolourpaint
  •   /kolourpaint.cpp
  •   /kpDefs.h
  •   /NEWS
  •   /mainwindow/kpMainWindow.cpp
  •   /mainwindow/kpMainWindow.h
  •   /mainwindow/kpMainWindow_File.cpp
6 files changed in total