[Kde-pim] Undo and Redo screws up saving of Todo's

Thomas Thrainer tom_t at gmx.at
Fri Mar 14 01:15:49 GMT 2008


Hello

I'm currently working on the todo view, but i ran into some problems:

Undo and redo seem to don't use the "normal" mechanism of notifing views about 
changes. Instead of calling changeIncidenceDisplay() of the view, these 
actions call updateView(). They furthermore change the pointers to the todos 
provided by the calendar instead of the todos poited to by the current 
pointers. Thus, changes are not immediately visible to views as they have to 
update all pointers they hold to todos. Additionally, views have possibly a 
quite big overhead in displaying todos/incidences after un- and redos, as 
they are supposed to update themselfes completely upon updateView().
Is this the indented behaviour? Or is this subject of change in order to match 
the "normal" notification mechanism?

Furthermore, after performing some Un- or Redos and closing korganizer, the 
todos get screwed up. In particular, the hirarchy of todos gets partly lost 
or is changed.
Is there currently some work in progress concerning un- and redoing? I work 
with current svn (maybe 3 day old build).

Thanks for any info,

cheers
Thomas
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list