Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321465 - Icons for headers in editor tabs are wrong at startup
Summary: Icons for headers in editor tabs are wrong at startup
Status: RESOLVED WONTFIX
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: 6.0.2   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Anton Leherbauer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-01 17:23 EDT by Marc-André Laperle CLA
Modified: 2013-07-18 01:43 EDT (History)
0 users

See Also:


Attachments
Screenshot (11.06 KB, image/png)
2010-08-01 17:23 EDT, Marc-André Laperle CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marc-André Laperle CLA 2010-08-01 17:23:06 EDT
Created attachment 175673 [details]
Screenshot

Tested with CDT 6.0.2, 7.0 and HEAD

Steps to reproduce:
1. Open a header file.
2. Open a source file in the same editor, keep this in focus.
3. Restart Eclipse
4. Notice the header file has the ".c" icon
Comment 1 Anton Leherbauer CLA 2010-08-12 03:27:35 EDT
The reason is that as long as the editor for the file is not realized (instantiated), the icon shown in the tab is the icon of the associated editor.
As soon as you click on it, the icon will change.
We would need two different editors to fix the icon in this case, but that's overkill, I think.
We could also change the icon of the editor to reflect both .c and .h in the icon (if that's possible), but this might create yet more confusion.
Comment 2 Marc-André Laperle CLA 2013-07-18 01:43:20 EDT
I think it's unlikely that we'll apply any of those solutions as the bug is very minor. Marking as WONTFIX.