Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355669 - Listbox and Treebox should show composite icon when checkable
Summary: Listbox and Treebox should show composite icon when checkable
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-24 06:37 EDT by Ivan Motsch CLA
Modified: 2021-08-19 11:07 EDT (History)
1 user (show)

See Also:


Attachments
Before Change (18.40 KB, image/png)
2011-08-24 07:48 EDT, Ivan Motsch CLA
no flags Details
After Change (31.80 KB, image/png)
2011-08-24 07:49 EDT, Ivan Motsch CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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