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: 由于 MIME 类型冲突,CSS 被忽略。
  • 从下拉菜单中选择新主题后,会有轻微延迟,随后页面重新加载,所有内容都会损坏。重新加载后一切恢复正常。如果在重新加载生效前成功点击保存,就能应用新主题。

我们使用的是标准主题,可选择 hell、dark 和 light 模式,并配有 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 更新进行更新
  2. 通过我上一条帖子中的链接下载最新版本

终于有时间更新啦(必须是手动安装,自动更新只会带来旧版 Edge 的更新版本):

太棒了,新版 Edge 现在可以正常选择主题了!:partying_face:

哈哈,我就知道!:blush: