Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 500894 - Refresh problem on no properties available
Summary: Refresh problem on no properties available
Status: RESOLVED FIXED
Alias: None
Product: EEF
Classification: Modeling
Component: Core (show other bugs)
Version: 1.7.0   Edit
Hardware: PC Linux
: P3 normal
Target Milestone: 1.7.2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 497095 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-09-06 04:20 EDT by Melanie Bats CLA
Modified: 2016-10-19 11:13 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Melanie Bats CLA 2016-09-06 04:20:21 EDT
The problem is that the properties view is not well refreshed when an element which provides no properties view is selected from the model explorer.
See the attached screenshot, on the left side we see the 'No properties available' message and on the right side we still see the content of the previously selected element. The title is neither updated correctly.

To reproduce create a properties view configuration, select from the model explorer an element which provides properties view computed from an EEF configuration and then select an element which does not contribute properties view.
Comment 1 Eclipse Genie CLA 2016-10-05 11:38:13 EDT
New Gerrit change created: https://git.eclipse.org/r/82544
Comment 2 Pierre-Charles David CLA 2016-10-05 11:42:20 EDT
The patch at https://git.eclipse.org/r/82544 *seems* to fix (or at least work around) the issue. However I don't known enough about the nitty gritty details of the EEF runtime to understand the possible impacts, and it looks too simple to be right :)

From the comment that was there before, it looks like it could have performance impacts. I'am adding Stéphane in CC as he is the one with the most knoweldge of this area (but unfortunately not available before next week). Stéphane, what do you think?
Comment 3 Pierre-Charles David CLA 2016-10-11 09:40:35 EDT
*** Bug 497095 has been marked as a duplicate of this bug. ***
Comment 5 Pierre-Charles David CLA 2016-10-19 11:13:44 EDT
Fixed by 5c233dfa0734dd039477cefe73081529a5d611e8.