#11026: Add double clicking of sws files for Mac app
----------------------------------+-----------------------------------------
       Reporter:  iandrus         |         Owner:  iandrus            
           Type:  enhancement     |        Status:  needs_work         
       Priority:  major           |     Milestone:  sage-5.1           
      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:                     
----------------------------------+-----------------------------------------
Changes (by kcrisman):

  * status:  needs_review => needs_work


Comment:

 Well, it's a little tricky.  Double-clicking certainly opens the Sage app,
 and the notebook server opens, but I don't see it opening the file.  Yes,
 this is on a version of Sage with the sws-cmdline going, because if I open
 the terminal from within the little dropdown list, I get
 {{{
 sage: notebook(upload="/Users/.../Untitled.sws")
 The notebook files are stored in: sage_notebook.sagenb
 Another Sage Notebook server is running, PID 19872.
 Opening web browser at
 http://localhost:8000/upload_worksheet?url=file:///Users/.../Untitled.sws
 ...
 }}}
 and it opens fine in its own thing.  But when I double-click, it just
 opens the worksheet list window, nothing else.

 When I use the Sage app itself (not the little menubar item) and do `File
 -> Open File ...` then I get the "native" app browser with the worksheet I
 chose as its title, but nothing else (just a clank browser window.  It
 doesn't do anything, and the worksheet is not there when I check.

 The only possible problem is that I built this as an Xcode project and
 then dumped in my Sage that has the sws-cmdline business.  But it
 functions fine otherwise, so I don't know what the story is with this.
 Sadly, 'needs work'.

 Also, I have a feeling that it doesn't wait long enough to upload in any
 case, but that would be a separate issue.

 ----

 On an unrelated note, why does `sage-document-cython.icns` look so much
 bigger than the other icon files?

 ----

 By the way, my menubar item never does become blue any more.  Maybe that
 is part of it.  I mean, the server is clearly working, so I'm not sure why
 not.  Any ideas?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11026#comment:15>
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