Bug 497066 - 'Problems' tab should not be shown automatically for warnings
Summary: 'Problems' tab should not be shown automatically for warnings
Status: CLOSED FIXED
Alias: None
Product: EMFCompare
Classification: Modeling
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: EMF Compare CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-30 05:18 EDT by Martin Fleck CLA
Modified: 2016-11-07 11:34 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Fleck CLA 2016-06-30 05:18:16 EDT
When the comparison yields warnings, the 'Problems' tab in the StructureMergeViewer is automatically selected and shown with the same notification message as if there were an error. I think this may misinform the user about the importance of warnings as the message uses the word 'error' and the focus is immediately pulled away from the differences.

Therefore, I think the notification message should distinguish between errors and warnings and the focus should remain on the 'Differences' tab if there are only warnings.
Comment 1 Martin Fleck CLA 2016-06-30 05:19:14 EDT
I suggest the following behavior:

When there are no problems, the problems tab is not created.
When there are warnings, the problems tab is created but the focus remains on the 'Differences' tab.
When there are errors, the problems tab is created and the 'Problems' tab is shown.

The first and last behavior are already implemented, so I suggest to only adapt the behavior when warnings are encountered during the comparison.
Comment 2 Eclipse Genie CLA 2016-06-30 05:27:06 EDT
New Gerrit change created: https://git.eclipse.org/r/76309