Community
Participate
Working Groups
3.1 RC1, Windows XP Professional SP1 It is possible to get the Colors and Fonts preference page to show with no "Use System Font", "Change...", and "Reset" buttons. Selects the Colors and Fonts preference page, and select a font entry. Change the font and click okay. Open the preference dialog again. Focus is the typeahead filter (top-left), but the font that had previously been changed is selected in the tree. However, no buttons appear. If I click on a font in the tree, and then click in the typeahead, there are still buttons. If the preference page is open when the preference dialog is first created, the buttons should be created appropriate for the remembered selection.
Simple steps to reproduce in I20060321-1210: Open preferences, type "font", press Return key.
*** Bug 112690 has been marked as a duplicate of this bug. ***
Not minor as missing buttons can be quite disturbing.
Created attachment 88307 [details] Fix I hate this bug. Here's a simple fix.
Thanks for the patch Markus. I'll review and commit if OK.
Committed with the patch but replaced compact assignment. In a second commit I cleaned up the patch and code a bit: - renamed the new method to update... instead of handle... - moved the call to the new method from hookListeners to createContents - removed all empty Javadoc stubs that generated Javadoc warnings - fixed some typos. Also as this better fits the current scheme in this class. Available in builds > N20080131-0010.
Verified in I20080430-0100.