Announcement

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

    13.0d only: SliderItem does not show current value when editing

    Hi Isomorphic,

    please see this sample (SNAPSHOT_v13.0d_2021-04-18). As you can see, the SliderItem does not show the currently selected value above the bar like it did in 12.1p or does here in 13.0d.


    Best regards
    Blama


    "originally posted by Blama "


    #2
    We are reproducing the problem and will take a look.

    Thank you for the notification

    Isomorphic Software

    Comment


      #3
      This bug was highlighted by the Slider in this example having a specified margin, which was not being taken into account when figuring out whether the label should be visible.

      We've fixed it for builds dated April 21 and later.

      Comment


        #4
        Hi Isomorphic,

        this is fixed, but now, if you exit the editor via Enter or Escape, the label stays.


        Best regards
        Blama


        "originally posted by Blama "

        Comment


          #5
          Hi Isomorphic,

          an additional issue: In 12.0p/13.0d, if you select an entry with the mouse and then hit Escape, while the item is still in Edit mode, the new value stays nevertheless.
          This is not true if you move the slider with the left/right arrow keys and then hit Escape (expected like this). Tested in Win10/FF88 with v12.0p_2021-04-20 / SNAPSHOT_v13.0d_2021-04-21

          Video:
          1st change with mouse, then Escape (with issue)
          2nd change with arrow keys, then Escape (no issue)


          Best regards
          Blama


          "originally posted by Blama "

          Comment


            #6
            We've made a fix for the first of these, for builds dated April 22 and later.

            We see the second issue also, and we'll update here when it's been addressed.

            Comment


              #7
              Hi Isomorphic,

              I can see the 1st issue is fixed now.
              Additionally I also found this in 12.0p (v12.0p_2021-04-26, not in 12.1p/13.0d I think):
              • Arrow keys don't work directly after entering edit mode with with mouse or keyboard (tested in FF88/Win10).
              • Esc and Enter only work when increasing the value with the mouse, not when decreasing.
              • Height issue (cut off range at the bottom)


              Best regards
              Blama


              "originally posted by Blama "

              Comment


                #8
                Hi,
                There is still an issue with SliderItem not showing current value if it is on a form which is placed on Dialog or Window.
                Have a look at the following test case: SliderItem on the form simply drawn shows current value, while that one inside Dialog not.
                Code:
                package pl.com.tech4.client;
                
                import com.google.gwt.core.client.EntryPoint;
                import com.smartgwt.client.widgets.Dialog;
                import com.smartgwt.client.widgets.form.DynamicForm;
                import com.smartgwt.client.widgets.form.fields.SliderItem;
                
                public class MainEntryPoint implements EntryPoint {
                
                    public void onModuleLoad() {
                
                        layout();
                //        SC.showConsole();
                    }
                
                    private void layout() {
                
                        DynamicForm form1 = new DynamicForm();
                        SliderItem slider1 = new SliderItem();
                        form1.setFields(slider1);
                        Dialog dialog = new Dialog();
                        dialog.setHeight(200);
                        dialog.setWidth(200);
                        dialog.addItem(form1);
                        dialog.show();
                
                        DynamicForm form2 = new DynamicForm();
                        SliderItem slider2 = new SliderItem();
                        form2.setFields(slider2);
                        form2.show();
                    }
                }
                Click image for larger version  Name:	SliderItemCurrentValue.png Views:	0 Size:	4.9 KB ID:	270502
                SmartClient Version: v13.0p_2023-07-06/LGPL Development Only (built 2023-07-06)
                Thanks,
                MichalG

                Comment


                  #9
                  Thanks for the report - we see that the value label is not properly made visible when a slider is inside a dialog.

                  It's assigned to be looked at and we'll update here shortly, when we have more information.

                  Comment


                    #10
                    This is still an open issue.
                    Thanks,
                    MichalG

                    Comment

                    Working...
                    X