ImpulseAdventure / GUIslice-Builder

Cross-platform drag & drop GUI builder for GUIslice
Other
166 stars 35 forks source link

Lack of colors/crash 'feature' #79

Closed PhantomSage closed 4 years ago

PhantomSage commented 4 years ago

Describe the bug On windows 10, if I start GuiSlicer directly from the jar file, it will not find the list of colors, thus resulting in an index out of bounds exception when trying to edit the colors. I didn't want to run the .exe but rather started it from the .jar file directly, and I assume it didn't find templates\default_colors.csv by itself. This is not a serious problem, starting it via normal means, or via "java -jar lib\builderxxx.jar" resolves the issues, but thought I let you know.

To Reproduce Unpack the Linux archive on a windows machine. double-click the ,jar file in the lib catalog. Open/Make a project Open the color dialog on a object Edit the color (e.g. red [-]) "Fatal error"

Expected behavior Not a big problem, fine if you close it without fixing. But be aware, and let others find out that you have to be in the correct catalogue when you invoke the .jar file to find the bundled resources.

Crash log / Project files If you experienced a crash, please attach the following to help us diagnose the cause:

Screenshots If applicable, add screenshots to help explain your problem.

Version

Pconti31 commented 4 years ago

if you want to just double click you need a package designed for this purpose. use the osx version of the builder and you are good to go. If you have installed the windows version you can also just copy the jar file and move it up one level and double click will work. And yes I'm not going to fix it for windows since many windows people don't want to install java. They simply want to reuse the Arduino's IDE java and this requires a script which gets autogenerated by gradle and fails to work when the jar is up one level.

By the way I'm issuing a hotfix today, jump to page is broken so please download version 0.13.b025.1 when available.