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

Hotspot value is set to 0, 0 for ImageCursor when Image.backgroundLoading is set to true

XMLWordPrintable

      Hotspot value of the image cursor is always set to 0, 0 when the image used by the image cursor is loaded in background. As soon as I set backgroundLoading to true, the hotspot values that I have specified are ignored.

      Run the attached test. I am loading a bigger image and setting the hotspot as 300, 300. When you move the mouse over the button, you should see the image cursor with image actually shifted up and left. Click on the button and hotspot values must be shown as 300, 300. However, with Soma-int-363 (b29) you will see the hotspot values as 0, 0.

      This is a regression introduced in Soma-b28 and not reproducible on Soma-b27. The only cursor fix that I could recollect getting into b28 is - RT-7854.

        1. InvalidHotspotTest.fx
          0.5 kB
          Praveen Mohan
        2. green_bugster.gif
          1 kB
          Praveen Mohan
        3. image015.jpg
          35 kB
          Praveen Mohan

            lnerad Ľubomír Nerád (Inactive)
            pmohan Praveen Mohan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: