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

GetScrollPos not returns the current position in the process of moving ScrollBars in edit control.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • Wine

    Description

      Trying to find the cause of the regression CORE-11561, I found that GetScrollPos returns the position in time of the beginning of the movement of the scroll bar, instead of the current position. Windows always returns the current position of the scroll bar. ROS updates it only when you release the mouse button.
      If you look closely at ROS for a scroll bar in the process of moving, we can see that at some point the position of the scroll is drawn in the right place. I think it draws the future place of the scroll bar (where it should be). But due to the fact that GetScrollPos returns an incorrect result, the subsequent drawing occurs in the place where was the beginning of the movement of the scroll bar.
      I attach test program for this case.

      Attachments

        1. ScrollTest.zip
          209 kB
        2. ScrollTest_v2.zip
          211 kB
        3. scroll.patch
          2 kB
        4. Fixed.mkv
          191 kB
        5. SysMets4.exe
          156 kB
        6. Fixed Client.png
          Fixed Client.png
          105 kB
        7. Fixed Client 2.png
          Fixed Client 2.png
          32 kB

        Issue Links

          Activity

            People

              bug zilla Bug Zilla
              amber amber
              Votes:
              7 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: