#11026: Add double clicking of sws files for Mac app
----------------------------------+-----------------------------------------
       Reporter:  iandrus         |         Owner:  iandrus            
           Type:  enhancement     |        Status:  needs_review       
       Priority:  major           |     Milestone:  sage-5.6           
      Component:  user interface  |    Resolution:                     
       Keywords:  mac app         |   Work issues:                     
Report Upstream:  N/A             |     Reviewers:  Karl-Dieter Crisman
        Authors:  Ivan Andrus     |     Merged in:                     
   Dependencies:  #8473, #13121   |      Stopgaps:                     
----------------------------------+-----------------------------------------

Comment (by nkirchner):

 I'm on OS X Lion.

 This patch does start and stop the server.  Starting the server
 initializes three python2.7 processes.  Two of them are ~100MB and one is
 ~5MB.  Stopping the server or exiting Sage.app terminates the two larger
 of these, while leaving the ~5MB python2.7 process running.  This last
 running process is a problem for deleting/renaming Sage.app, and does not
 go away on its own.

 Telling Sage.app to start a terminal session also spawns a ~5MB python2.7
 process which persists after exiting both that terminal session and
 Sage.app.

 Right-clicking a .txt file and selecting Sage.app to open it results in
 the text of the file being placed above the first input cell without
 linebreaks.  That is, a text file consisting of

 """Hello.  I'm a[[BR]]
 sample text file in Sage.app"""

 ends up being opened with the text "Hello.  I'm a sample text file in
 Sage.app", with the first input cell following the text.  I've not yet
 tried it with a proper text Sage worksheet.

 Double-clicking a .sws file saved via Sage.app's File->Save As menu does
 activate Sage.app.  It pulls up an error page:

 "There was an error uploading the worksheet. It could be an old
 unsupported format or worse. If you desperately need its contents contact
 the sage-support group and post a link to your worksheet. Alternatively,
 an sws file is just a bzip2 tarball; take a look inside!"

 Instead using the in-browser's File->Save worksheet to file... does not
 appear to save anything.

 Using Firefox instead, I can save an sws file and open it by double
 clicking.  I'm testing this functionality further right now.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11026#comment:42>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to