Bug 506519 - Entering the name of an element and clicking OK doesn't assign the name to the element
Summary: Entering the name of an element and clicking OK doesn't assign the name to th...
Status: NEW
Alias: None
Product: Papyrus-rt
Classification: Modeling
Component: tool (show other bugs)
Version: 0.8.0   Edit
Hardware: PC Mac OS X
: P3 normal
Target Milestone: Future   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-25 13:23 EDT by Ernesto Posse CLA
Modified: 2016-11-30 02:55 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ernesto Posse CLA 2016-10-25 13:23:12 EDT
This bug looks to be Mac-specific, and may be a Papyrus bug rather than an RT bug, but it needs investigation.

The problem seems to be related to all kinds of dialogs whenever entering information into a field, usually the name field, and if the user clicks [OK] without moving the focus to a different field, then the information entered is lost, and the value ramains unassigned, i.e. null.

For example:

Steps to reproduce:

1. create a UML-RT model
2. create a protocol
3. select the protocol and create an Out message by clicking on the [+] button in the Properties view (rather than right-clicking on the protocol in the model explorer)
4. type anything in the Name field
5. click [OK] without clicking anywhere else or hitting the [Tab] key

Expected result:

The protocol message is created with the given name.

Actual result:

The protocol message is created but it has no name.

Note that this is not just for protocols but for *any* model element.
Comment 1 Peter Cigehn CLA 2016-10-26 03:25:55 EDT
I tested this on Windows, and there it works. So yes, this seem then be platform specific. What can be seen on Windows, following the steps to reproduce, is that the green background in the name field quickly flashes when pressing OK in step 5, which indicates that the name change is "committed". I guess that this is what might be missing on the Mac platform.