Quick navigation:        Home   |    Site Map   ||    References   |    Biography   ||    Copyright   |    Other copyright   |    Contact us   |   
Protein structure
 

Re: [ccp4bb] WM DELETE WINDOW

 

Basic tutorials:
 
 

CCP4bb navigation

CCP4bb <-- 2008 <-- March 2008 <-- 04 March 2008
Previous message:
Subject: Re: WM DELETE WINDOW
From: Kevin Cowtan cowtan {- at -} YSBL {- dot -} YORK {- dot -} AC {- dot -} UK
Date: 2008-03-04
Next message:
Subject: phenix.refine and refmac
From: yang li robertcatrukie {- at -} GMAIL {- dot -} COM
Date: 2008-03-04


Subject: Re: WM DELETE WINDOW
From: Johan Turkenburg jpt {- at -} YSBL {- dot -} YORK {- dot -} AC {- dot -} UK
Date: 2008-03-04

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
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

CCP4bb navigation

CCP4bb <-- 2008 <-- March 2008 <-- 04 March 2008
Previous message:
Subject: Re: WM DELETE WINDOW
From: Kevin Cowtan cowtan {- at -} YSBL {- dot -} YORK {- dot -} AC {- dot -} UK
Date: 2008-03-04
Next message:
Subject: phenix.refine and refmac
From: yang li robertcatrukie {- at -} GMAIL {- dot -} COM
Date: 2008-03-04



ProteinCrystallography.org: Copyright 2006-2007 by Quid United Ltd