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

Html content in JEditorPane is overlapping on swing components while resizing the application.

    Details

    • Subcomponent:
    • Introduced In Build:
      b20
    • Introduced In Version:
      7
    • Resolved In Build:
      b134
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      Html content in JEditorPane is rendering on swing components while resizing the window.
      I have observed this odd behavior while reducing the size of the application that contains a EditorPane,Button and ScrollPane.

      Please run the attached java file to reproduce the issue.

      1. Launch the application.
      2. Reduce the size of application by using mouse.

      Now you can see the html content is rendering on top of the swing component.

      Please check the attached screen shots(image1.png and image2.png) for reference.

      JDK Version
      ===========
      java version "1.7.0-ea"
      Java(TM) SE Runtime Environment (build 1.7.0-ea-b43)
      Java HotSpot(TM) Client VM (build 14.0-b10, mixed mode)


      I have checked in the following OS's.

      Win vista sp1

      Solaris 10 x86.

        Issue Links

          Activity

          Hide
          alexp Alexander Potochkin (Inactive) added a comment -
          BT2:EVALUATION

          I ask our AWT guys for initial evaluation here,
          sinse they are experts in Vista-specific bugs
          Show
          alexp Alexander Potochkin (Inactive) added a comment - BT2:EVALUATION I ask our AWT guys for initial evaluation here, sinse they are experts in Vista-specific bugs
          Hide
          dcherepanov Dmitry Cherepanov added a comment -
          BT2:EVALUATION

          This is not a Vista-specific issue, it's easily reproducible on Solaris as well. The bug is a regression introduced in jdk7 b20. There are no changes from AWT team integrated in b20 but there are a lot of bugs fixed by Swing/2d team in b20, reassigning to Swing team for further evaluation.
          Show
          dcherepanov Dmitry Cherepanov added a comment - BT2:EVALUATION This is not a Vista-specific issue, it's easily reproducible on Solaris as well. The bug is a regression introduced in jdk7 b20. There are no changes from AWT team integrated in b20 but there are a lot of bugs fixed by Swing/2d team in b20, reassigning to Swing team for further evaluation.
          Hide
          alexp Alexander Potochkin (Inactive) added a comment -
          BT2:EVALUATION

          I finally reproduced this bug on JDK 7.
          In 7b20 there were plenty of html related fixes,
          so I assign this bug to the text team
          Show
          alexp Alexander Potochkin (Inactive) added a comment - BT2:EVALUATION I finally reproduced this bug on JDK 7. In 7b20 there were plenty of html related fixes, so I assign this bug to the text team
          Hide
          rupashka Pavel Porvatov added a comment -
          BT2:EVALUATION

          It's a regression from CR 4419748. The problem is in the CSSBorder#paintBorder, which ignores clip area while painting.
          Show
          rupashka Pavel Porvatov added a comment - BT2:EVALUATION It's a regression from CR 4419748. The problem is in the CSSBorder#paintBorder, which ignores clip area while painting.

            People

            • Assignee:
              rupashka Pavel Porvatov
              Reporter:
              vthotasunw Vinay Thota (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: