Community
Participate
Working Groups
Build Identifier: If an Eclipse-based product contributes a lot of decorators then the 'Label Decorations' preference page will expand vertically (when first opened) until either all of the label decorators are displayed or the maximum vertical size of the screen is hit. The product I am using contributes > 40 decorators and as a result the preference page increase to the maximum vertical size of my screen. As a result the 'description' field at the bottom is not initially visible. A possible solution (for which I'll attach a patch) sets the heightHint for the label decorator field to 400 and the description field heightHint to 100. I also made sure that the description text field is vertically scrollable in case a very long description is provided. I'm not sure if this is the best solution but it seems to work fine for myself. Reproducible: Always Steps to Reproduce: 1. Use an Eclipse-based product that contributes a lot of decorators. 2. Click on Window > Preference > General > Appearance > Label Decorations 3. Notice that the preference page expands vertically until either all of the label decorators are displayed or the maximum vertical size of the screen is hit.
Created attachment 160682 [details] possible patch.
I suspect that this is 'normal' behavior (i.e. preference pages opening to their 'optimal' size) so it may not be just this page that can cause such an effect. Perhaps we should just pick an upper limit to the width/height that is 75% (or so) of the display size.
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.