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

Bug 355669

Summary: Listbox and Treebox should show composite icon when checkable
Product: z_Archived Reporter: Ivan Motsch <ivan.motsch>
Component: ScoutAssignee: Project Inbox <scout.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: zimmermann
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Before Change
none
After Change none

Description Ivan Motsch CLA 2011-08-24 06:37:42 EDT
When a listbox or treebox is checkable=true then it shows checkmarks as icons.
However if the listbox also has an icon defined either directly on the listbox or via its data provider (codetype/lookupcall), then this icon is not shown.

Solution should be that in this case both icons are displayed as a composite icon.

Solution needed in swing, swt, rwt
Comment 1 Ivan Motsch CLA 2011-08-24 07:33:00 EDT
In this (rare) case when both icons are needed, then both icons are displayed as a composite icon (swing) or a combined Image (GC in swt).

Since this is a behaviour change - even though a positive enhancement - 
this feature must be explicitly activated in eclipse scout 3.7 using the config.ini property:
scout.fix355669=true
Comment 2 Ivan Motsch CLA 2011-08-24 07:48:54 EDT
Created attachment 202077 [details]
Before Change
Comment 3 Ivan Motsch CLA 2011-08-24 07:49:21 EDT
Created attachment 202078 [details]
After Change
Comment 4 Matthias Zimmermann CLA 2011-10-11 02:40:09 EDT
shipped with 3.7.1