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

Bug 347816

Summary: Undesired characters are painted behind scrollbar
Product: z_Archived Reporter: Matthias Zimmermann <zimmermann>
Component: ScoutAssignee: Project Inbox <scout.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Matthias Zimmermann CLA 2011-05-31 11:12:13 EDT
PROBLEM DESCRIPTION:
Undesired characters are painted behind the outline tree's scrollbar. See attached screenshot.

EVALUATION:
In the described case, an AbstractSnapBox is configured into the TreeForm. There is no UI implementation for AbstractSnapBox in Swing. Therefore, the field is rendered into a placeholder field. Because the AbstractSnapBox is not necessary in Swing anyway, the model field ist setVisibleGranted(false).

However, this has no impact on the placeholder UI field, as the SwingScoutFormFieldPlaceholder is not attached to Scout.

PROPOSED SOLUTION:
Change the implementation of SwingScoutFormFieldPlaceholder according to all other SwingScout... classes. Like that, the placeholder field becomes a "real Scout field" and can react to model changes like setVisibleGranted(false). See attached patch.
Comment 1 Matthias Zimmermann CLA 2011-05-31 11:12:32 EDT
solved on 9.5.11, #101951
Comment 2 Matthias Zimmermann CLA 2011-06-28 09:19:17 EDT
shipped with eclipse scout 3.7.0
Comment 3 Matthias Zimmermann CLA 2011-06-28 09:19:40 EDT
forgot to update status