Announcement

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

    ListGrid issue with Header after SmartGwt upgrade

    Hello,

    We are using SmartGwt 4.1p (power) and we've got a weird issue with our ListGrid after upgrading from a 2015 nightly to a 2016 nightly, here it is :

    Before upgrading our grid were like this : Click image for larger version

Name:	SmartIssue_before.png
Views:	149
Size:	7.2 KB
ID:	238407
    After upgrade our grid are now like this : Click image for larger version

Name:	SmartIssue_after.png
Views:	145
Size:	4.4 KB
ID:	238406

    As you can see the header is now "minimized" and we have to click on the little icon with 4 square in order to make header appears again.

    Do any of you if this is a desired behavior ? how can we remove this "minimize" icon ? Ideally we don't need it at all, I just want a "simple" grid ! :)

    Thank you
    Attached Files
    Last edited by Emilien; 3 Jun 2016, 05:13.

    #2
    All we can tell you is that the second rendering appears to be some kind of crash, and not a new feature.

    Beyond that, we cannot debug screenshots, so there's no way to tell whether the problem is due to a longstanding usage issue, something else changing during upgrade (eg subtly different data) or an actually framework regression.

    Take a look at the FAQ for the information you need to post to enable people to help further.

    Comment


      #3
      Hello,

      I've manage to locate where the issue is coming from; each time we call "Redraw" our headers facets are minimized.
      Here is a standalone with the issue we got with our cubeGrid and the latest version of SmartGwt power. (You have to click on the "Redraw!" button to display the issue)

      The file is a tiny maven project, I know you don't allow zip file but it's the minimal thing I can do :( please bear with me and rename this txt file to zip. (Standalone.txt => Standalone.zip)
      I've also attached the main java file as it's the most relevant.

      Would you be able to help us on that matter ?
      Attached Files
      Last edited by Emilien; 6 Jun 2016, 06:37.

      Comment


        #4
        Hello,

        Here is the single java file if needed, only missing files are smart xml/maven pom and spring conf.

        Thank you for your help.
        Attached Files

        Comment


          #5
          We ran your sample but we were unable to reproduce the issue in your screenshot.

          You may have CSS styles in your actual application that are interfering with rendering. Or, you might have a browser extension installed causing non-standard behavior.

          Comment


            #6
            Hey,

            Ok so, i've host the war i've done on a remote server : http://176.31.121.122:8080/Sandbox/ I've tested on multiple PC and multiple browser (even if Chrome is the only one I care as our users are only using this one).

            I've tried with SmartGwt power version 4.1p20141205 and 4.1p20151205 but the actual version 4.1p20160603 gives us this weird bug.

            Here is my full sandbox, minimized as tiny as possible (only 5 files), there is NO css, no browser extension (firefox and chrome are in safe mode) etc.. And everything was fine 3 months ago (2015/12 version)

            PS: As I can't upload the html file, here it is : heliosweb.html
            Code:
            <!DOCTYPE [B]html[/B]>  
             <[B]html[/B][B] [/B][B]lang=[/B][B]"en"[/B]> <[B]head[/B]>     <[B]meta[/B][B] [/B][B]http-equiv=[/B][B]"content-type" [/B][B]content=[/B][B]"text/html; charset=UTF-8"[/B]>     <[B]title[/B]>Helios Web</[B]title[/B]>     <[B]script[/B][B] [/B][B]type=[/B][B]"text/javascript"[/B]>         [B]var [/B][B][I]isomorphicDir [/I][/B]= [B]"heliosweb/sc/"[/B];     </[B]script[/B]>     <[B]script[/B][B] [/B][B]type=[/B][B]"text/javascript" [/B][B]language=[/B][B]"javascript" [/B][B]src=[/B][B]"heliosweb/heliosweb.nocache.js"[/B]></[B]script[/B]> </[B]head[/B]>  <[B]body[/B]> <[B]iframe[/B][B] [/B][B]src=[/B][B]"javascript:''" [/B][B]id=[/B][B]"__gwt_historyFrame" [/B][B]tabIndex=[/B][B]'-1' [/B][B]        [/B][B]style=[/B][B]"[/B][B]position[/B]:[B]absolute[/B];[B]width[/B]:0;[B]height[/B]:0;[B]border[/B]:0[B]"[/B]></[B]iframe[/B]>  <[B]noscript[/B]>     <[B]div[/B][B] [/B][B]style=[/B][B]"[/B][B]width[/B]: 22[B]em[/B]; [B]position[/B]: [B]absolute[/B]; [B]left[/B]: 50%; [B]margin-left[/B]: -11[B]em[/B]; [B]color[/B]: [B]red[/B]; [B]background-color[/B]: [B]white[/B]; [B]border[/B]: 1[B]px solid red[/B]; [B]padding[/B]: 4[B]px[/B]; [B]font-family[/B]: [B]sans-serif[/B][B]"[/B]>         Your web browser must have JavaScript enabled         in order for this application to display correctly.     </[B]div[/B]> </[B]noscript[/B]> </[B]body[/B]> </[B]html[/B]>
            Attached Files

            Comment


              #7
              We've made a change to address this issue. Please try the next nightly build, dated June 11.

              Regards
              Isomorphic Software

              Comment


                #8
                Ok everything is looking fine with this build, thank you.

                Comment

                Working...
                X