JDK-6262392 : Problem with dismissing dialogs on CDE with XToolkit
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6,6u7,6u17
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic,solaris,solaris_10
  • CPU: generic,sparc
  • Submitted: 2005-04-27
  • Updated: 2011-02-16
  • Resolved: 2009-11-10
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Description
In SwingSet demo,  if you popup a dialog and
then dismiss it, a different window other than the parent
gets raised. This seems to happen only with XAWT and only
under CDE, it does not happen under metacity on Linux.
This does not happen with Tiger, it only happens with Mustang.
###@###.### 2005-04-27 19:50:47 GMT

Comments
EVALUATION Not the change that we can do in Mustang. There is also a problem with modal dialogs, which require inputFocus=false and WM_TAKE_FOCUS.
27-09-2005

EVALUATION If I only set inputFocus to true and leave WM_TAKE_FOCUS dialog recieves focus all the time so perhaps this is a solution. More detailed investigation is necessary.
22-07-2005

EVALUATION The problem is in focus policy we use (WM_TAKE_FOCUS, inputFocus:false). It seems that DTWM searches for the next focused window excluding those which have such a policy set. If I remove WM_TAKE_FOCUS and set inputFocus to true problem disappears. However, another problems appears - dialog doesn't receive focus sometimes.
22-07-2005

EVALUATION Still reproducible in Mustang b43 (XAWT, CDE, SwingSet2)
22-07-2005