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

Mouse coordinates are sometimes incorrect on applet startup

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 7u6
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
    • Environment:

      Mac OS X 10.7
      JavaFX 2.2-b18

      Description

      This bug is a less severe variation of RT-23043 which still happens under some circumstances, so I decided to file a new bug.

      The following will consistently reproduce it on my system:

      1) Clear the deploy cache (either by running "javaws -uninstall" or removing $HOME/Library/Application Support/Oracle/Java/Deployment/cache)

      2) Run the following applet, which is just a signed version of AppletCoordsTest from RT-22939 with no code changes:

      http://jfx.us.oracle.com/applet-test/javafx/AppletCoordsTestSigned/AppletCoordsTestSigned.html

      Notice that the default preloader is displayed and that a security dialog is displayed

      3) Accept the security dialog

      The applet will come up and will miss the initial notification of the browser window position. If you click in the applet or move the browser window then it picks up the position correctly.


      This also reproduces for me often (but not 100% of the time) with the following:

      1) Clear the browser cache as above

      2) Run Ensemble and accept the security dialog.

      3) Without clicking anywhere in the browser and without moving the browser window, mouse over the sample thumbnails. You will see the wrong one highlight in a flickering manner (similar to that described in RT-23043).

      Again, as soon as you click in the applet window or move the browser, the problem corrects itself.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                skovatch Scott Kovatch (Inactive)
                Reporter:
                kcr Kevin Rushforth
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: