Bug 388560 - Class display options are not saved
Summary: Class display options are not saved
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 2.24.0 (KDE Applications 17.12.0)
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-05 11:34 UTC by Andre Barboza
Modified: 2018-01-27 14:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.24.1 (KDE Applications 17.12.1)


Attachments
test casae (9.37 KB, application/x-uml)
2018-01-07 11:36 UTC, Ralf Habacker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andre Barboza 2018-01-05 11:34:44 UTC
Description:

After edit a class and set display options, it correctly shows the class with selected options. The display options, however, are not persisted.

Steps to Reproduce:

1 - Create a class diagram;
2 - Create a new class;
3 - Edit class properties;
4 - Remove all options;
5 - Save diagram;
6 - Close umbrello;
7 - Open umbrello;
8 - Open saved diagram;

Actual Results: 

The diagram shows the class with default display options.

Expected Results: 

The diagram shows the class with user selected display options.
Comment 1 Ralf Habacker 2018-01-07 11:36:28 UTC
Created attachment 109724 [details]
test casae

I tried the following steps 

0 - start umbrello;
1 - Create a class diagram;
2 - Create a new class;
3 - Edit class properties;
4 - Remove all options;
5 - Save diagram;
6 - Close umbrello;
7 - Open umbrello;
8 - Open saved diagram;

The actual result is that all options but stereotypes are unselected. Having set stereotypes selected is a bug - are you refering to this ?

I have added a xmi test case with all options unselected in the related class - can you confirm my previous statement after loading it ? 

If the issue is still present, please inspect your xmi file at the related class widget if the showxxx attributes are set to zero or add it to this bug for been able to inspecting.
Comment 2 Ralf Habacker 2018-01-07 12:38:54 UTC
Git commit e66f65297a0820b1159d9d5657a93fe4149d826a by Ralf Habacker.
Committed on 07/01/2018 at 12:38.
Pushed by habacker into branch 'Applications/17.12'.

Fix bug not saving "show stereotype" class widget setting to xmi file
FIXED-IN:2.24.2 (KDE Applications 17.12.2)

M  +3    -0    umbrello/umlwidgets/classifierwidget.cpp

https://commits.kde.org/umbrello/e66f65297a0820b1159d9d5657a93fe4149d826a
Comment 3 Andre Barboza 2018-01-09 00:34:09 UTC
Yes, sorry. It was only the stereotype option that did not saved.
Thanks.