I'm not sure I agree with having a confirm button. This would try to
address a 'problem' in a way that has us all clicking a 'confirm' button
every time we close the interface, to stop accidentally closing the
interface every now and again.
As closing an interface (plus children) window represents a minor loss
of work (just a few clicks very often), I would argue that consistency
with other applications is less important than the irritation of another
confirm button. I'm surely not the only one who grumbles 'yes of
course I wanted to exit, why else do you think I clicked the exit
button'.... ;-)
Just my opinion......
Johan
Kevin Cowtan wrote:
Having just sampled a few Linux apps, the most common behaviour for the
close decoration seems to be to close without warning if there is no
unsaved work, or to close with warning otherwise.
At first glance, the CCP4i main window never has an unsaved state, so I
was going to disagree with you. However, if you have a task window open
(which may have unsaved program parameters entered in it), then closing
the main window also closes the task window, losing the info you were
entering.
So I would vote in favour of a confirm option. Or even better, close
automatically if no other windows are open, or ask for confirmation if
there are any other windows open (but the benefit of this refinement is
marginal - only worth doing if it is really easy).
Kevin
James Stroud wrote:
Maybe it is bound on second look--But it does not confirm exit, which
would be handy.
On Mar 4, 2008, at 4:46 AM, James Stroud wrote:
Who do I contact to spread the news that you can bind the
WM_DELETE_WINDOW protocol of the main ccp4i window to the same
callback as the "EXIT" button in the lower right hand corner of the
window?
Translation: will prevent annoying abrupt quitting behavior upon
accidentally closing main ccp4i window.
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com
--
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Dr. Johan P. Turkenburg X-ray facilities manager
York Structural Biology Laboratory
University of York Phone (+) 44 1904 328251
York YO10 5DD UK Fax (+) 44 1904 328266
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++