| Summary: | "Leaking" image properties in ColumnFormatters | ||
|---|---|---|---|
| Product: | [RT] Riena | Reporter: | Stephan Mann <stephan.mann> |
| Component: | UI | Assignee: | Project Inbox <riena.core-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | christian.campo, elias |
| Version: | unspecified | ||
| Target Milestone: | 3.0.0.M2 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
| Bug Depends on: | 43910 | ||
| Bug Blocks: | |||
| Attachments: | |||
|
Description
Stephan Mann
Created attachment 174709 [details]
An empty space in the first column exactly as wide as the image set by the ColumnFormatter in the second column
Created attachment 174710 [details]
Properties leaking from the first column to another ColumnFormatter
Created attachment 174711 [details]
Properties leaking to an image from the ImageStore
Created attachment 174712 [details]
View and Controller code to reproduce
Thanks, I will investigate this approx. next week.
> a ColumnFormatter that returns an image in any other than the first column results in an empty space in the first column
By the way -- if my memory does not fail me: 1st issue should be a known SWT bug.
Potentially, it could turn out that the images MUST have the same size or even only 16x16 -- I'll investigate what SWT supports. You can also try it yourselft by using Table and TableItem only (no ridget / viewer / labelprovider). As expected, you're right. This is a known Windows "bug". There is a workaround for Windows but this would require to write OS specific code. So I guess we have to live with it. *** This bug has been marked as a duplicate of bug 43910 *** Since Christian marked this bug as blocked by bug43910 I'm attaching my SWT only snippet to reproduce this behavior. This bug was observed under Windows 7 using SWT 3.6.0 and JDK 1.6.0 update 20. Created attachment 176776 [details]
SWT only snippet to reproduce this bug
|