MPS-extensions
MPS-extensions copied to clipboard
Icons not shown in MPS 2020.3
In MPS 2020.3, the icons are displayed like this:
I think I have also seen this at some point, but I just tried it out with the latest MPS (2020.3.3) and now I see the icons again:
Do you still have the issue?
Just tried it under MPS 2020.3.3 (Ubuntu):
I am currently using Windows and have installed MPS via the JetBrains toolbox, so maybe this only happens on some platforms or MPS releases.
Could you try to open the MPS-extensions project and open one of the toolbar actions and check if you see the same here?
If you see nothing there, can you also try to select another icon with the ...
?
Some guesses on what could be going on:
- The icons are PNG. Could there be an issue related to PNG rendering under the particular Java version or Ubuntu version?
- Could it be a path issue (Windows vs Linux)?
- Could the issue be specific to an MPS release type? (jetbrains toolbox, windows, linux, universal)
Thanks for the helpful checklist. I will collect more info.
Starting with trying it myself under Windows (MPS via JetBrains toolbox, including MPS Extensions, mbeddr and IETS3 - so not standalone langvis from plugin repo):
OK, that is interesting. I have opened MPS-extensions source in Linux and then it just seems to work:
Next step is to check if this built plugin will also act that way...
Now I have just taken the built plugin from the artifacts folder of the MPS-extensions repository that I just made a screenshot of in the last comment and the result is this:
Conclusion: something happens with the packaging.
@klemensschindler can you verify if you get the same behavior as me with a pre-installed version from the plugin repo or by copying a built version of langvis and try that (like I did in this comment)?
Check in the build solution whether you copy resources properly, there were changes in this area in the last few versions of MPS:
These resources are in order in the build script. Thanks to an MPS-office-hours session from @sergej-koscejev, there is the tip from Sergej to look to check the global java option to copy the resources. @MariaLebedeva has also given a link to a related issue of missing icons, but unfortunately I cannot find the link right now.
It appears that MPS 2021.1.1 copies the files correctly now, but they are still not shown. So: the icons folder is there, but the icons are still not shown. Now I'm really confused! @sergej-koscejev any idea? If not, I will come annoy with at again at the next MPS Office Hours :)