#11026: Add double clicking of sws files for Mac app
----------------------------------+-----------------------------------------
Reporter: iandrus | Owner: iandrus
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.3
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 kcrisman):
>> Opens txt files (though isn't in the options)!
>
> What do you mean that txt files "aren't in the options"?
I mean that when I right-click and choose "Open With" that for zip files
Sage is in the list, for txt files it isn't. Obvious for sws files it is.
But one can still surf through the mini-Finder window and use that, or
drag a text file onto the Sage in the Dock (well, I didn't try that, and
right now I definitely can't).
> You mean that the window that logs you in and the window with the
worksheet? I agree. I think that requires sagenb changes, but maybe not.
Fair enough.
> > Changing the default browser works in that it opens and it tries to
get localhost, but it asks for password and of course I haven't got a
clue, since it usually just logs in. This happened in both FF and Chrome.
>
> Hmm. I can't reproduce this with Safari.
That's my point. In Safari it's fine, but go into Safari prefs and change
the default browser to FF or Chrome, and they don't auto login when you
click on a sws file. (That might even be the case without the double
click, just when opening Sage - I didn't think to check that.)
> > In trying to test with an older Sage version, I drag in a different
Sage executable. This works fine. But after I restart Sage.app, the
version I dragged in before (where sws-cmdline works) is still there. ?
>
> Where do you drag the sage executable? To the preferences window? If
so I can confirm that if you do the following it doesn't save
>
> 1. Drag (or otherwise change) the sage executable in the preferences
window
> 2. Quit _without_ changing focus from the text entry code.
>
> This is because some validation and saving of the value is done when
focus is lost. To see what I mean try changing it to a path which doesn't
exist and then change focus (e.g. by hitting tab).
>
> I admit this is quite unfortunate, but I think another ticket should be
opened for this issue.
That might be the sequence. I was pretty sure that the second time I
tried this that I changed the focus by clicking on some of the radio
buttons in the prefs, but maybe the "text" focus was still there... I
could try this tonight as well.
> I've rebased things and I'll be uploading other patches once I test them
a little. For the moment this one is updated.
Ok. Updated in the sense that "Open File" now works?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11026#comment:28>
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.