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

Toolkit.getScreenSize() does not return the correct dimension on multimon, linux

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux_redhat_9.0

      Description

      Toolkit.getScreenSize() claims that it returns the screen size of the primary monitor on multi-monitor systems. But this is not working as specified on a multi-mon setup in linux with a virtual screen setup using Xinerama. This method return the size of the virtual screen instead of the primary monitor.

      This is not reproducible on win32 with a similar virtual screen setup. This is reproducible on all releases (regressed it till 1.4).

      I have attached a sample test. Execute the sample test on linux with xinerama. If you see the size of the virtual screen being returned, the bug is reproduced.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              art Artem Ananiev
              Reporter:
              pmohansunw Praveen Mohan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: