← Back to team overview

openjdk team mailing list archive

[Bug 1765914] [NEW] Java windows and fonts are huge running in openjdk-11-jre

 

Public bug reported:

If I run a Java application with oracle-java-8, the windows and fonts
are all normal size. When I run the same application with
openjdk-11-jre, everything is scaled up to double size (see attached
image, which shows an application on the left running in Java 8 and the
same application on the right running in Java 10 (from the package
openjdk-11, not openjdk-10 for some reason).

My normal screen layout is 1920x1080 with two screens, so the command
"xrandr -q | awk -F'current' -F',' 'NR==1 {gsub("( |current)","");print
$2}'" shows 1920x2160.

One of the screens is 4K, so presumably Java *might* be detecting this
and deciding it needs to double everything in size, but this is clearly
an error since I'm not even using this mode.

If I set the laptop to use a single external 1920x1080 monitor, it makes
no difference - the Java applications are still double the size that
they should be.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: openjdk-11-jre 10.0.1+10-1ubuntu2
Uname: Linux 4.17.0-041700rc1-generic x86_64
ApportVersion: 2.20.9-0ubuntu6
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sat Apr 21 14:12:39 2018
InstallationDate: Installed on 2017-08-16 (247 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
SourcePackage: openjdk-lts
UpgradeStatus: Upgraded to bionic on 2017-11-17 (154 days ago)

** Affects: openjdk-lts (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic

** Attachment added: "Side-by-side comparison of GUI windows"
   https://bugs.launchpad.net/bugs/1765914/+attachment/5124801/+files/java%20GUI.png

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-lts in Ubuntu.
https://bugs.launchpad.net/bugs/1765914

Title:
  Java windows and fonts are huge running in openjdk-11-jre

Status in openjdk-lts package in Ubuntu:
  New

Bug description:
  If I run a Java application with oracle-java-8, the windows and fonts
  are all normal size. When I run the same application with
  openjdk-11-jre, everything is scaled up to double size (see attached
  image, which shows an application on the left running in Java 8 and
  the same application on the right running in Java 10 (from the package
  openjdk-11, not openjdk-10 for some reason).

  My normal screen layout is 1920x1080 with two screens, so the command
  "xrandr -q | awk -F'current' -F',' 'NR==1 {gsub("(
  |current)","");print $2}'" shows 1920x2160.

  One of the screens is 4K, so presumably Java *might* be detecting this
  and deciding it needs to double everything in size, but this is
  clearly an error since I'm not even using this mode.

  If I set the laptop to use a single external 1920x1080 monitor, it
  makes no difference - the Java applications are still double the size
  that they should be.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: openjdk-11-jre 10.0.1+10-1ubuntu2
  Uname: Linux 4.17.0-041700rc1-generic x86_64
  ApportVersion: 2.20.9-0ubuntu6
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Apr 21 14:12:39 2018
  InstallationDate: Installed on 2017-08-16 (247 days ago)
  InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
  SourcePackage: openjdk-lts
  UpgradeStatus: Upgraded to bionic on 2017-11-17 (154 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1765914/+subscriptions


Follow ups