Community
Participate
Working Groups
Build 20030716 The "Link with editor" feature seems to only track editor focus, not activation. The workbench supports just bringing editors to the top without giving them focus. The link with editor feature should update for this case.
JDT is consistent with the workbench and the link with editor is activated on a partActivated event. The current behaviour is OK by me, but moving to Platform UI for comments.
I think this is a bug if you consider the search result use case mentioned in bug 39059. Adding Nick to cc list to see if he agrees. *** This bug has been marked as a duplicate of 39059 ***
Intuitively I think it should sync with partBroughtToTop, not partActivated. There may be some reason for the current behaviour, but I don't remember it. It would lead to more frequent changing of selection in the navigation views, but it would be more consistent. Would have to handle the case where the view itself brings a different editor to front and ensure there are no cycles. I suggest we try it.
The only possible cycle I see would be if a view changes editors to one other than the activated one when the view selection is set (e.g., editor A activated, selects element A, view opens editor B on selection change). I don't think this is a realistic scenario though.