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

PlainView.modelToView() method should return Rectangle2D

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • 9
    • 9
    • client-libs

    Description

      The text position can have floating point value on HiDPI display.

      The PlainView.modelToView() uses Utilities.getTabbedTextWidth(s, metrics, tabBase, this,p0) method to calculate the text width.

      It should be changed to the same method with floating point arguments introduced by the fix JDK-8156217 Selected text is shifted on HiDPI display and return Rectangle2D.

      Attachments

        Issue Links

          Activity

            People

              alexsch Alexandr Scherbatiy
              alexsch Alexandr Scherbatiy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: