<AWT Dev> RFR: 8221082 Unexpected working behavior when using AIX's dtwm/mwm

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Thu May 2 01:09:00 UTC 2019

Hi, Ichiroh.
On 25/04/2019 04:08, Ichiroh Takiguchi wrote:
> dtwm (CDE's window manager) and mwm (motif window manager) cannot handle non focusable window properly.
> (Java cannot control input focus via WM_TAKE_FOCUS)
> I found the fix against dtwm/mwm on AIX platform, but it did not work on Linux's mwm.

Can you please clarify why it doesn't work on Linux? It would be better to minimize platforms specific code.

I guess that the problem is that the non-focused window is looking like the focused, but in fact, it is still unfocused and none of its children can be focused as well? Otherwise, I think some of the tck tests could fail. If that's correct it is unclear if this problem is important and should we as a fix inject more platform-specific code to the XPeers. Since the CDE is unsupported by AWT for a more than 10 years I think the issues are not critical.

Best regards, Sergey.

More information about the awt-dev mailing list