-
Bug
-
Resolution: Fixed
-
P3
-
6
-
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).
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).
- relates to
-
JDK-6349480 TrayIcon.displayMessage works incorrectly when the task bar is temporarily hidden, XToolkit
- Closed