Announcement

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

    Window with shadow: unwanted scrollbars appear in container

    In 8.2, when dragging a window with shadows, the shadow size was respected when the window hit the boundaries of its container.
    In 8.3, the size calculation seems to have changed: now an unwanted scroll bar appears in the container.

    Steps to reproduce:
    - Run the test case in 8.2, drag the window to the bottom right corner of the viewport. Window will stay in the viewport, including shadow.
    - Run the test case in 8.2, drag the window to the bottom right corner of the viewport. Flickering scrollbars appear.

    Code:
    isc.defineClass("HelpCanvas", "Canvas").addProperties({
        autoDraw: false,
        defaultWidth: 300,
        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.Window.create({
        title: "Severity Levels",
        autoSize: true,
        canDragReposition: true,
        canDragResize: true,
        dragAppearance: "target",
        showShadow: true,
        items: [
            isc.HelpCanvas.create()
        ]
    });

    #2
    Please indicate your exact version, the skin your are using, and the browser(s) tested.

    If you aren't testing with the latest patched build, please test with the latest patched build.

    If this problem is specific to FF18, please update to FF19. FF18 was irretrievably broken (native sizing bugs).

    Comment


      #3
      I tested against the latest nightly build (v83p_2013-02-21). The issue is present in the feature explorer of that build, enterprise skin. The issue is browser-independent: I tested with FF 10 ESR, FF19, Chromium 26, and all browsers show the same behavior.
      The issue is not present in v82p_2013-02-21.

      Btw, the build of v82p_2013-02-22 is somewhat broken; the file isomorphic/locales/frameworkMessages.properties has syntax errors, just search for "if()".

      Comment


        #4
        Still checking on this shadow/scrollbar issue, but the i18n syntax error is fixed.

        Comment


          #5
          Your issue with shadows and scrollbars couldn't be reproduced with your sample code, but we were able to reproduce something similar with different code, which we believe will resolve your issue. Please try the next nightly build.

          Comment


            #6
            Thanks, I can confirm the issue has been fixed.

            Comment

            Working...
            X