#5187 Public chest window flashes when a creature is killed

Client (147)

See summary. This happens only for the player who gets the auto opened corpse window


  • Kimmo Rundelin

    Kimmo Rundelin - 2011-05-16

    The guilty party seems to be Component.setComponentZOrder() (eventually called from JLayeredPane.moveToFront()), which for some reason results in the said flicker when called with non-zero z-order. I have no idea why it happens only when auto inspecting.

    It can be reproduced with just corpse windows too (move them so that they do not get opened on top of each other); but again only when a window is raised as a result of autoinspect.

    InternalManagedWindow.raise() would be flicker free if it called setComponentZOrder(this, 0), but this would cause container windows being drawn above the quit dialog.

    One possibility for a fix would be using a regular modal dialog for quiting. I think the dialog is the only reason the client uses a layered pane to contain the game screen.

  • Kimmo Rundelin

    Kimmo Rundelin - 2012-10-12

    OK, thanks for the error report.
    Problem is now fixed in CVS.

  • Kimmo Rundelin

    Kimmo Rundelin - 2012-10-12
    • assigned_to: nobody --> kiheru
    • status: open --> closed-fixed


Cancel  Add attachments