Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 434070

Summary: [Perspectives] Perspective image icons are duplicated
Product: [Eclipse Project] Platform Reporter: Martin Mathew <manju656>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact: Eric Moffatt <emoffatt>
Severity: normal    
Priority: P3 CC: daniel_megert, manju656
Version: 4.3.2Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug
Attachments:
Description Flags
Screenshot showing duplicate icons none

Description Martin Mathew CLA 2014-05-05 01:39:33 EDT
Created attachment 242690 [details]
Screenshot showing duplicate icons

Using Eclipse Version: Luna (4.4) Build id: I20140501-0200, perform perspective re-ordering multiple times (say 50). After a while i could see that the perspective image icons are all looking the same. Hovering over the icon gives the correct perspective name. There is no error logged.
Comment 1 Eric Moffatt CLA 2014-05-05 15:47:07 EDT
This is apparently an SWT bug in how it manages its item's images. We should likely move the defect over to the SWT component for them to have a look at...
Comment 2 Dani Megert CLA 2014-05-07 03:24:54 EDT
(In reply to Manju Mathew from comment #0)
> Using Eclipse Version: Luna (4.4) Build id: I20140501-0200,

Manju, does it work in 4.3 or 3.x?
Comment 3 Martin Mathew CLA 2014-05-07 08:04:26 EDT
I was able to reproduce this issue using Eclipse Version: 4.3.2 Build id: M20140212-0800. Changing the 'Version' to 4.3.2
Comment 4 Eric Moffatt CLA 2014-06-12 15:04:00 EDT
SWT folks, this is a recurring error for which the only explanation is that there's a mismatch between the image specified for an icon and the 'cache' of icons maintained by SWT.

The only odd thing that I'm doing here is to add the new ToolItem at a specific index rather than at the end (which is the common case).
Comment 5 Leo Ufimtsev CLA 2017-08-03 12:32:29 EDT
This is a one-off bulk update. (The last one in the triage migration).

Moving bugs from swt-triaged@eclipse to platform-swt-inbox@eclipse.org and adding "triaged" keyword as per new triage process:
https://wiki.eclipse.org/SWT/Devel/Triage

See Bug 518478 for details.

Tag for notification/mail filters:
@TriageBulkUpdate
Comment 6 Eclipse Genie CLA 2020-06-05 13:46:27 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. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. 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.

--
The automated Eclipse Genie.