This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The list of options in the dropdown for short-hand properties is confusing. It seems like tossing every possible predfined value for each of the options isn't helpful. See font and border as cases in point.
FYI right now there's a bug that some of the offered items are invalid as the property value - these definitively needs to be fixed. As for what is proposed in general it is not clear to me 1) why offering possible values is a problem, 2) what is the key for defining what should be offered and what not.
For a shorthand property that accepts multiple values, the correct UI is not a dropdown with a union of available predefined options. We should not use a dropdown at all for these properties. Ultimately, we should add custom editors if we wanted to really facilitate the DT, but that's a separate enhancement. For this bug, we should remove the dropdown support in this case.
Ok, if you think it is so much confusing to the users, I'll remove it.
fixed in web-main#f16826ef4afc btw, the single properties all have the dropdown even if there's no fixed value for them - the dropdown always contains <none> item which removes the property from the rule. As we now do not have the dropdown for some of the properties, it is inconsistent and confusing so I guess the <none> item should be removed completely.
changeset: 237684:bdac2927b5d9 summary: removing the "..." button with plain custom editor for properties w/o a dropdown. Removing <none> item from all the properties. now it looks much nicer...drawback of this change is that aggregated properties which may contain a color are rendered as plain. I'll fix this later as this is not trivial.
(In reply to comment #5) drawback of this change is that aggregated properties > which may contain a color are rendered as plain. I'll fix this later as this is > not trivial. I will better keep it as it is now as it won't render the color value with the icon if the value contains more than one item anyway.
Integrated into 'main-golden', will be available in build *201210310001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/f16826ef4afc User: Marek Fukala <mfukala@netbeans.org> Log: #220219 - Usability issues with property dropdown values for complex properties