Closed NekoCaffeine closed 2 years ago
Ah, yup, this thing.
You jumped on the 2022.1 train faster than I could get a release out (that one is my fault).
I've got fixes, I'm just also bundling it with a new release. You can use this pre-release https://github.com/doki-theme/doki-theme-jetbrains/releases/tag/v74.0-1.0.0-BETA.0 I've got everything taken care of (I think), just working on finishing touches.
The new version is great!
Just as a heads up, I actually didn't fix the problem, if you ever switch themes, it will keep the old themed icons. I assume that you are running your intellij with -Didea.ui.icons.svg.disk.cache=false
so it isn't a problem for you at the moment. However, in the up coming release, I'll have the proper caching fix implemented.
Describe the bug
IDEA does not start properly, i.e. none of the UI components can be initialised.
To Reproduce
Expected Behavior
Normal start-up
Workground Add the following virtual machine parameters to disable SVG disk caching.
-Didea.ui.icons.svg.disk.cache=false
see also: https://github.com/JetBrains/intellij-community/blob/143056988414ec20b93fd73840284ad04d367e6d/platform/util/ui/src/com/intellij/util/SVGLoader.java#L47Environment
Screenshots
Stuck in the splash UI.
Stack traces
Related Codes https://github.com/doki-theme/doki-theme-jetbrains/blob/master/src/main/kotlin/io/unthrottled/doki/icon/ColorPatcher.kt#L47
https://github.com/JetBrains/intellij-community/blob/143056988414ec20b93fd73840284ad04d367e6d/platform/util/ui/src/com/intellij/util/SVGLoader.java#L210 https://github.com/JetBrains/intellij-community/blob/143056988414ec20b93fd73840284ad04d367e6d/platform/util/ui/src/com/intellij/util/SVGLoader.java#L215
https://github.com/JetBrains/intellij-community/blob/143056988414ec20b93fd73840284ad04d367e6d/platform/util/ui/src/com/intellij/util/SVGLoader.java#L243 https://github.com/JetBrains/intellij-community/blob/143056988414ec20b93fd73840284ad04d367e6d/platform/util/ui/src/com/intellij/ui/svg/SvgDocumentFactory.kt#L26