weixin_39603492
weixin_39603492
2020-12-06 14:57

The name of file in "Downloads" is not same with the name you named and the program could not be imported successfully

Repro steps: • Navigate to https://makecode.microbit.org/ on Safari • Drag some blocks to form a program • Input one name in the "input box" to save the program • Check the name which you named for the program in the file of "Downloads" • Click the "Import File..." in "Projects" to import the program which you saved

Expected result: The name of file in "Downloads" is same with the name which you input in the "input box" (just like the Chrome gif) and the program could be imported successfully Actual result: The name of file in "Downloads" is not same with the name which you input in the "input box" and the program could not be imported successfully

Safari: safari-saveprograme

Chrome: chrome-saveprogramename

该提问来源于开源项目:microsoft/pxt

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

4条回答

  • weixin_39732716 weixin_39732716 5月前

    What version of Safari are you using? Prior to Safari 10.1, Safari didn't support the download attribute, and so we were unable to indicate to the browser the name it should use for the file downloaded. http://caniuse.com/#feat=download

    点赞 评论 复制链接分享
  • weixin_39603492 weixin_39603492 5月前

    , The version of Safari is 10.1.2(11603.3.8)

    点赞 评论 复制链接分享
  • weixin_39732716 weixin_39732716 5月前

    Okay that should work then. Fix is in PR #2680. Thanks for filing!

    点赞 评论 复制链接分享
  • weixin_39812065 weixin_39812065 5月前

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

    点赞 评论 复制链接分享

相关推荐