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

EmbeddedFrame returns wrong GraphicsConfiguration on multiscreen system

XMLWordPrintable

    • b75
    • x86
    • linux

      With two screen devices, first is primary, EmbeddedFrame returns GraphicsConfiguration
      for the first one even if it's located in the bouds of the second.
      To reproduce run tes/java/awt/TrayIcon/TrayIconTest.java. Add a tray icon to the taskbar.
      Move the taskbar to the second screen device. Try to display a message for the tray icon.
      It won't be shown as the tray icon's location is in the coordinates of the second screen
      whereas the bounds rectangle (GraphicsConfiguration.getBounds) is returned for the first
      screen (the GraphicsConfiguration is taken from the EmbeddedFrame the tray icon is shown on).
      So, the tray icon thinks it's out of bounds and doesn't display a message.
      Bugs have numbers 325217 in GNOME bugs database (http://bugzilla.gnome.org/show_bug.cgi?id=325217) and 119179 in KDE bugs database (http://bugs.kde.org/show_bug.cgi?id=119179).

            art Artem Ananiev (Inactive)
            ant Anton Tarasov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: