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

Incorrect operation of a two monitor configuration

    Details

      Description

      FULL PRODUCT VERSION :
      1.7.0_09

      ADDITIONAL OS VERSION INFORMATION :
      Fedora 17
      Linux slt 3.3.6-4.aq.fc16.R.i686 #1 SMP Thu May 24 11:12:33 NOVT 2012 i686 i686 i386 GNU/Linux


      EXTRA RELEVANT SYSTEM CONFIGURATION :
      When an error is present:
      VGA-1 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 338mm x 270mm
      HDMI-1 connected 1280x1024+1280+0 (normal left inverted right x axis y axis) 433mm x 271mm

      When everything is working:
      VGA-1 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 338mm x 270mm
      HDMI-1 connected 1680x1050+1280+0 (normal left inverted right x axis y axis) 433mm x 271mm

      A DESCRIPTION OF THE PROBLEM :
      have two of the monitor configuration:

      12:12:12,527 INFO default screen device: :0.0
      12:12:12,527 INFO Number of monitors: 2
      12:12:12,527 INFO Info 0
      12:12:12,527 INFO id: :0.0
      12:12:12,527 INFO memory available, Mb: 0
      12:12:12,527 INFO bounds: java.awt.Rectangle[x=0,y=0,width=1280,height=1024]
      12:12:12,532 INFO Current display mode
      12:12:12,533 INFO depth: -1
      12:12:12,533 INFO refresh rate: 0
      12:12:12,533 INFO Info 1
      12:12:12,533 INFO id: :0.1
      12:12:12,533 INFO memory available, Mb: 0
      12:12:12,533 INFO bounds: java.awt.Rectangle[x=1280,y=0,width=1280,height=1024]
      12:12:12,533 INFO Current display mode
      12:12:12,533 INFO depth: -1
      12:12:12,533 INFO refresh rate: 0

      ....
      GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
      GraphicsDevice[] gs = ge.getScreenDevices();
      frame = new BaseFrame(gs[0].getDefaultConfiguration());


      ----

      The problem is that if the resolution of both displays the same - the frame is always open on the second display. If I change the resolution on the second display - frame opens on the first display




      REGRESSION. Last worked in version 7


      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
      GraphicsDevice[] gs = ge.getScreenDevices();
      frame = new BaseFrame(gs[0].getDefaultConfiguration());

      ---------- END SOURCE ----------

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: