Community
Participate
Working Groups
This seems to have worked before in 3.3 and changed in 3.4. A call to Font#getFontData() from a non-ui thread results in a SWT exception. For one, the JavaDoc is not speced to throw this exception and second, it works fine on Windows and Linux. The call to Device#getDPI() from getFontData() calls checkDevice() and causes this issue.
Kevin, this is happening because of the call to Device.getDPI() we introduced to fix the printing problem. We should remove that code since it is not doing anything (other parts of the code got removed for other reasons). Note that there are two calls to getDPI(), the other one is in init(). We have to find another way of getting the printer DPI when we try to fix that other problem again.
Will this be considered in 3.4.1?
Yes
Great!
We ran into this bug in Mylyn when font initialization was triggered from a lightweight decoration thread (bug 240076) and ended up moving initialization into an asyncExec call. It would be great if a fix made it into 3.4.1.
Fixed in HEAD (>20080806)
Great Silenio, we tried a nightly of 3.4.1 and the fix does not seem to be included there. Did it not make into the maintenance stream yet?
Silenio/Steve - is this really to be considered for 3.4.1 ? Remember it needs PMC approval to make it into 3.4.1rc2
This defect makes using Rational Team Concert under 3.4 on OS X very painful. Please push the fix into 3.4.1
We missed this one because the wrong field was set (version instead of milestone). This we be put in tonight.
Released in 3.4.1 stream.
Created attachment 111594 [details] patch Here is the patch for 3.4.1. These are the changes proposed in comment#1, which remove the offending code. Screen resolution and printer resolution is always 72x72, so there is no real change.