kurelo / scxmlgui

Automatically exported from code.google.com/p/scxmlgui
0 stars 0 forks source link

Problem loading file #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. start scxmlgui with java -jar fsm-editor.jar
2. create a simple state diagram
3. save file
4. load the previously saved file

What is the expected output? What do you see instead?
I expected to see the same state diagram but instead got an error message.

What version of the product are you using? On what operating system?
Last fsm-editor.jar found here http://code.google.com/p/scxmlgui/
OS: Windows 7 Professionel 64 bit.

Please provide any additional information below.
The file is saved in ANSI and not in UTF-8. Converting the file to UTF-8 after 
savin it, enables to load the file, but the layout is a bit buggy.

Original issue reported on code.google.com by burkhard...@gmail.com on 12 Sep 2011 at 1:54

GoogleCodeExporter commented 9 years ago
please provide a test case. For example, provide:
1) a screen capture of the file before saving it.
2) the saved scxml file.
3) a screen capture of the graph after opening the file saved at step 2.

also, describe in more detail what you mean by "the layout is a bit buggy" (you 
could for example use the screen capture at step 3 above to point out the 
problems in the layout algorithm).

thanks

Original comment by fmorbini on 12 Sep 2011 at 2:41

GoogleCodeExporter commented 9 years ago
Ok, here the test case:
1) unloadable.png
2) test.scxml and error.png
3) state0.png and state1.png

If the problem with the layout is not clear enough on state0.png and 
state1.png, I will try to describe it in more detail.

Original comment by burkhard...@gmail.com on 12 Sep 2011 at 3:32

Attachments:

GoogleCodeExporter commented 9 years ago
please try the latest jar i just committed (or update and compile from svn).

i've not tested this software with accented characters so the modification i 
committed may break down in other cases. Let me know if this happens.

i was unable to reproduce the problem with the layout you experienced. Give a 
try to the new revision and let me know if it's there.

Original comment by fmorbini on 12 Sep 2011 at 4:39

GoogleCodeExporter commented 9 years ago
The layout problem is gone. Thanks.
With german chars (ä, ö, ü and ß) it works fine now.

Thanks for the quick help! It is better than the workaround (java 
-Dfile.encoding=UTF8 -jar fsm-editor.jar)

Original comment by burkhard...@gmail.com on 12 Sep 2011 at 5:24

GoogleCodeExporter commented 9 years ago

Original comment by fmorbini on 29 Sep 2011 at 12:54