Version: 1.5 rc1 (SVN: 1.5 branch, 8 April 2006) (using KDE KDE 3.4.3) Installed from: Gentoo Packages Compiler: gcc 3.4.5 OS: Linux When I alter a table with some data in it and I modify the table design, it shows me a warning that all data will be lost when you proceed. In my opinion, the warning is not intrusive enough (it's mentioned with a "Note:"). Also the icon could be changed to an warning (exclamation). I believe it's easy that someone easily looses their data this way. BTW, is it possible (in the future) to alter the database design with Kexi without losing data?
> BTW, is it possible (in the future) to alter the database design > with Kexi without losing data? Yes, this is hot TODO for 1.1 (KOffice 1.6). Could you please file a WISH just for this?
SVN commit 527984 by staniek: Table Designer - More intrusive warning when altering table design 1.0: ported (except the message) 2.0: ported CCMAIL:125216-done@bugs.kde.org M +3 -2 kexialtertabledialog.cpp M +1 -1 kexitablepart.cpp --- branches/koffice/1.6/koffice/kexi/plugins/tables/kexialtertabledialog.cpp #527983:527984 @@ -565,10 +565,11 @@ // KexiDB::Connection *conn = mainWin()->project()->dbConnection(); bool emptyTable; - int r = KMessageBox::questionYesNoCancel(this, + int r = KMessageBox::warningYesNoCancel(this, i18n("Saving changes for existing table design is now required.") +"\n"+messageForSavingChanges(emptyTable), QString::null, - KStdGuiItem::save(), KStdGuiItem::discard()); + KStdGuiItem::save(), KStdGuiItem::discard(), QString::null, + KMessageBox::Notify|KMessageBox::Dangerous); if (r == KMessageBox::Cancel) res = cancelled; else --- branches/koffice/1.6/koffice/kexi/plugins/tables/kexitablepart.cpp #527983:527984 @@ -195,7 +195,7 @@ if (dlg->currentViewMode()==Kexi::DesignViewMode && !dlg->neverSaved() && englishMessage==":additional message before saving design") - return i18n("Note: Any data in this table will be removed upon design's saving."); + return i18n("Warning! Any data in this table will be removed upon design's saving!"); return englishMessage; }
You need to log in before you can comment on or make changes to this bug.