When labeling an attribute private, it completely disappears from the class. This should not happen as we still need to see what that private attribute is. Reproducible: Always Steps to Reproduce: 1. create class 2. add attribute 3. make private Actual Results: Shows no attribute. Expected Results: Attribute should show as: -varName : String
This bug is still there in 4.11.
Not sure, what you mean with 'disappears from the class'. An attribute added to a class is displayed in the tree view regardless of the visibility, also it is displayed in the attribute tab of the class property dialog. In the diagram by default only public attributes are displayed. Private attributes are shown in the diagram by unselecting "Public only" in the the display tab of the related diagram of the class tab of general umbrello settings. If you are mentioning a different behavior, feel free to reopen the bug with more details.
Well, that was it, thank you. That option is not easily found, perhaps there could be a way to improve its visibility?
(In reply to Alexandre Bonneau from comment #3) > Well, that was it, thank you. > That option is not easily found, perhaps there could be a way to improve its visibility? The are a few shortcuts for accessing attribute and the "public only" property: 1. Change attribute visibility 1.1. double-click on a tree view class attribute 1.2. right-click and select "properties" on a tree view class attribute 2. Change diagrams "public only" setting: 2.1. double-click and select "display" on a tree view diagram entry 2.2. right-click and select "properties" followed by "display" on a tree view diagram entry 3. Change global "public only" setting 3.1. select menu "settings" and select "properties" followed by "class" There would be a change to reduce the required steps for the global settings by adding a "Properties" entry in the tree view: 3.2 double click and select "class" on the tree view "properties" entry