Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8182629

WebView: Pie charts render in upper left corner, only one quarter shows

    Details

    • Subcomponent:
      web
    • Introduced In Version:
    • CPU:
      x86
    • OS:
      other

      Description

      FULL PRODUCT VERSION :
      Reproduces with 1.8.0_131 and 1.9 ea.

      ADDITIONAL OS VERSION INFORMATION :
      This does not appear to be platform dependent. This is reproducible on Windows, Linux, Mac, etc.

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Access to the Internet.

      A DESCRIPTION OF THE PROBLEM :
      While using JavaFX's WebView, ExtJS Pie charts are working fine in 1.8.0_101, 1.8.0_111, and 1.8.0_121, but don't render properly with 1.8.0_131 or 1.9 ea.

      The problem looks the similar to "chart pie origin problem" at https://forums/adobe.com/thread/1272912. However, unlike in this report, the problem DOES NOT also manifest in Chrome and Safari, it only manifests in WebView.

      When rendered incorrectly, the pie chart is centered at the upper left of whatever view it currently lives in, thus only presenting one quarter of the circle. (Same presentation as link above.)

      (Reporter documentation: 247432)

      REGRESSION. Last worked in version 8u121

      ADDITIONAL REGRESSION INFORMATION:
      This problem occurs across all platforms. However, here is what I am running on Linux:
      java version "1.8.0_101"
      Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
      Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Because ExtJS is license, I cannot share the code - directly. However, I can point you to the resource on the web.

      1. Launch an example WebView application using 1.8.0_131 (or a newer 1.9 ea).
      2. Goto https://fiddle.secha.com
      3. In the extreme left click on the magnifying glass labeled search.
      4. Type "pie chart" in the Title field.
      5. Click "Search" at the bottom of the fields.
      6. You can select any pie chart example, but I am reporting the two by author "westoncerny", currently 6th and 7th from the top.
      7. Notice in the preview that the pie chart renders in the upper left with only one quarter showing.
      8. Switch to any other browser and redo steps 2-6.
      9. Notice that the pie chart renders correctly.
      10. Switch to Java 1.8.0_121 and redo steps 2-6.
      11. Notice that the pie chart renders correctly.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      As above in reproduction steps, we expect the pie chart to render correctly in step 7.
      ACTUAL -
      As above in reproduction steps, we see the pie chart is rendered off in a corner in step 7. It should be rendered the same as in steps 9 and 11.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      Any WebView example with a url input will do.
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      No workaround discovered.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ghb Guru Hb
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: