Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    AutoFitTextAreaItem Regression

    Hi Isomorphic,

    After upgrading from "v10.1p_2017-08-10/Pro Deployment (built 2017-08-10)" to "v12.0p_2018-08-28/Pro Deployment (built 2018-08-28)" there appears to be regression with AutoFitTextAreaItem using FirefoxESR 24.8.1.

    The text is being clipped, as shown below.

    v10.1 Firefox ESR 24.8.1
    Click image for larger version

Name:	firefoxESR_sgwt10.png
Views:	90
Size:	1.1 KB
ID:	254978
    v12.0p Firefox ESR 24.8.1

    Click image for larger version

Name:	firefoxESR.png
Views:	84
Size:	838 Bytes
ID:	254979
    v12.0p Internet Explorer 11
    Click image for larger version

Name:	IE.png
Views:	74
Size:	1.2 KB
ID:	254980
    v12.0p Chrome 68.0.3440.106
    Click image for larger version

Name:	chrome.png
Views:	77
Size:	1.2 KB
ID:	254981
    Regards

    -----

    EntryPoint

    Code:
    package com.sandbox.client;
    
    import com.google.gwt.core.client.EntryPoint;
    import com.smartgwt.client.data.Record;
    import com.smartgwt.client.types.Alignment;
    import com.smartgwt.client.widgets.form.DynamicForm;
    import com.smartgwt.client.widgets.form.fields.AutoFitTextAreaItem;
    import com.smartgwt.client.widgets.layout.VLayout;
    
    public class Sandbox13 implements EntryPoint {
    
        @Override
        public void onModuleLoad() {
            DynamicForm form = new DynamicForm();
            form.setPadding(5);
            form.setNumCols(4);
            form.setLayoutAlign(Alignment.LEFT);
    
            AutoFitTextAreaItem autoFitItem = new AutoFitTextAreaItem("autoFitItem", "AutoFitTextAreaItem");
            autoFitItem.setColSpan(3);
            autoFitItem.setCanEdit(Boolean.FALSE);
            autoFitItem.setCanFocus(Boolean.FALSE);
            autoFitItem.setWrapTitle(Boolean.TRUE);
            autoFitItem.setHeight("*");
            autoFitItem.setWidth("*");
            form.setItems(autoFitItem);
    
            Record r = new Record();
            r.setAttribute("autoFitItem", "ABCDEFG 1234567");
            form.editRecord(r);
    
            VLayout appLayout = new VLayout();
            appLayout.setWidth100();
            appLayout.setHeight100();
            appLayout.setMargin(5);
            appLayout.setMembersMargin(5);
            appLayout.addMembers(form);
            appLayout.draw();
        }
    }

    #2
    Can we reproduce this with an unmodified framework skin? If so, which one?

    Can you reproduce this on any supported version of Firefox? As of the end of this month, Firefox ESR 24.x will have been end-of-lifed for 4 years.

    Comment


      #3
      Originally posted by Isomorphic View Post
      Can we reproduce this with an unmodified framework skin? If so, which one?

      Can you reproduce this on any supported version of Firefox? As of the end of this month, Firefox ESR 24.x will have been end-of-lifed for 4 years.
      You should be able to reproduce it with Enterprise skin.

      We tried it with the following newer releases of FF ESR, and were not able to reproduce it.

      ESR 45.9.0, ESR 52.2.1, and ESR 60.2.0

      Regards

      Comment


        #4
        OK, we are not currently planning to address the issue in that long since end-of-lifed Firefox ESR. It's likely an old browser bug with a tricky workaround required, and we can't imagine that even a single end user will see the issue.

        Comment


          #5
          Understood.
          Thank you

          Comment


            #6
            If your motive for using FF24ESR is using GWT "Classic" DevMode, you may wish to review the "Development modes in GWT" overview in the SGWT Debugging Help Topic.. As noted there, IE11 is still under support from Microsoft and seems to have better support for Classic DevMode.than FF24ESR.

            Comment


              #7
              Hi Isomorphic,
              Thanks for your input, however, I am no longer using FF24ESR at this time, so I am fine. I happened to spot the change in behaviour and wanted to report it in case it was more widespread, which wasn't the case, so all is good.
              Regards

              Comment

              Working...
              X