JDK-6514588 : Java Icon in TaskBar resizes randomly when MultiLevel SubMenus, Nested menus are dropped down.
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: linux_suse_sles_10
  • CPU: x86
  • Submitted: 2007-01-18
  • Updated: 2014-03-12
  • Resolved: 2014-03-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8-poolResolved
Related Reports
Relates :  
Description
Java Icon in TaskBar resizes randomly when MultiLevel SubMenus, Nested menus are dropped down.

This is observed on systems with Linux OS only.
1)Compile the attached test and execute with pit build for jdk7.0 build 07.
2) Resize the frame to a small size and 
3)place it in the right corner of the screen. (The bug is more prominent with these steps) 
4)No Click on BuggyMenu2/Buggmenu3 and then click on the sub menus. Make sure that the drop down and the submenus span outside the frame. 
5)Keep moving the mouse up and down in the dropdown, submenus/nested menus. 
Observe the taskbar while doing this.
The Java icon seems to "toggle" to a different size every time you entere or exit the sub menus. 
I tried this in JDS Cinnabar, SuSe10. I could reproduce this on RHEL AS release 4.

Comments
This issue is WM-specific. Also, it only causes a brief visual "artifact" which doesn't affect the functionality or causes any data loss. Hence I reduce the priority.
25-07-2013

EVALUATION This issue is specific to GNOME desktop and not reproducible with KDE. It is a regression of AWT fix when OVERRIDE_REDIRECT flag was removed from Window instances by default. I have also noticed that AWT menus and some other components still use this flag. So I think this bug should be considered as a request for API for Swing (and probably other developers) to make their windows (menus, popups, tooltips, etc.) OVERRIDE_REDIRECT.
23-01-2007