JDK-4253607 : Serious Crash bug in input method controll (win95/98)
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt:i18n
  • Affected Version: 1.2.0
  • Priority: P2
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: windows_95
  • CPU: x86
  • Submitted: 1999-07-13
  • Updated: 1999-09-29
  • Resolved: 1999-09-29
Related Reports
Relates :  
Relates :  
Description

Name: clC74495			Date: 07/13/99


Windows95 crashes when I click the ATOK palette(IME-UI) after 
Modal dialog closed.(ATOK is the best-seller IME in Japan)

1) Run the SwingSet demo by JAVAW.EXE.
2) Close all other windows.(MS-DOS prompt, Explorer, etc.)
3) Open the JFileChooser Dialog and close.
4) Click the ATOK-Palette and windows desktop.
5) Windows95 will hang up.

MS-IME palette does not crash the Windows, but the MOJI-PAD tool
can not be used after any modal dialogs are closed.

I think the IME-Palette which I can click on the desktop after
the modal dialog closed has some wrong pointer to its parent
(owner) window. When the palette clicked, it goes to activate
its parent window by the wrong pointer, then windows will crash.

It's a serious problem for all Japanese users...
(Review ID: 85499) 
======================================================================

Comments
EVALUATION This is reproducible using ATOK12 under Japanese Windows 98. The system becomes a "busy" state to be waiting for a dialog to be displayed. (This is not reproducible on Japanese Windows NT.) Probably the modal dialog is holding some system resources even after closing it. masayoshi.okutsu@Eng 1999-07-18 After closing the model dialog, a swing component begins to lose focus when clicking an IM control panel. Before launching the model dialog, this doesn't happen. This problem might be related to 4253775. masayoshi.okutsu@Eng 1999-08-16 This problem cannot be reproducible after I integrated a fix for 4254537. I investigated and found that a part of that fix could avoid the problem: MsgRouting AwtComponent::WmImeSetContext(BOOL fSet, LPARAM *lplParam) { + // This message causes native status window shown even it is disabled. So don't + // let DefWindowProc process this message if this IMC is disabled. + HIMC hIMC = ImmGetContext(m_hwnd); + if (hIMC == NULL) { + return mrConsume; + } if (fSet) { LPARAM lParam = *lplParam; I am not sure why this piece of code affects the behavior, so I will close this problem as unreproducible, not fixed. The fix will be in the next I-build, so if you can reproduce the problem in that build, please reopen this bug. naoto.satoh@eng 1999-09-29 I build has just been promoted and confirmed that this problem does not happen in that build. naoto.satoh@eng 1999-09-29 ================================================================================ Justsystem tried Kestrel-build-J and K. OS(Win95) has not hung up, however the Java application on VM has been still terminated. Reproduction) (1) Go to the demo\jfc\Swingset directory. (2) Type "javaw -jar Swingset.jar"(Run Swingset demo) -> SwingSet will window show up (3) Open some modal dialogues and close it (I opended the JfileChooser included in SwingSet) (3) Click the MS-IME Palette with the left button of mouse. -> SwingSet window will be released from "focus" (4) Shift + alt -> Then the SwingSet window will disappear. This issue happens on the PC that includes both Atok12 and Japanese MS-IME97(or MS-IME98) under Win95/98 ? Under WinNT4.0, this issue did not happen. ( Atok12 is the Japanese IME developed by Justsystem.) And under Win98, I found similar issues filed in the bugtraq. (bugid: 4103252 and 4177508) I wonder if these two bugs are associated with this issue ? tbaba@japan 1999-10-19 ================================================================================
19-10-1999

WORK AROUND Name: clC74495 Date: 07/13/99 none ====================================================================== Launch the ATOK-palette before starting SwingSet. This is not very convenient, but it is usable. masayoshi.okutsu@Eng 1999-07-18 Use Cntl+F11 to launch ATOK-palette. masayoshi.okutsu@Eng 1999-08-16
18-07-1999