[Kst] extragear/graphics/kst/src/libkstapp

George Staikos staikos at kde.org
Mon Mar 20 14:51:16 CET 2006


On Monday 20 March 2006 08:08, Barth Netterfield wrote:
> I think what is wanted is for 'apply' to work like 'ok' + a re-open.

  You want it to close the dialog and then re-open it when creating a new 
object, or you actually want apply to work for objects that don't exist?

  The problem with creating a new object before the dialog closes goes back to 
that bug report that cancel doesn't work right, and also that the object can 
be manipulated elsewhere before it's fully created.  An alternative is to 
make the dialogs very complex - able to determine when the object is created 
in all cases, delete the object from under the handler if necessary and set 
state that each handler must check, etc.  It's ugly and error-prone.

  If the real issue is about preview, maybe it makes sense to have preview 
inside the dialog.  In most cases the object behind is obscured by the 
dialog.

-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/


More information about the Kst mailing list