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

HiRes displays not equally handled on linux/windows/osx

    XMLWordPrintable

Details

    • x86
    • linux

    Description

      A DESCRIPTION OF THE PROBLEM :
      Hello! If you run java on HiRes display it works correctly on windows and osx but requires additional configuration to run on linux machines, which, I assume, make is a bug. If you check this article: https://wiki.archlinux.org/index.php/HiDPI you can see java understand GDK_SCALE environment variable to scale graphics in java applications. But, same java instances works prefectly fine on windows and osx bug failed (required correctly configured GDK_SCALE variable) on linux.

      It can be handled manually, by creating java dbus client interface reader and assiging correct GDK_SCALE variable at runtime, but it feels a platform job. You can see how to work with dbus as simple python example https://gitlab.com/Oschowa/gnome-randr/blob/master/gnome-randr.py


      Attachments

        Issue Links

          Activity

            People

              kcr Kevin Rushforth
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: