Win32: assertion failure when disposing hidden Dialog

XMLWordPrintable

    • 1.2fcs
    • x86
    • windows_nt
    • Not verified

      Component.removeNotify unconditionally hides the peer object before calling
      dispose() on it. In the case of a modal dialog which has already been hidden,
      this can cause an assertion failure under java_g int AwtDialog::WmEndModal.

          ASSERT( ::IsWindowVisible( GetHWnd() ) );

      Instead of unconditionally hiding the Dialog, Component.removeNotify should
      test the Dialog's "visible" flag before calling peer.hide().

            Assignee:
            David Mendenhall (Inactive)
            Reporter:
            David Mendenhall (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: