Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Bug with ComboBoxItem Vertical Scrollbar in Simplicity Skin

$
0
0
Hi Isomorphic,

I noticed a severe bug with ComboBoxItem in IE11 (Win8.1) only in Simplicity Skin. Unfortunately I can't present a quick way to it, as you removed Simplicity from the showcases examples. I can't produce it in current on-line Showcases with IE11 in Enterprise skin nor in my application with GC42/FF26 in Simplicity skin.

I'm using v10.0p_2015-04-10.

Steps I do:
  • Open a ComboBoxItem that scrolles its data vertically (I open it by using the mouse and the arrow next to the text field)
  • Click the scrollbar, the popup closes
  • If you reopen the popup, it is one scrollbar-width shifted to the right and has the same defect
  • The shifting only happens once

This is my ComboBoxItem setup, if this helps:
Code:

public class ComboBoxItemCampaign extends ComboBoxItem {
        final private DataSource campaignDS = DataSource.get(DatasourceEnum.T_CAMPAIGN.getValue());

        public ComboBoxItemCampaign(String name, boolean withOtherLECampaigns, boolean defaultToFirstOption) {
                super(name);
                setOptionDataSource(campaignDS);

                if (withOtherLECampaigns) {
                        setOptionOperationId("fetchOwnAndOtherLECampaigns");
                } else {
                        setOptionOperationId("fetchOwnLECampaigns");
                        setOptionCriteria(new AdvancedCriteria(OperatorId.AND, new Criterion[] {
                                        new Criterion("STARTDATE", OperatorId.LESS_OR_EQUAL, new Date()),
                                        new AdvancedCriteria(OperatorId.OR, new Criterion[] { new Criterion("ENDDATE", OperatorId.GREATER_OR_EQUAL, new Date()),
                                                        new Criterion("ENDDATE", OperatorId.IS_NULL) }) }));
                }
                setValueField(campaignDS.getPrimaryKeyFieldName());
                setFetchMissingValues(true);

                setDisplayField("NAME");
                setSortField("NAME");

                setValidateOnExit(true);
                setDefaultToFirstOption(defaultToFirstOption);
                setTextMatchStyle(TextMatchStyle.SUBSTRING);
                setBrowserSpellCheck(false);
        }
}


Best regards
Blama

Attached Images
File Type: png ComboBoxItem Scrollbar.png (12.3 KB)
File Type: png IE11 Version.png (14.6 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles