Community
Participate
Working Groups
This is a screwball bug that took hours to run down. Three new preference pages were behaving very oddly. All three page classes shared the same base class; they differed only in two text constants set in the subclass constructors. When preferences were shown, clicking (in the outline) on any page of the three displayed it normally. But clicking on either of the other two showed only a blank page. It did not matter which of the three pages were selected first; it always displayed normally, and the remaining two showed as blank. To add to the confusion, I have a number of other preference pages, all of which displayed normally. Selecting the others had no effect on the "blank" page problem. Except one. If I displayed that one other page at any time, all three of the pages in question now displayed normally. If I had hair, I'd have torn it. It was certainly not obvious what about that "magic" page that "fixed" the problem. But by trial and error, I found it. All preference pages use GridLayout. The "blank page" phenomenon showed itself unless and until I selected a page that contained a control for which GridData.FILL_HORIZONTAL was set. Once that page was drawn, all pages worked as expected. Adding GridData.FILL_HORIZONTAL to one of the controls in the base class of the three page classes in question fixed the problem for all three.
Change platform to WinXP
Is this an SWT problem? GridData belongs to SWT. If not, please reassign.
I'm going to give this to Platform UI. If it turns out to be an SWT problem, please move back. Thanks.
Is this still an issue in 3.3?
As per http://wiki.eclipse.org/Platform_UI/Bug_Triage_Change_2009
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.