Shopify:// deep link to the theme editor is causing a white page error

Short description of issue

Deep linking using window.open(“shopify://admin/themes/current/editor”, “_blank”) to the interface editor resulted in a white page error, pressing F5 should fix it.

Link to Shopify Store

https://admin.shopify.com/store/ft-xn1/themes/162164113431/editor

Reproduction steps

  • Open the deep link from within the app using window.open(url, “_blank”)
  • Click button → Open a new tab to the theme editor that’s showing a white page error, pressing F5 should fix it.

Additional info

This is a recent issue; everything was working perfectly fine before. Shopify suggested using window.open(url, “_top”), but this is not good for the user experience.

What type of topic is this

Bug report