Skip to content

mouse position on the video does not match the real mouse position #2

Description

@faust347

The mouse position on the video does not match the real position. This is a bit annoying if I want to use the screen recorder to create learning material.

Activity

  1. self-assigned this
    on Jul 26, 2020
  2. RaulMerelli commented on May 27, 2021

    @RaulMerelli

    To solve this issue is enough to change in MainForm.cs the line

    Recorder.DrawIcon(g.GetHdc(), pci.ptScreenPos.x, pci.ptScreenPos.y, pci.hCursor);

    To

    Recorder.DrawIcon(g.GetHdc(), pci.ptScreenPos.x - (int)xNumeric.Value, pci.ptScreenPos.y - (int)yNumeric.Value, pci.hCursor);

  3. Beelink commented on May 28, 2021

    @Beelink
    Member

    To solve this issue is enough to change in MainForm.cs the line

    Recorder.DrawIcon(g.GetHdc(), pci.ptScreenPos.x, pci.ptScreenPos.y, pci.hCursor);

    To

    Recorder.DrawIcon(g.GetHdc(), pci.ptScreenPos.x - (int)xNumeric.Value, pci.ptScreenPos.y - (int)yNumeric.Value, pci.hCursor);

    Thank you for the hint. You can make a pull request with this fix if you want.

  4. faust347 commented on May 28, 2021

    @faust347
    Author
  5. Zac610 commented on Jul 14, 2021

    @Zac610

    While waiting for this bug fixed, a quick-workaround is to put the window to be recorded aligned in the upper-left corner of the desktop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions