Adding an operation through the class property dialog only supports "public" visibility. All other visibility settings are ignored. Reproducible: Always Steps to Reproduce: 1. open umbrello 2. add a class to the default class diagram 3. open class property dialog and select operations 4. Click "New operation" 5. select "private" visibility 6. click "OK" to create the operation 7. select newly added operation and click on "Properties" Actual Results: The visibility of the operation is set to "Public" Expected Results: The visibility of the operation should be set to "Private" as requested
Comment from GCI student: I'm using v2.14.2 and I reproduced this same problem. Using Ubuntu 14.10 with KDE 4.14.2
The problem here is caused by the fact that the undo framework requires to have all supported objects in the document object list, which is not true for attributes and operations.
A workaround is to set the visibility after creation through the attribute properties.
*** Bug 347368 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 352633 ***