Bug 129706 - plot deletion confirmation (until Undo is implemented)
Summary: plot deletion confirmation (until Undo is implemented)
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: unspecified Solaris
: NOR wishlist
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-23 16:08 UTC by Nicolas Brisset
Modified: 2007-06-22 19:09 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Brisset 2006-06-23 16:08:13 UTC
Version:           1.3.0_devel (using KDE 3.4.0, compiled sources)
Compiler:          gcc version 3.4.3
OS:                SunOS (sun4u) release 5.8

I know a complete Undo/Redo framework is planned, but it is quite complicated to implement and will take some time to be available. Until that happens, it might be a good idea to add a confirmation dialog (with the "don't ask again" checkbox, or a kst setting to disable it like for closing windows) when a user deletes a plot. I have had many feedbacks that people deleted plots when they actually meant to delete a curve, and by the time they realized it, it was too late...
Comment 1 Andrew Walker 2007-06-22 19:09:01 UTC
SVN commit 678967 by arwalker:

BUG:129706 Query user before deleting plot. By default the user is not queried but the feature can be switched on from the settings dialog. This is to maintain existing behaviour.

 M  +1 -1      libkstapp/Makefile.am  
 M  +2 -2      libkstapp/kst.cpp  
 M  +19 -0     libkstapp/kst2dplot.cpp  
 M  +5 -2      libkstapp/kst2dplot.h  
 M  +206 -109  libkstapp/kstsettingsdlg.ui  
 D             libkstapp/kstsettingsdlg.ui.h  
 A             libkstapp/kstsettingsdlg_i.cpp   [License: GPL (v2+)]
 A             libkstapp/kstsettingsdlg_i.h   [License: GPL (v2+)]
 M  +4 -0      libkstmath/kstsettings.cpp  
 M  +6 -5      libkstmath/kstsettings.h