Version: 3.2 (using KDE KDE 3.2.0) Installed from: Compiled From Sources Compiler: gcc gcc-3.2.3 CFLAGS="-Os -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" OS: Linux This bug was reported before, but not for 3.2 and i may be supplying more info to help solve it - hopefully. Sorry if this is only a duplicate. File , Export, Export Web Page works. Settings, Configure KOrganizer, Selecting 'Export to HTML with every save' does not work. I've tried changing the setting. Then closing and restarting Korg. Export to HTML with every save works on my other systems which use Mandrake 9.2, and Mandrakes' kdebase-progs-3.1.3-79.1.92mdk. If there is anything I can do to help debug this or test let me know.
I'm using SuSE 9.0 and the export to HTML after every save feature does not work for me either. I can export manually, though.
Same here: Gentoo Base System version 1.4.3.13 (sorry :), it seems to be not gentoo-only so...) gcc (GCC) 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7) CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" Auto-export does not work, but manual does work.
*** Bug 66886 has been marked as a duplicate of this bug. ***
CVS commit by bram: Fix for bug #74180. Export to HTML on each save when this setting is enabled. Detached the HTML-export code to a new function. CCMAIL:74180-done@bugs.kde.org M +64 -58 actionmanager.cpp 1.92 --- kdepim/korganizer/actionmanager.cpp #1.91:1.92 @@ -730,4 +730,5 @@ void ActionManager::file_save() if (mURL.isEmpty()) { file_saveas(); + return; } else { saveURL(); @@ -736,4 +737,10 @@ void ActionManager::file_save() mCalendarView->calendar()->save(); } + + // export to HTML + if ( KOPrefs::instance()->mHtmlWithSave && + !KOPrefs::instance()->mHtmlExportFile.isNull() ) { + exportToHTML(); + } } @@ -882,9 +889,12 @@ bool ActionManager::saveURL() mMainWindow->showStatusMessage(i18n("Saved calendar '%1'.").arg(mURL.prettyURL())); - // export to HTML - if ( KOPrefs::instance()->mHtmlWithSave==true && - !KOPrefs::instance()->mHtmlExportFile.isNull() ) { + return true; +} + +void ActionManager::exportToHTML() +{ KURL dest( KOPrefs::instance()->mHtmlExportFile ); KCal::HtmlExport mExport( mCalendarView->calendar() ); + //@TODO: Make these items translatable after 3.3. mExport.setTitle( "KOrganizer Calendar" ); mExport.setTitleTodo( "KOrganizer To-Do List" ); @@ -919,6 +929,5 @@ bool ActionManager::saveURL() mExport.setDateRange( qd1, qd2 ); QDate cdate=qd1; - while (cdate<=qd2) - { + while (cdate<=qd2) { if ( !KOCore::self()->holiday(cdate).isEmpty() ) mExport.addHoliday( cdate, KOCore::self()->holiday(cdate) ); @@ -939,7 +948,4 @@ bool ActionManager::saveURL() tf.unlink(); } - } - - return true; }