Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4218471

No repaint on win32 when print dialog displayed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.1.7
    • 1.1.7
    • client-libs
    • b04
    • x86
    • windows_nt


        There is an inconsistency with the modality of print dialogs and app repainting
        between the Solaris and win32 ref ports.

        I've attached a testcase which shows this problem on 1.1.8, and 1.2.
        Run the app, scribble in the frame, right click over the frame, and select
        print. Move the dialog around to see the problem.

        On win32 you can still select the File menu, and no repaint takes place.
        On Solaris you can't select the File menu, and the is repainting.


        > A print dialog is created when a print job is obtained from the default
        > toolkit.
        > This creates the print dialog. Note in the AWTMasterPrintergraphics class in
        > the Win32 code says that the dialog is not modal - even though in Java the
        > parent has been passed in.
        >
        > In the TestCase, the PrintJob is being created when as result of an
        > ActionEvent. It is therefore being created on the EventDispatchThread, this
        > then blocks on entry to native code.

        > Under Solaris reference implementation, the print dialog has a peer
        > implementation, so it therefore has a proper modality implementation.
        >

              dmendenhsunw David Mendenhall (Inactive)
              miflemi Mick Fleming
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: