Bug 201786 - [PropertiesView] PropertySheet.selectionChanged() doesn't do anything when a view is closed and a property is being edited
Summary: [PropertiesView] PropertySheet.selectionChanged() doesn't do anything when a ...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-30 15:41 EDT by Wayne CLA
Modified: 2019-09-06 16:05 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wayne CLA 2007-08-30 15:41:18 EDT
Build ID: 3.3.0

Steps To Reproduce:
1. Open a view where selecting something will show editable properties for the selected object in the Properties view.
2. Select something in that view.
3. Edit the properties from the Properties view.
4. While the cell editor contents are being modified, close the view where you selected something.
5. Observe the properties view is still displaying properties for the element which is no longer selected.


More information:
In the selectionChanged() method of PropertySheet, observe
if (part == this || sel == null) {
    return;
}
The (part == this) condition passes and the selection change isn't handled because the active part is still the properties view.
Comment 1 Eclipse Webmaster CLA 2019-09-06 16:05:36 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.