Announcement

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

    Tab panes always showing horizontal scrollbar after upgrade.

    Isomorphic,

    After upgrading to SmartClient Version: v12.1p_2021-10-08/Pro Deployment (built 2021-10-08), we noticed that our Tab panes will always show a horizontal scrollbar whenever a vertical scrollbar is required.

    I see a similar behavior with the following SmartGWT Showcase example.

    https://www.smartclient.com/smartgwt...ntrols_various

    You'll notice a horizontal scrollbar is displayed if a vertical scrollbar is required to show all the controls.

    Thanks.

    #2
    Isomorphic,

    We are also seeing a similar issue with the PortalLayout so it may just be an issue with layouts in general and not tabs as originally reported.

    You can see the scrollbars flicker in the following Showcase example.

    https://www.smartclient.com/smartgwt..._portal_layout

    Comment


      #3
      Thanks for the additional notification.
      We do have a developer looking at this issue and will be following up when we have a resolution

      Regards
      Isomorphic Software

      Comment


        #4
        We've made a change to address this issue. Please try the next nightly build, dated Oct 21 or above

        Regards
        Isomorphic Software

        Comment


          #5
          This has been resolved with the Oct 21 build.

          Thanks!

          Comment


            #6
            Hi Isomorphic,

            We still see flickering scrollbars occasionally with the Oct 21 build.

            You can reproduce the issue with following showcase example (using Tahoe theme).

            https://www.smartclient.com/smartgwt..._portal_layout

            It occurs when the layout is slightly too small; increasing the size usually resolves it.

            Thanks.
            Last edited by stonebranch3; 16 Nov 2021, 06:45.

            Comment


              #7
              Something went wrong with your link, but we assume you mean this one:

              https://www.smartclient.com/smartgwt.../#portalLayout

              We were unable to reproduce a flashing scrollbars issue. Please let us know what browser, OS and platform(s) you find it possible to reproduce the problem on, including at least one exact browser size (interior) where you can see the problem.

              Also make sure you aren't using browser zoom on platforms where it cannot yet be fully supported, and please review the new information on flashing scrollbars, including the new section on flashing scrollbars.

              https://www.smartclient.com/smartcli...p..browserZoom

              Note that we have no supported configuration where anyone over here can still reproduce the flashing scrollbar problem with the default level of browser size misreporting compensation.

              Comment


                #8
                Sorry, I've corrected the link in my previous post. It's a different sample.

                I see the issue with Chrome, Firefox, and Edge (all without zoom) on Windows 10.

                Thanks.




                Comment


                  #9
                  Hi Isomorphic,

                  I can see it here as well (v12.1p_2021-11-13, link from #6) as well. FF 94.0.1, Edge 95, no browser zoom. Win 10, 3840x2160 resolution, 250% system zoom. But also happening with 100% system zoom.

                  Best regards
                  Blama
                  Last edited by Blama; 16 Nov 2021, 10:27.

                  Comment


                    #10
                    Video:
                    Click image for larger version  Name:	Flickering.gif Views:	0 Size:	76.0 KB ID:	266856

                    Comment


                      #11
                      We weren't accounting for the padding in a portlet body (which is a Layout). This will be fixed in all branches that are still built on a regular basis. In the case of SC/SGWT 12.1, the nightly builds dated 2021-11-20 and beyond should have the fix.

                      Comment


                        #12
                        The Portlet issue is resolved; however, I have a similar issue with Tab panes.

                        You can reproduce the issue with the following sample code:

                        Code:
                         public void onModuleLoad() {
                                final Label welcomeLabel = new Label();
                                welcomeLabel.setContents("Welcome to the application");
                                welcomeLabel.setWidth100();
                                welcomeLabel.setAlign(Alignment.CENTER);
                        
                                final VLayout welcomePane = new VLayout();
                                welcomePane.setPadding(5);
                                welcomePane.setMembersMargin(10);
                                welcomePane.addMember(welcomeLabel);
                        
                                final TabSet tabSet = new TabSet();
                                tabSet.setWidth(400);
                                tabSet.setHeight(140);
                        
                                final Tab tabWelcome = new Tab();
                                tabWelcome.setTitle("Welcome");
                                tabWelcome.setPane(welcomePane);
                        
                                tabSet.setTabs(tabWelcome);
                                tabSet.draw();
                            }
                        This can also be reproduced with any Showcase sample by just reducing the browser height to the point at which a vertical scrollbar is required for the tab pane.

                        Thanks.

                        Comment


                          #13
                          We've reproduced the problem you mention and are working on a solution.

                          Comment


                            #14
                            We've applied a fix for the oscillation back to SGWT 6.0p/SC 11.0p, which should be in the next nightly build dated 2021-12-02.

                            Comment


                              #15
                              This is now resolved. Thanks!

                              Comment

                              Working...
                              X