Sporadic "answer file ... as sheet"
john at onechip.com
Sat Nov 30 01:50:48 EST 2013
Things are “sort of” working correctly now. When building under 10.9 and testing under 10.8.5, ask file, with a file name appended to the end of the path passed in, reliably returns a good path. That said, the “favorites” drop down menu in the dialog that appears has generic document icons rather then the standard ones that appear in other apps. This is much better than what was happening with the “as sheet” option which presented the correct dialog (with visual artifacts) while returning a bad path (although the drop down icons were randomly correct). Everything looks normal when the app runs under 10.9.
I hope this passes muster with Apple. If not I suppose I can move my development to 10.8.5 to see of that helps. Has anyone seen anything similar? Does anyone know if “ask file” is using “fake” (liveCode style) dialog boxes or making actual system calls?
On Nov 29, 2013, at 6:08 PM, John <John at OneChip.com> wrote:
> Thanks for the links. It may be related. Interestingly, Apple didn’t seem to have issue with signing or sandboxing (perhaps the new Mavericks way of signing combined with my use of App Wrapper got me past that). The sporadic behavior where it sometimes appeared as a sheet and other times as a stand alone dialog is perplexing. Even more odd, it always works unless it is a clean OS install.
> I guess will update, removing the “as sheet”, variant and hope for the best.
> On Nov 29, 2013, at 5:03 PM, Trevor DeVore <lists at mangomultimedia.com> wrote:
>> On Fri, Nov 29, 2013 at 6:07 PM, John <john at onechip.com> wrote:
>>> I tested on a 10.8.5 computer and was unable to reproduce the issue.
>>> The technical note Apple referenced (Technical Q&A QA1778: How to
>>> reproduce bugs reported against Mac App Store submissions) indicated I
>>> should test on a fresh OS install. When I tested on a brand new
>>> installation of 10.8.5, answer file with sheet sporadically appears
>>> detached from the stack window (there is a slight distortion line above it)
>>> and, when it does. I get a bad path hence the error dialog. This happens
>>> once every three or so time I try.
>>> Has anyone else seen this (if so is there a fix)? Is answer file
>>> without sheet known to be reliable?
>> System dialogs as sheets and sandboxed file dialogs (as required by MAS) do
>> not work in my tests. Perhaps what you are seeing is related to either of
>> the following two issues.
>> I haven't been able to submit updates to my app in the MAS for months.
>> Trevor DeVore
>> Blue Mango Learning Systems
>> www.screensteps.com - www.clarify-it.com
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode