Announcement

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

    DateChooser sometimes doesn't shows Today/Cancel buttons

    SmartClient Version: v9.1p_2014-08-27/PowerEdition Development Only (built 2014-08-27)

    tested with safari, Firefox 31 & 32, chrome 37.0.2062.94 on MAC OSX

    in a *just refreshed* showcase please modify the #sectionsExpandCollapse sample like this:
    Code:
    isc.DynamicForm.create({
        ID: "theForm", height:30,
        fields: [
            {name: "aDate", type: "date", useTextField: true}
        ]
    })
    isc.VLayout.create({
        ID: "paneLayout",
        members: [theForm]
    })
    
    isc.HTMLFlow.create({
        ID: "htmlFlow",
        overflow: "auto",
        padding: 10,
        contents: "<b>Severity 1</b> - Critical problem<br>System is unavailable in production or " +
            "is corrupting data, and the error severely impacts the user's operations." +
            "<br><br><b>Severity 2</b> - Major problem<br>An important function of the system " +
            "is not available in production, and the user's operations are restricted." +
            "<br><br><b>Severity 3</b> - Minor problem<br>Inability to use a function of the " +
            "system occurs, but it does not seriously affect the user's operations."
    })
    
    isc.SectionStack.create({
        ID: "sectionStack",
        visibilityMode: "multiple",
        width: 300, height: "100%",
        border: "1px solid blue",
        sections: [
            {title: "Blue Pawn", expanded: true, items: [
                isc.Img.create({autoDraw: false, width: 48, height: 48, src: "pieces/48/pawn_blue.png"})
            ]},
            {title: "HTMLFlow", expanded: true, canCollapse: true, items: [ htmlFlow ]},
            {title: "Green Cube", expanded: true, canCollapse: false, 
                items: [
                    isc.TabSet.create({
                        ID: "tabSet", 
                        height:65,
                        tabs: [
                            {title: "tab", pane: paneLayout}
                        ]
                    })
                ]
            }
        ]
    });
    
    isc.VLayout.create({
        ID: "wLayout",
        height: "100%",
        members: [sectionStack]
    })
    and then click the 'show date chooser' icon, you'll see that the 'footer' of the DateChooser doesn't show

    #2
    This has been fixed for builds dated September 30 and later

    Comment


      #3
      SmartClient Version: v9.1p_2014-10-01/PowerEdition Deployment (built 2014-10-01)

      SmartClient Version: v10.0p_2014-09-30/EVAL Development Only (expires 2014.11.29_06.38.33) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)

      Thanks, it's much better - the today/cancel buttons are shown.

      But the footer of the date chooser isn't completely shown, it lacks 4 pixel at the bottom.

      Sorry for being fussy, but this is causing a visual glitch in my (more complicated) layout (it causes browser's scrollbar to appear).

      Comment


        #4
        If you need us to fix a more complicated sample, then please demonstrate it with code.

        Comment


          #5
          Never mind - we found the issue and it's been fixed for builds dated October 3 and later.

          Comment


            #6
            thanks...actually while I was trying to make up a test case, I found that the problem in my application vanishes if I remove this tag from <HEAD> (it was after the isomorphic:loadISC tag):
            Code:
                <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBRhMa4VFciRmZYzJPyzHQH3I7If-2qMJw&sensor=false&libraries=places"
                        type="text/javascript"/>
            which by the way was an experiment and we don't use it.
            The problem also vanishes if I load it at the bottom of the <body>.

            Anyway I'll test it with the script in the <HEAD> and the patch, to see if it solves the problem.

            Comment


              #7
              SmartClient Version: v10.0p_2014-10-06/EVAL Deployment (expires 2014.12.05_04.48.46) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)

              SmartClient Version: v9.1p_2014-10-05/PowerEdition Deployment (built 2014-10-05)

              I can confirm it's fixed, even with the maps.googleapis script in the <head>.
              Thank you very much.

              Comment


                #8
                SmartClient Version: SNAPSHOT_v10.1p_2015-12-10/Enterprise Development Only (built 2015-12-10)

                Chrome on OSX

                Hello, with 10.1, if you try this old test case, it works.
                But if, after trying it, you modify the type of the 'aDate' item from "date" to "datetime" you'll see this visual glitch:
                Click image for larger version

Name:	IMG_2015-12-14 11:10:46.jpg
Views:	66
Size:	44.9 KB
ID:	233343

                then if you switch back its type to "date", you'll see this:

                Click image for larger version

Name:	814726069_3561855329425921074.jpg
Views:	71
Size:	44.3 KB
ID:	233344

                You'll see those only the first time you open the DateChooser.
                Attached Files

                Comment


                  #9
                  We've made a change to address this issue. Please try the next nightly build, dated January 13.

                  Regards
                  Isomorphic Software

                  Comment


                    #10
                    SmartClient Version: v10.1p_2016-01-27/Enterprise Development Only (built 2016-01-27)

                    verified, thank you very much.

                    Comment


                      #11
                      SmartClient Version: SNAPSHOT_v11.1d_2017-03-02/Enterprise Development Only (built 2017-03-02)

                      Chrome on OSX

                      Hello, it seems that there's a similar problem with the latest build.
                      Please try the #variousControls sample:
                      - open the DateChooser for the 'Relative Date' item: it will displayed correctly (see first attachment)

                      Click image for larger version

Name:	429802724_9669980359982697468.jpg
Views:	142
Size:	191.1 KB
ID:	243154

                      - then go to April, the height of the DateChooser will augment, and the buttons won't be visible (see 2nd attachment).

                      Click image for larger version

Name:	426121967_7042232093727669777.jpg
Views:	143
Size:	186.0 KB
ID:	243155

                      Comment


                        #12
                        Also, please note that the picker icons for Hour and Min are missing.

                        Comment


                          #13
                          The DateChooser issue is fixed for builds dated March 11 and later. We'll look at the SelectItem sprites separately. Your images are from the Enterprise skin, right?

                          Comment


                            #14
                            Originally posted by Isomorphic View Post
                            Your images are from the Enterprise skin, right?
                            Graphite skin

                            Comment


                              #15
                              Originally posted by Isomorphic View Post
                              The DateChooser issue is fixed for builds dated March 11 and later.
                              SmartClient Version: SNAPSHOT_v11.1d_2017-03-13/AllModules Development Only (built 2017-03-13)
                              I can confirm it's fixed, thank you very much.

                              Comment

                              Working...
                              X