IBM Support

IV62950: FOCUS GOES TO GRANDPARENT WHEN MODAL JDIALOG DISPOSE ON JDIALOG

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: When a Modal dialog with the parental chain as
    below is disposed, focus goes to grand-parentgrand-parent :
    JFrame with JTextField (say T1).parent : JDialog (with parent as
    JFrame) created from keyEvent on T1. This JDialog also has a
    JTextField (say T2)child : Modal Dialog (with parent as JDialog)
    created from keyEvent on T2.After child i.e., Modal Dialog
    disposes, expected behaviour is to set the focus back to the T2
    on parent (JDialog). However, focus goes to T1 on grand-parent.
    .
    Stack Trace: N/A
    .
    The issue happen with "XFCE4" window manager.
    

Local fix

Problem summary

  • The problem is caused when the conflicting Xwindow ATOM
    _NET_WM_STATE_SKIP_TASKBAR and _NET_WM_WINDOW_TYPE_DIALOG being
    set on JDialog. WindowManager specification says
    "_NET_WM_STATE_SKIP_TASKBAR" should not be set if
    _NET_WM_WINDOW_TYPE conveys same message".
    

Problem conclusion

  • Swing code has been corrected to remove the Xwindow ATOM
    "_NET_WM_STATE_SKIP_TASKBAR"
    .
    This APAR will be fixed in the following Java Releases:
       7    SR8       (7.0.8.0)
       7 R1 SR2       (7.1.2.0)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, Java maintenance is available
    from:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV62950

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-07-25

  • Closed date

    2014-09-24

  • Last modified date

    2014-09-24

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
21 February 2022