-
Bug
-
Resolution: Fixed
-
P4
-
1.4.0
-
b43
-
sparc
-
solaris_9
-
Verified
I have a frame with a menu and a button. On clicking the button, I am disabling the the frame by calling frame.setEnabled(false). On win32, menu also gets disabled and not clickable after that. But on Solaris / Linux, menu is not getting disabled and the user is able to click the menu and click on any of the menuitems inside the menu. This is incorrect. Menu should be disabled when the frame itself is disabled. This is reproducible on XToolkit as well Motif.
I am able to reproduce this right from 1.4 on solaris9 (CDE) as well as Linux.
I have attached a sample test. Execute the sample test. You would see a frame with a menu and a button. Click the button. The entire frame will be disabled. Now try clicking the menu. If the menuitems drop-down, the bug is reproduced.
###@###.### 10/27/04 09:00 GMT
I am able to reproduce this right from 1.4 on solaris9 (CDE) as well as Linux.
I have attached a sample test. Execute the sample test. You would see a frame with a menu and a button. Click the button. The entire frame will be disabled. Now try clicking the menu. If the menuitems drop-down, the bug is reproduced.
###@###.### 10/27/04 09:00 GMT
- relates to
-
JDK-7144052 [macos] Menu bar of a disabled Frame is enabled and fully active
- Closed