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

buttons are not repainted when an overlapping window is removed

    XMLWordPrintable

Details

    • x86
    • windows_nt

    Description

      We have some image buttons implemented as Canvas. These buttons are
      shown in the applet on a web page (we call it embedded mode). These image
      buttons show correctly in starting. But if a dialog box is placed over
      these buttons & destroyed (by clicking X button of the dialog box), the
      image buttons underneath are not repainted properly & retain the portion of
      image of the dialog box which resided over them.
           Note : When a dialog box is created we change the image on the buttons
      (to grayed image). When the dialog box is destroyed we change the image on
      the buttons (to orignal image).


      ** NOTE: The error can be demonstrated on request inside SWAN.
      The application is client-server application which needs to talk to the backend in Seatle. The frontend is configured and can be ran on request (Please contact
      Bao Doan (x82523) or Stefan Schneider (x86411) regarding this)

      ** NOTE: Below describes the steps to reproduce the bug, assuming JavaUI front-end has been installed. (Source: QAD bug report)

      Brief Description: <SUN BugID Pending Item #6> [embedded] Disappearing
                   buttons

      Steps to Reproduce:
      IE/Netscape
      first reported in 00087
       bug still exists in 00094 Extra notes: If you open a drill down and
      close it while its window is over the stop and find buttons, the drill down
      window will paint over the tops of those two buttons. Changing the size of
      the browser will repaint them correctly. If you open the graph, and close
      it while it is over the top of the stop button, it does the same thing but
      doesn't change the appearance of the find button.

      NOTE: This problem goes away if I set my monitor color settings to 256
      colors, instead of 64K colors

      Found that this icon repaint problem is happening with two scenarios (1)
      open/close the drill down and (2) open/close graph. When you open and then
      close the drill down window, the repaint error occurs on both the Stop and
      Find buttons. When you open and close the graph window, the repaint error
      only occurs for the find button. If, in either case, you position the
      window below the find and stop icons before closing it, the repaint error
      does not occur.

      Same problem ocurring in build 89 but with new repaint problem (image that
      appears atop the embedded object from the drill down appears atop the
      missing icon images.

      (Embedded image moved to file: PIC00043.PCX)

      1. Using Navigator in NT open sesu02/a00087emb.html and click Customer
      Browse link. Notice that the Stop and Find buttons are present
      and greyed out.
      2. Click the Drill Down icon in the toolbar.
      3. Once the drilldown window loads, close it.
      4. The Stop and Find buttons disappear and aren't even present when you
      mouse over them. If you Click run, the Stop Feature reappears
      and if clicked, will grey out and remain at the end of the process. The
      Find button doesn't return.

      bao.doan@eng 1998-08-31

      Modified steps to reproduce:
      1. Point your browser to http://javaui.qad.com/a00100emb.html (make sure to copy the attached into the user home directory, e.g. in winNT: copy the identitydb.obj to \winnt\profiles\user_name)
      2. click Customer Browse link. Notice that the Stop and Find buttons are present and greyed out.
      2. Click the Drill Down icon in the toolbar.
      3. Once the drilldown window loads, close it.
      4. The Stop and Find buttons disappear and a piece of the previous window is left on top of the buttons. I did observe them, however, restored as greyed out buttons when moving the mouse over them.

      Screenshots of the problem can be seen at http://mde.eng/~bdoan/qad/testcases/item6/item6.html

      Please let me know (bdoan@eng) if you need further assistance to reproduce the bug.
      bao.doan@eng 1998-09-03

      Attachments

        Activity

          People

            myangsunw Mingyao Yang (Inactive)
            bdoan Bao Doan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: