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

Bug 400425

Summary: [Grid] GridRow may dispose font objects from the theme store
Product: [RT] RAP Reporter: Tim Buschtoens <tbuschto>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: tbuschto
Version: 2.0   
Target Milestone: 2.1 M2   
Hardware: All   
OS: All   
Whiteboard:

Description Tim Buschtoens CLA 2013-02-11 05:22:13 EST
The GridRow widget sometimes creates font objects for text size measurement, then disposes them again. However, in some cases the font object is actually from the theme store, so disposing them is illegal. As far as i can tell the only issue that currently results from this is a red test in the ClientScripting tests. The themestore itself actually doesn't care that the font was disposed.
Comment 1 Tim Buschtoens CLA 2013-04-08 09:53:47 EDT
Fixed with commit 87b829c4f914a301a9ed847e8b79bba7adaff03b.

Font is no longer disposed if not created by the GridRow itself.