Bug 339000

Summary: Shape of exception widget changes during save to and load from file
Product: [Applications] umbrello Reporter: Øystein S. Haaland <oystein.s.haaland>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: CONFIRMED ---    
Severity: normal CC: okellogg, ralf.habacker
Priority: NOR    
Version: Git   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: XMI file with actictivity diagram including an exception transition
Activity diagram after create, save, close and load cycle
Screen capture showing the described behaviour

Description Øystein S. Haaland 2014-09-11 06:45:45 UTC
When saving an activity diagram that contains an exception widget, its shape changes from that resembling a lightening bolt to something seemingly arbitrary.

Reproducible: Always

Steps to Reproduce:
1. Create a new activity diagram
2. Add two normal activity widgets with an exception widget between
3. Save and close the file.

Actual Results:  
The shape of the exception widget changes

Expected Results:  
The shape of the exception widget should not change
Comment 1 Øystein S. Haaland 2014-09-11 06:48:09 UTC
3. Save, close and reopen the file....
Comment 2 Oliver Kellogg 2014-09-11 17:45:46 UTC
Created attachment 88661 [details]
XMI file with actictivity diagram including an exception transition

I tried reproducing the behavior with this file, by moving around the branch and the activity to different positions, each time saving and loading - but the exception looks okay to me.
Could you attach an XMI which exhibits the problem? Thanks.
Comment 3 Øystein S. Haaland 2014-09-12 07:48:00 UTC
Created attachment 88670 [details]
Activity diagram after create, save, close and load cycle
Comment 4 Øystein S. Haaland 2014-09-12 07:49:38 UTC
I tried the attachment you uploaded and it rendered fine.
Comment 5 Øystein S. Haaland 2014-09-12 10:26:23 UTC
Created attachment 88676 [details]
Screen capture showing the described behaviour
Comment 6 Øystein S. Haaland 2014-09-12 10:29:06 UTC
I wonder if there might be a generic problem with my system since i see a lot of strange behavior that i would expect resulted in more bugs been filed (i looked through most of the open bugs). But i do see the same behavior on the two gentoo boxes i use on a daily basis.
Comment 7 Ralf Habacker 2015-03-07 13:23:28 UTC
I found a case where after the save/load cycle the start and end line of the exception association widget are not in parallel. Also I'm also able to reduce the exception to a simple line without any arror displayed if I reduce the distance of the two activities.
Comment 8 Ralf Habacker 2015-03-08 09:36:32 UTC
(In reply to Ralf Habacker from comment #7)
> I found a case where after the save/load cycle the start and end line of the
> exception association widget are not in parallel. Also I'm also able to
> reduce the exception to a simple line without any arror displayed if I
> reduce the distance of the two activities.

Looks like an implementation issue of the exception drawing.
Comment 9 Justin Zobel 2021-03-09 07:00:30 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.