ユーザー設定でテーマを変更後、Microsoft Edge がページを正しくレンダリングしない

I can’t find any information about this, and perhaps I’m doing something wrong and this is not a bug but a config issue.

I go to my user preferences page, click on interface, and select a different theme.
Then the layout looks broken, like it’s not loading the css.
Console says: SEC7113: CSS was ignored due to mime type mismatch
I’m using the standard Docker container.

Any advice appreciated.

I cannot repro this with Meta on Edge. @discourseuser100, are you able to reproduce this on either meta.discourse.org or try.discourse.org?

thanks for the quick response…
No it seems it works fine on meta.

Then it’s something specific to your site, or your theme.

ok, sure…
I thought it might be something to do with a custom theme, so I’ve just tested with the default unchanged Light and Dark themes, and it’s doing the same thing.
Nothing else unusual except the Alternative Logos component, but this is not being used by the default themes.
I’m not sure what to check next.

it’s like the browser is trying to load something and Edge is returning an error page.

同じ挙動がこちらでも発生しています。

  • Edge のみで発生
  • コンソールに同じ警告が表示されます
    SEC7113: CSS が MIME タイプの競合により無視されました。
  • ドロップダウンメニューから新しいテーマを選択すると、わずかなラグの後、ページが再読み込みされ、すべてが壊れた状態になります。再読み込み後、すべて正常に戻ります。再読み込みが反映される前に「保存」をクリックすることができれば、新しいテーマが適用されます。

標準テーマ(ヘル、ダーク、ライトから選択可能)と DiscoTOC を使用しています。バージョンは 2.4.0.beta10 です。
ユーザーはメールアドレスを変更できません。独自のロケールを選択することもできません。ユーザー名の変更期間は 0 に設定されています。ユーザーはプライマリグループを自分で設定できません。メーリングリストモードを有効化することもできません。

これはユーザーから報告され、私たちもその挙動を再現しました。
再読み込み後にはすべて正常になるため、緊急性は低いと言えます :wink:

新しいバージョンの Microsoft Edge をお使いですか?
https://www.microsoft.com/en-us/edge
ブラウザの情報(バージョン番号など)を教えていただけると幸いです。:slightly_smiling_face:

見つけました :slight_smile:
Microsoft Edge 44.18362.449.0

Microsoft Edge を利用可能な最新バージョンに更新してください。


下の画像をご覧ください。

Microsoft Edge を更新する方法はいくつかあります。

  1. Windows Update を通じて更新する
  2. 前の投稿で記載したリンクから最新バージョンをダウンロードする

ようやく更新の時間を見つけました(手動インストールが必要でした。更新すると、古い Edge の新しいビルドしか適用されませんでした):

やった!新しい Edge でテーマ選択が正常に動作します!:partying_face:

ハッ、そうだろうと知っていました! :smiley: