ModuleArt / quick-screen-recorder

Lightweight desktop screen recorder for Windows.
https://moduleart.github.io
GNU General Public License v3.0
237 stars 31 forks source link

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

Open faust347 opened 4 years ago

faust347 commented 4 years ago

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.

RaulMerelli commented 3 years ago

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);

Beelink commented 3 years ago

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.

faust347 commented 3 years ago

That would be good indeed. Thanks for the offer.

For myself it is not so urgent at the moment, as the screen recording capabilities of PowerPoint are excellent. However, for all those who work with open source products in the first place, ModuleArt Quick Screen Recorder is an excellent alternative. I also prefer not to use the game bar, as my experience is that is slows down Windows quite a lot.

All the best

Am Fr., 28. Mai 2021 um 04:13 Uhr schrieb Eugene Volynko < @.***>:

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.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ModuleArt/quick-screen-recorder/issues/2#issuecomment-850060814, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQMD7HARM4AZO3IE4DMMZD3TP3325ANCNFSM4PFYSPFQ .

Zac610 commented 3 years ago

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.