Community
Participate
Working Groups
Created attachment 195121 [details] Fix Some icons on the Annotations preference page are shown with a black background on OS X, see bug 310387. This patch doesn't solve the underlying SWT problem, but it solves the problem iff the icon size is 16x16 pixels. Deepak, could you please review and test the fix on the Mac (Cocoa)?
Looks good on Windows XP.
Looks good on Mac.
Thanks to both reviewers, fixed in HEAD.
.
Verified with I20110512-2000
This fix caused bug 345910 on Windows 7. After consulting the testbed from bug 310387 comment 9, I propose a better fix that - avoids bug 310387 on Cocoa - fixes bug 345972 on GTK for cases where no stretching is necessary (this was bad in 3.6 but fixed by the initial patch for this bug) - fixes bug 345910 on Windows 7 Deepak and Dani, could you please review and test Fix 2?
Created attachment 195746 [details] Fix 2
Code explanation for Fix 2: The "Image image" must never be stored/disposed, since it comes from a global registry. fImageKeys collects newly created images, but since we don't need to create any image in this case, we don't have to store/register anything.
+1 for RC2. Please replace the dots that your previous patch introduced with tabs.
+1 for RC2 (OK on win XP)
Fixed in HEAD and removed the space characters (they probably appeared because I copied the proposed fix from Bugzilla).
Verified with I20110517-0800 on Windows XP.
Verified with I20110517-0800 on Windows 7.
Verified on Mac and Linux with I20110518-0800.