Closed kamronbatman closed 3 years ago
For me it stopped working in the latest version as well.
Environment Info (required):
I can also confirm that it still works in Rider v2020.4
Imgur - IntelliJ IDEA error message
Would love to see the little Pokemons fly around again, they really made my days at work a tad more fun! :)
Thanks for the bug report @kamronbatman, and thanks for the extra info @Rikj000, that's extremely helpful. I'll look into this.
Strangely I'm also on IntelliJ Ultimate 2020.3 and plugin v1.2.0 and it seems to currently be working for me.
I'm now able to repro, should be able to fix this :)
I didn't look into it but I assumed it was just a version cap that needs to be lifted. I would probably not have a version check and let it hard break in the future, then version cap it if needed with a minor update to cap it.
A bit of a progress update, if you're interested.
Unfortunately it isn't a version cap that I'm (knowingly, at least) putting in. The intelliJ plugin verifier says that it should be compatible:
However even manually installing the plugin from a zip doesn't work
I've updated the plugin to build using the SDK for IntelliJ 2020.3. However, long story short, it seems like with some of the changes IntelliJ has done to their IconLoader, the Pokémon sprite gifs no longer load. I've been playing around with different ways of handling them with limited success, but hopefully with some tinkering over this weekend I'll be able to get something working.
It looks like other progress cars are not affected or have been updated. I wonder if they figured it out? If I get some time I'll do some digging.
Specifically the issue I'm having with the sprites is because they are animated. Unfortunately the only other progress bars I know that use animated sprites (the ones by KikiManjaro) do not have their source code available online, so I can't check out the way they do it.
Things that don't work:
Options that are viable & I've been playing around with:
IconUtil.flip
doesn't seem to work on animated gifs, but likely is workable with this solutionI'm really hoping to stick with option 1, since changing from gifs to a sequence of pngs will be a pain. Although, maybe it'll be better in the long run, who knows.
I was able to go with option 1 :)
version 1.2.1 has been uploaded to JetBrains, hopefully should be approved in not too long. In the mean time it is uploaded as an attachment on the release: https://github.com/kagof/intellij-pokemon-progress/releases/tag/1.2.1
Description of the bug & expected behaviour (required) Currently doesn't load.
Environment Info (required)
Steps to reproduce (optional)