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

HiDPI (Windows): Swing components have incorrect sizes after changing display resolution

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:

      Backports

        Description

        OS: Windows 8 + HiDPI display, JDK9 b100

        Please run any swing application and switch display resolution (high -> low -> high). The components have invalid size.

          Issue Links

            Activity

            Hide
            avstepan Alexander Stepanov (Inactive) added a comment -
            probably(?) the issue is also highly visible when working with projector
            Show
            avstepan Alexander Stepanov (Inactive) added a comment - probably(?) the issue is also highly visible when working with projector
            Hide
            alexsch Alexander Scherbatiy (Inactive) added a comment - - edited
            See also
            JDK-8147566 [hidpi] invalid repaint when moving test app from one display to another
            JDK-8147016 [hidpi] invalid repaint for multiresolution image when switching display resolution (Windows)
            Show
            alexsch Alexander Scherbatiy (Inactive) added a comment - - edited See also JDK-8147566 [hidpi] invalid repaint when moving test app from one display to another JDK-8147016 [hidpi] invalid repaint for multiresolution image when switching display resolution (Windows)
            Show
            alexsch Alexander Scherbatiy (Inactive) added a comment - The proposed fix: http://cr.openjdk.java.net/~alexsch/8147440/webrev.02/ The review thread: http://mail.openjdk.java.net/pipermail/awt-dev/2017-February/012563.html
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/client/jdk/rev/b0671742f122
            User: alexsch
            Date: 2017-02-08 15:10:27 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/client/jdk/rev/b0671742f122 User: alexsch Date: 2017-02-08 15:10:27 +0000
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/b0671742f122
            User: lana
            Date: 2017-02-22 18:30:12 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/b0671742f122 User: lana Date: 2017-02-22 18:30:12 +0000

              People

              • Assignee:
                alexsch Alexander Scherbatiy (Inactive)
                Reporter:
                avstepan Alexander Stepanov (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: