Bug 2175 - [Navigator] Changing the default editor does not refresh the navigator (1GEX9PY)
Summary: [Navigator] Changing the default editor does not refresh the navigator (1GEX9PY)
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All Windows NT
: P3 minor (vote)
Target Milestone: 3.1 M7   Edit
Assignee: Nick Edgar CLA
QA Contact:
URL:
Whiteboard:
Keywords: investigate
: 5046 22775 25267 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-10-10 22:27 EDT by Kevin Haaland CLA
Modified: 2005-05-13 11:42 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 Kevin Haaland CLA 2001-10-10 22:27:59 EDT
1) install the UI examples
2) create a project
3) create a file file.people
the icon is a 'E'
4) go to Window->Preferences->Workbench->File Editor and change the default editor for .people
5) Apply
The icon has not changed in the navigator


NOTES:

KH (9/10/2001 3:53:03 PM)
	See also: 1GC2VOL: ITPUI:WIN2000 - Icons in navigator not updated on default editor change
Comment 1 DJ Houghton CLA 2001-10-29 17:57:12 EST
PRODUCT VERSION:
119 NT

Comment 2 Nick Edgar CLA 2002-01-22 21:53:45 EST
Minor update problem.
Could add callback for editor association changes.
Views that care would hook it and refresh when changed.
Might be possible to have WorkbenchLabelProvider do this for free.
Comment 3 Nick Edgar CLA 2002-02-01 15:45:01 EST
Not critical for 2.0.
Comment 4 Randy Giffen CLA 2002-08-07 16:32:23 EDT
Reopen for investigation
Comment 5 Knut Radloff CLA 2002-10-24 14:10:35 EDT
*** Bug 25267 has been marked as a duplicate of this bug. ***
Comment 6 Knut Radloff CLA 2003-02-07 10:04:11 EST
*** Bug 22775 has been marked as a duplicate of this bug. ***
Comment 7 Knut Radloff CLA 2003-04-07 10:36:35 EDT
*** Bug 5046 has been marked as a duplicate of this bug. ***
Comment 8 Knut Radloff CLA 2003-09-02 17:01:12 EDT
Reassigning to Nick since he is taking ownership of Navigator
Comment 9 Kevin Haaland CLA 2005-04-28 21:23:17 EDT
Closing
Comment 10 Dani Megert CLA 2005-04-29 04:26:42 EDT
This bug is not invalid but still exists in 3.1.
Comment 11 Nick Edgar CLA 2005-04-29 12:40:18 EDT
Fixed this stone age bug.

Filed bug 93292 for the Package Explorer.
Comment 12 Nick Edgar CLA 2005-04-29 12:41:56 EDT
The fix was to have WorkbenchLabelProvider trigger a full update when an
IEditorRegistry.PROP_CONTENTS change is fired.

Need to verify that the performance impact on a large workspace is not
excessive, since this gets triggered whenever the File Associations pref page is
used.
Comment 13 Nick Edgar CLA 2005-05-13 11:42:16 EDT
Verified in the monster workspace that the cost of this is not too high.