| Summary: | No application icon on main windows | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | keersbulik <pierre.keersbulik> |
| Component: | UI | Assignee: | Platform UI Triaged <platform-ui-triaged> |
| Status: | CLOSED DUPLICATE | QA Contact: | Eric Moffatt <emoffatt> |
| Severity: | normal | ||
| Priority: | P3 | CC: | code, Lars.Vogel, remy.suen |
| Version: | 4.1 | Keywords: | ui |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
keersbulik
Do you see Shell's setImage(Image) method being called? Yes the method setImages is called, but the image array is empty. The setImage is called to with a not null image but it seems it is not my image, i can't be sure because it's hard to see the content of an image using eclipse debbuger, but the height is equal to -1. I have taken a look to the getIconURI from WindowImpl. It return "platform:/plugin/<bundle>/icons/icon.bmp" as define in the Application.e4xmi (In reply to comment #1) > Do you see Shell's setImage(Image) method being called? I think the call to setImages(Image[]) is the problem. If you comment out that line does it work? Yes indeed, if i comment the line "wbwShell.setImages(Window.getDefaultImages())" it works. I will try find a workaround that allows me to set the images using Window.setDefaultImages before "wbwShell.setImages(Window.getDefaultImages())" call. Thanks ! (In reply to comment #3) > I think the call to setImages(Image[]) is the problem. If you comment out that > line does it work? *** Bug 361130 has been marked as a duplicate of this bug. *** Should be fixed in the current Eclipse integration build. http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?h=R4_2_maintenance&id=68563a1ed96cd665494202405ba23ec80dca42eb *** This bug has been marked as a duplicate of bug 280825 *** |