Closed GoogleCodeExporter closed 9 years ago
could you please submit the files you are using? (i.e. the main scxml file and
the outsourced ones).
thanks
Original comment by fmorbini
on 28 Oct 2010 at 4:35
just toggle the option and the layout gets "compressed"
Original comment by sfeuerst...@gmail.com
on 28 Oct 2010 at 4:45
Attachments:
i'm unable to reproduce the problem.
I tried with the "ignore saved layout" option on or off (in the open file
dialog box)
and i tried with a newly created graph.
can you start the editor from a terminal? do you see any exception printed?
can you reproduce the problem opening the file you submit or just while you
were creating it?
thanks
Original comment by fmorbini
on 28 Oct 2010 at 4:59
it may be also helpful to submit a screen capture of how the layout looks
before and after the problem happens.
Original comment by fmorbini
on 28 Oct 2010 at 5:00
its just a minor issue, since with undo you could recover. Load my file and
toggle the "Toggle display of outsourced content" option, you should see that
the layout gets compressed horizontally.
Original comment by sfeuerst...@gmail.com
on 28 Oct 2010 at 5:06
could you please tell me the following information:
-java version
-os
-send the output printed to std output when you run the jar in command line
-does the problem happen only on a new diagram (started with CTRL-N of
file->new)?
-effect of "ignored stored layout": does the problem happen when you load the
file you submitted with either setup (ignore or use stored layout, it's a check
box in the open file dialog window)?
thanks
Original comment by fmorbini
on 28 Oct 2010 at 7:34
here is a comparison: the same screen before and after toggling
Original comment by sfeuerst...@gmail.com
on 28 Oct 2010 at 7:46
Attachments:
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Server VM (build 17.1-b03, mixed mode)
os ubuntu 10.04
Parsing file: /home/sfeu/runtime-New_configuration/test/handgestures.xml
add edge: two_hands->[one_hand]
add edge: two_hands->[no_hands]
add edge: n->[w]
add edge: narrowing->[narrowed]
add edge: narrowing->null
add edge: narrowed->[narrowing]
add edge: w->[n]
add edge: widening->[widened]
add edge: widening->[widening]
add edge: widened->[widening]
add edge: one_hand->[two_hands]
add edge: one_hand->[no_hands]
add edge: previous->[wait_one]
add edge: previous->[previous_tick]
add edge: wait_one->[next]
add edge: wait_one->[previous]
add edge: next->[wait_one]
add edge: next->[next_tick]
add edge: next_tick->[next]
add edge: previous_tick->[previous]
add edge: no_hands->[one_hand]
add edge: no_hands->[two_hands]
Done reading file
Populating graph.
add edge ({<next_tick>}->{<next>})to graph: next_tick-[,tick]->[next]
Moving edge next_tick-[,tick]->[next] to parent 0.0.0.1
add edge ({<previous_tick>}->{<previous>})to graph:
previous_tick-[,tick]->[previous]
Moving edge previous_tick-[,tick]->[previous] to parent 0.0.0.1
add edge ({<previous>}->{<previous_tick>})to graph:
previous-[,previous]->[previous_tick]
Moving edge previous-[,previous]->[previous_tick] to parent 0.0.0.1
add edge ({<previous>}->{<wait_one>})to graph: previous-[,stop]->[wait_one]
Moving edge previous-[,stop]->[wait_one] to parent 0.0.0.1
add edge ({<next>}->{<next_tick>})to graph: next-[,next]->[next_tick]
Moving edge next-[,next]->[next_tick] to parent 0.0.0.1
add edge ({<next>}->{<wait_one>})to graph: next-[,stop]->[wait_one]
Moving edge next-[,stop]->[wait_one] to parent 0.0.0.1
add edge ({<n>}->{<w>})to graph: n-[,widen]->[w]
Moving edge n-[,widen]->[w] to parent 0.0.0.0
add edge ({<one_hand>}->{<two_hands>})to graph:
one_hand-[,two_hands]->[two_hands]
Moving edge one_hand-[,two_hands]->[two_hands] to parent 0.0.0
add edge ({<one_hand>}->{<no_hands>})to graph: one_hand-[,no_hands]->[no_hands]
Moving edge one_hand-[,no_hands]->[no_hands] to parent 0.0.0
add edge ({<narrowing>}->{<narrowing>})to graph:
narrowing-[,narrow]->[narrowing]
Moving edge narrowing-[,narrow]->[narrowing] to parent 0.0.0.0.0.0
add edge ({<narrowing>}->{<narrowed>})to graph: narrowing-[,confirm]->[narrowed]
Moving edge narrowing-[,confirm]->[narrowed] to parent 0.0.0.0.0
add edge ({<narrowed>}->{<narrowing>})to graph: narrowed-[,narrow]->[narrowing]
Moving edge narrowed-[,narrow]->[narrowing] to parent 0.0.0.0.0
add edge ({<w>}->{<n>})to graph: w-[,narrow]->[n]
Moving edge w-[,narrow]->[n] to parent 0.0.0.0
add edge ({<two_hands>}->{<one_hand>})to graph:
two_hands-[,one_hand]->[one_hand]
Moving edge two_hands-[,one_hand]->[one_hand] to parent 0.0.0
add edge ({<two_hands>}->{<no_hands>})to graph:
two_hands-[,no_hands]->[no_hands]
Moving edge two_hands-[,no_hands]->[no_hands] to parent 0.0.0
add edge ({<widening>}->{<widening>})to graph: widening-[,widen]->[widening]
Moving edge widening-[,widen]->[widening] to parent 0.0.0.0.1.0
add edge ({<widening>}->{<widened>})to graph: widening-[,confirm]->[widened]
Moving edge widening-[,confirm]->[widened] to parent 0.0.0.0.1
add edge ({<wait_one>}->{<previous>})to graph: wait_one-[,previous]->[previous]
Moving edge wait_one-[,previous]->[previous] to parent 0.0.0.1
add edge ({<wait_one>}->{<next>})to graph: wait_one-[,next]->[next]
Moving edge wait_one-[,next]->[next] to parent 0.0.0.1
add edge ({<widened>}->{<widening>})to graph: widened-[,widen]->[widening]
Moving edge widened-[,widen]->[widening] to parent 0.0.0.0.1
add edge ({<no_hands>}->{<two_hands>})to graph:
no_hands-[,two_hands]->[two_hands]
Moving edge no_hands-[,two_hands]->[two_hands] to parent 0.0.0
add edge ({<no_hands>}->{<one_hand>})to graph: no_hands-[,one_hand]->[one_hand]
Moving edge no_hands-[,one_hand]->[one_hand] to parent 0.0.0
Done populating graph.
Starting cluster layout
internal starting layout for cluster: <hand_gestures>
internal starting layout for cluster: <two_hands>
internal starting layout for cluster: <n>
internal starting layout for cluster: <w>
internal starting layout for cluster: <one_hand>
Done cluster layout
Original comment by sfeuerst...@gmail.com
on 28 Oct 2010 at 7:53
- happens with every diagramm
- happens before saving
Original comment by sfeuerst...@gmail.com
on 28 Oct 2010 at 7:54
now i understand. The layout is not broken. Every time the auto layout is
called the result may be different. The "before" layout seems a manual layout
and it'll be completely redone when the auto layout is called.
toggling the display of outsourced content calls the auto layout.
you should not get any change if the check box "ignored stored layout" in the
open file dialog window is *un*-checked. (you can un-check it at any time,
without having to open a file). Please try the following and let me know:
-go in the same condition in which you captured the "before" image
-now do file->open
-say "no" to the dialog box that asks you to save the file (if it appears)
-now uncheck the "ignore stored layout" check box and press ESC
-now toggle the display outsourced content action. The layout should stay the
same.
in general you should keep the "ignore stored layout" option un-checked (it's
remembered across sessions). Only if you are opening a file that was not saved
using a recent version of this editor you need to check that option.
Original comment by fmorbini
on 28 Oct 2010 at 7:55
Well, actually i expected exactly the opposite: ;-) That the auto layout
function is not called if i use the "display outsourced" content. I expected
that the display pane is expanded without shrinking my manual layout.
Original comment by sfeuerst...@gmail.com
on 28 Oct 2010 at 8:29
Original comment by fmorbini
on 5 Nov 2010 at 6:43
Original issue reported on code.google.com by
sfeuerst...@gmail.com
on 28 Oct 2010 at 4:24