LazeMSS / OctoPrint-UICustomizer

UI Customizer for octoprint
165 stars 18 forks source link

Dark Green, Discoranged, Discorded and Matrix themes are all bright and the same as the Default Theme #325

Closed imerkow closed 3 months ago

imerkow commented 4 months ago

Description

ENTER DESCRIPTION HERE Describe your problem? What is the problem? Can you recreate it? Did you try disabling plugins? Did you remember to update the subject?


Plugins installed

UI Customizer settings/info

Software versions

Browser

LazeMSS commented 4 months ago

Strange never seen that before - tried different browsers?

imerkow commented 4 months ago

No, not yet. Thanks for the heads up! I will check once our Pi is back online. By the way, I used Edge for testing. Perhaps it is finally time to switch. Microsoft already started to annoy me with their Copilot.

imerkow commented 3 months ago

We finally installed our Pi again. I tried it now with Firefox. Still the same issue. All the other themes do work except the ones mentioned in the title. Discoranged Cyborg

LazeMSS commented 3 months ago

Can you try and open the developer tools in firefox and look in the console for any errors and share them?

imerkow commented 3 months ago

The resource from “http://octoxl.local/plugin/uicustomizer/theme/discoranged.css?v=0.2.9.8” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff). image

LazeMSS commented 3 months ago

It seems like the css files have not been downloaded when selecting it - maybe your pi can not connect to the internet? It needs to download the css files.

imerkow commented 3 months ago

How to check that? Perhaps our firewall is blocking the download. Although the download of most plugins works. Not sure, if some plugins were already abandoned. Also, other themes do work. Just not those 4 in the title.

imerkow commented 3 months ago

Is this a sign of that the download was blocked by our firewall? image

LazeMSS commented 3 months ago

Yes this is 100% a download problem - the reason why some themes works is because they are included in the actual plugin. The included ones are here: https://github.com/LazeMSS/OctoPrint-UICustomizer/tree/main/octoprint_uicustomizer/static/themes/css

and the "downloadable" ones are here: https://github.com/LazeMSS/OctoPrint-UICustomizerThemes/tree/main/css

my gues is that anyone on the last list and not on the first list is those not working.

The RPI needs to be able to download stuff over the internet to install the themes, plugins etc.

imerkow commented 3 months ago

This firewall is getting very annoying. Guess I have to bring the Pi at home to download additional useful plugins and nice-looking themes.

Thanks a lot for your help!