Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-17260

[comctl32] button, Press'n'Hold of a button, then leaving the button rect should redraw the button in unpressed state

    XMLWordPrintable

Details

    Description

      0.4.15-dev-730-gabbe656 is affected
      0.4.14-RC-36-gb30846a is affected as well.

      When I press'n'hold a button with the left mouse button and then move the cursor out of the button rect (while still keeping the button pressed)

      Expected result
      The button should be repainted in unpressed state as soon as I leave the button rect.
      When I return with the mouse cursor over the button rect, then the button should be painted as pressed again. This is the behavior on XPSP3 (and most likely all other versions of Windows).

      Observed result
      On ros the button erroneously stays in pressed state when I leave the button-rect
      Ros does not log anything while doing this.
      0.4.14-RC-36-gb30846a.webm
      0.4.14-RC-36-gb30846a_useless.log

      I suspect that to be broken in comctl32/button.c, correct me if I am wrong.

      Attachments

        1. 0.4.14-RC-36-gb30846a_useless.log
          122 kB
          reactosfanboy
        2. 0.4.14-RC-36-gb30846a.webm
          283 kB
          reactosfanboy
        3. 0.4.9-dev-718-gaba6ce5_ok.webm
          259 kB
          reactosfanboy
        4. 0.4.9-dev-719-gb3fb855_broken_guilty.webm
          220 kB
          reactosfanboy
        5. button.patch
          1 kB
          I_Kill_Bugs
        6. reactosfanboys_naive_world.patch
          2 kB
          reactosfanboy
        7. reactosfanboys_naive_world.webm
          279 kB
          reactosfanboy

        Issue Links

          Activity

            People

              reactosfanboy reactosfanboy
              reactosfanboy reactosfanboy
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: