# Theme Creatorでテーマをエクスポートすると白い画面が表示される

**URL:** https://meta.discourse.org/t/in-theme-creator-exporting-themes-results-in-a-white-screen/403108
**Category:** Bug
**Tags:** mobile, theme-creator
**Created:** [2026 年 5 月 15 日午後 9:40 UTC](https://meta.discourse.org/t/in-theme-creator-exporting-themes-results-in-a-white-screen/403108 "2026-05-15T21:40:09Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![kairo162](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kairo162/32/553988_2.png) [@kairo162](https://meta.discourse.org/u/kairo162)
#### Post date: [2026 年 5 月 15 日午後 9:40 UTC](https://meta.discourse.org/t/in-theme-creator-exporting-themes-results-in-a-white-screen/403108/1 "2026-05-15T21:40:09Z")

</div>

テーマのエクスポート時に問題が発生しています。エクスポートボタンをクリックしてテーマをエクスポートしようとすると、常に白い画面に遷移してしまいます。

 ![IMG8500](https://global.discourse-cdn.com/meta/original/4X/8/8/f/88fd9e7697bbeb95593b820f5aba9a68c63350e2.jpeg)

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [2026 年 5 月 15 日午後 10:21 UTC](https://meta.discourse.org/t/in-theme-creator-exporting-themes-results-in-a-white-screen/403108/2 "2026-05-15T22:21:38Z")

</div>

この現象はモバイル端末でのみ再現できます。空白の画面とモバイル版のダウンロードモーダルが表示され、ファイルをダウンロードするか否かに関わらず、空白の画面に戻ることができなくなります。

デスクトップでは再現できません。期待通りに動作し、ダウンロードモーダルが表示された後、テーマページに戻ります。

コンソールエラーは確認されませんでした。

---

<div class="post-metadata">

### Author: ![tannerabread](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tannerabread/32/526153_2.png) [@tannerabread](https://meta.discourse.org/u/tannerabread)
#### Post date: [2026 年 7 月 15 日午後 5:16 UTC](https://meta.discourse.org/t/in-theme-creator-exporting-themes-results-in-a-white-screen/403108/3 "2026-07-15T17:16:24Z")

</div>

@kairo162 @Lilly これは PWA でのみ発生していますか？ 私のスマホでは PWA として再現できましたが、Safari では期待通りに動作しました。

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [2026 年 7 月 16 日午前 4:31 UTC](https://meta.discourse.org/t/in-theme-creator-exporting-themes-results-in-a-white-screen/403108/4 "2026-07-16T04:31:17Z")

</div>

それは2ヶ月前の話で、はっきり覚えていないんです。PWAだけじゃなかったような気がするけど、もう直ってるかもしれませんね：woman\_shrugging:t2:

---

<div class="post-metadata">

### Author: ![kairo162](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kairo162/32/553988_2.png) [@kairo162](https://meta.discourse.org/u/kairo162)
#### Post date: [2026 年 7 月 16 日午前 4:31 UTC](https://meta.discourse.org/t/in-theme-creator-exporting-themes-results-in-a-white-screen/403108/5 "2026-07-16T04:31:58Z")

</div>

うん、もうちょっとで飽きちゃうかな。

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [2026 年 7 月 16 日午前 4:33 UTC](https://meta.discourse.org/t/in-theme-creator-exporting-themes-results-in-a-white-screen/403108/6 "2026-07-16T04:33:34Z")

</div>

チームは忙しく、バグの修正を優先する必要があります。モバイルテーマクリエイターは、Discourseのコア機能に影響を与えるものではありません。

---

<div class="post-metadata">

### Author: ![tannerabread](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tannerabread/32/526153_2.png) [@tannerabread](https://meta.discourse.org/u/tannerabread)
#### Post date: [2026 年 7 月 28 日午後 7:29 UTC](https://meta.discourse.org/t/in-theme-creator-exporting-themes-results-in-a-white-screen/403108/7 "2026-07-28T19:29:59Z")

</div>

PWAに関連して少し調査を行いましたが、その環境では異なる方法で処理する必要があるようでした。SafariやDiscourse Hubで再現しようとして、さらにいくつかのテストを行う必要があります。

来週、この件を調査する予定です。遅延して申し訳ありません。

@kairo162 元のスクリーンショットはSafariで撮ったものでしたか？それともiOSでしたか？それとも特定の環境に限定されず、頻繁に表示されるものですか？

---

<div class="post-metadata">

### Author: ![tannerabread](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tannerabread/32/526153_2.png) [@tannerabread](https://meta.discourse.org/u/tannerabread)
#### Post date: [2026 年 8 月 10 日午後 3:49 UTC](https://meta.discourse.org/t/in-theme-creator-exporting-themes-results-in-a-white-screen/403108/8 "2026-08-10T15:49:12Z")

</div>

ここで少し作業を行い、PWA の問題を修正することができました。CI 上のすべてのテストが通った後、すぐにマージします。

> <https://github.com/discourse/discourse/pull/42454>
>
> Previously, the download for exporting themes was broken in the PWA app (it is a…lso broken in Discourse Hub but that needs its own change).
> 
> This commit uses the blob pattern used for emoji exports, as that allows the PWA to show a download page that has controls to get out of it. This fixes the white screen that previously displayed and would get stuck in the PWA.
> 
> It also applies the blob pattern to watched words exports, which also failed in the PWA.

iOS 版 Safari ではこの問題を再現できませんでしたが、PWA と Hub では発生しました。Hub 自体にはもう少し追加の作業が必要になるでしょう。そこで修正を試みるため、フォローアップを行います。
