IBM Support

IZ03566: MOVING APPLET WINDOW MAKES IT MAXIMIZE WHEN BUTTON RELEASED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: N/A
    .
    When we move that window across and down the screen with a mouse
    drag then release it, the window will maximize covering the
    complete screen.
    This occurs on Sles 10 and also on an internal IBM platform
    based on Sles 10.
    

Local fix

  • N/A
    

Problem summary

  • Applet window maximizes when moved with mouse on LinuxIA32 Sles
    10
    

Problem conclusion

  • This defect will be fixed in:
    5.0.0 SR6
    .
    By setting lastWindowRef to null in
    XWindow.java:handleMotionNotify() (if mouse had been moving)we
    could avoid extra MouseClickEvent if we had dragged the mouse
    between MousePress and MouseRelease.
    Our XWindow.java code lack multiclick handling. So, when user
    drags mouse on the screen on Linux box  this leads to delivering
    double clicks when user expects single clicks and single click
    when user expects  no clicks at all. To fix this we introduced
    AWT_MULTICLICK_SMUDGE variable to describe an area (actually
    this is a rectangle) where mouse moves with holding mouse button
    treated as non_dragging moves  (in this case we suppose that
    user just want to click multiple times). If user moved mouse a
    lot and leaves  the  SMUDGE_AREA we change our local variables
    and supress an additional MOUSE_CLICK generation ( we suppose
    that user started dragging ).
    .
    To obtain the fix:
    Install build 20070908 or later
    

Temporary fix

  • The problem can be solved by setting DefaultLookAndFeelDecorated
    to true.This is just a workaround.
    

Comments

APAR Information

  • APAR number

    IZ03566

  • Reported component name

    JAVA 5 CLASS LI

  • Reported component ID

    620500130

  • Reported release

    500

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-08-27

  • Closed date

    2007-09-07

  • Last modified date

    2007-09-07

  • 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 5 CLASS LI

  • Fixed component ID

    620500130

Applicable component levels

  • R500 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
07 September 2007