I couldn’t get avatar showing right and the reason for that was an experimental setting of sidecar plugin of topic list preview component.
That is another story. But finding that issue took a while and reason for that was failing of safe-mode. It should disable un-official plugins and it didn’t happend.
So.
activate Topic List Preview, component and sidecar plugin
enable setting topic list enable thumbnail black border elimination
uploaded avatar and/or updated gravatar should show in wrong dimensions
reload site using /safe-mode
the issue of avatar dimensions is still there
disable setting topic list enable thumbnail black border elimination
the issue of avatar dimensions disappear, no matter is there /safe-mode in use or not
For themes, safe mode will 100% disable everything.
It’s fundamentally impossible for us to disable server-side plugin customizations on a per-web-request basis, so that’s why safe-mode can only disable client-side changes. It can still be useful to narrow things down though
If things work in safe mode, it must be theme/plugin causing the issue
If things are still broken in safe mode, it must be core or a server-side plugin issue
Perhaps we should improve the /safe-mode text to explain that. Currently it says
Safe mode allows you to test your site without loading plugins or themes.
Maybe we should make that
Safe mode allows you to test your site without loading themes or client-side plugin customizations. Server-side plugin customizations remain enabled.
That wouldn’t be the worst idea. Because I can’t be the only one who didn’t understand the difference. And Discourse is evolving more complex all the time.