Re: "Save As" dialogue (fwd)

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Mar 02 2000 - 18:43:18 MET


Hi Dmitri,
I am expecting Fons to answer your points 2->4 once is is back.
Concerning point 1, I cannot reproduce what you report.
Please clarify on which machine/configuration/version you run.
In particular, indicate if you work from an X terminal or an X emulator.

Rene Brun

Dmitri Litvintsev wrote:
> 
> Hi Rooters,
> 
> this is a repost of the mail sent during ROOT Workshop  - CHEP
> festivities.
> 
> Dmitri Litvintsev
> 
> /----------------------------------------------------------\
> | Tel:       (630) 840 5005                                |
> | FAX:       (630) 840 2968                                |
> | office:    169-E CDF Trailers                            |
> | E-mail:    litvinse@fnal.gov                             |
> \----------------------------------------------------------/
> 
> ---------- Forwarded message ----------
> Date: Tue, 1 Feb 2000 13:35:55 -0600 (CST)
> From: Dmitri Litvintsev <litvinse@cdfsga.fnal.gov>
> To: roottalk@pcroot.cern.ch
> Subject: "Save As" dialogue
> 
> Hi Rooters,
> 
> recently I've been saving a number of files
> vias 'File' -> 'Save As'
> 
> There are four very annoying things especially
> if user needs to use this routine often:
> 
> 1) in text entry field 'File name:'
>    once the name is typed user can't correct
>    it immediately using 'Backslash' or other means.
>    He actually can but the resulting file name seems screwd up.
> 
>  e.g. I typed in text entry field
>         test_pile.eps
>   I use arrow and backspace to delete 'p' and type 'f' instead,
>   so the file name is finally:
>         test_file.eps
> now I hit 'Save'. The result could be understood from the following
> lines from my session:
> 
> root [2] PostScript file: /usr/people/litvinse/test/test_file.eps  has been created
> 
> root [2] .!ls /usr/people/litvinse/test/test_file.eps
> ls: /usr/people/litvinse/test/test_file.eps: No such file or directory
> root [3] .!ls /usr/people/litvinse/test/test*
> /usr/people/litvinse/test/test_file.eps
> root [4] .!ghostview /usr/people/litvinse/test/test_file.eps &
> root [5] ghostview: Cannot open file
> /usr/people/litvinse/test/test_file.eps (No such file or directory)
> 
> looks like invisible characters crept in .....
> 
> this is really mean thing since I type proper names with efficiency
> of about 30%.
> 
>  2) It would be great that 'Save As' dialogue remembered the LAST
>     file format the user set, not the default.
>     BTW the same wish for all dialogue windows. That is now
>     dialogue window for function set via *MENU* machanism
>     gives the DAFAULT argument value, not the current.
>     Should be otherwise.
> 
>  3) Until 'Save As' dialog disappears (via either 'Save' or 'Cancel')
>     the canvas is frozen - user cannot push buttons or otherwise
>     interact with it since 'Save As' dialog probably has something like
>     this
>          fClient->WaitFor(this);
>     in its constructor
> 
>     this is annoying since costs extra button pushing (especially with
>     only default file format remembered)
> 
>  4) when saving the file, specifying only filename without extension
>     should suffice! Proper extension, depending on the format chosen,
>     should be appended automatically. Right now it is not so:
> 
> root [0] TCanvas* cc = new TCanvas("canvas","canvas",500,500);
> root [1] Warning in <TRootCanvas::ProcessMessage>: file cannot be save
>          with this extension (/usr/people/litvinse/t)
> 
>     If user has run into trouble of typing extension it should be
>     preserved as is without appending anything or saying things like
>     'file cannot be save ... '. The format is defined and this is all
>     what ROOT needs, the file name is up to user.
> 
> I hope you would consider to implement at least some of my suggestions.
> These are little changes that would make ROOT more enjoyable
> experience especially for users (opposed to developers) of ROOT
> applications.
> 
> 
> 
> thanks for your patience,
> Dmitri Litvintsev
> 
> /----------------------------------------------------------\
> | Tel:       (630) 840 5005                                |
> | FAX:       (630) 840 2968                                |
> | office:    169-E CDF Trailers                            |
> | E-mail:    litvinse@fnal.gov                             |
> \----------------------------------------------------------/



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:20 MET