Uploaded image for project: 'ReactOS Test Suite'
  1. ReactOS Test Suite
  2. ROSTESTS-290

gdi32: The hotspot values in CreateIconIndirect test is wrong

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.4.14
    • ReactOS Tests
    • None

    Description

      The system cursor ID IDC_APPSTARTING is for OCR_APPSTARTING icon resource.
      OCR_APPSTARTING icon resource is defined at: "reactos/win32ss/user/user32/user32.rc", that refers "reactos/win32ss/user/user32/resources/ocr_appstarting.cur".
      The hotspot is (2, 2) hotspot.png.

      And I executed "gdi32_apitest CreateIconIndirect" tests.

      CreateIconIndirect.c:154: Test failed: 2
      CreateIconIndirect.c:155: Test failed: 2
      ...

      Related tests are:

      ok(iconinfo2.xHotspot == 0, "%ld\n", iconinfo2.xHotspot);
      ok(iconinfo2.yHotspot == 8, "%ld\n", iconinfo2.yHotspot);

      These should be:

      ok(iconinfo2.xHotspot == 2, "%ld\n", iconinfo2.xHotspot);
      ok(iconinfo2.yHotspot == 2, "%ld\n", iconinfo2.yHotspot);

      fix-cursor-tests.patch

      Attachments

        Issue Links

          Activity

            People

              ThePhysicist Timo Kreuzer
              katayama_hirofumi_mz Katayama Hirofumi MZ
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: