[GH-ISSUE #253] Wrong screen location recorded (high DPI issue?) #210

Closed
opened 2026-02-26 09:30:34 +03:00 by kerem · 2 comments
Owner

Originally created by @jdpurcell on GitHub (Feb 4, 2018).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/253

Originally assigned to: @NickeManarin on GitHub.

The first time I position the recorder window and record, it works fine. When I switch back from the editor to record mode, if I don't re-position the record window, it records the wrong screen location. This may be related to high DPI; I'm using Windows 10 with 150% scaling.

The issue started with commit 453fae2613, with one of the changes in Recorder.xaml.cs.

Screenshot of the GIF timeline; notice how part of the recorder window border was captured:
image

Originally created by @jdpurcell on GitHub (Feb 4, 2018). Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/253 Originally assigned to: @NickeManarin on GitHub. The first time I position the recorder window and record, it works fine. When I switch back from the editor to record mode, if I don't re-position the record window, it records the wrong screen location. This may be related to high DPI; I'm using Windows 10 with 150% scaling. The issue started with commit 453fae2613df254dbc486ec1845e2881562b15b1, with one of the changes in Recorder.xaml.cs. Screenshot of the GIF timeline; notice how part of the recorder window border was captured: ![image](https://user-images.githubusercontent.com/6741660/35782446-2bb34ff4-09c6-11e8-9b71-bbbaf823fa39.png)
kerem 2026-02-26 09:30:34 +03:00
Author
Owner

@NickeManarin commented on GitHub (Feb 4, 2018):

Interesting, I forgot to calculate the position after loading the window. The event that is triggered when the window is repositioned does not fire on load.

I'll fix it and republish v2.12 shortly. Thanks for the feedback.

<!-- gh-comment-id:362941330 --> @NickeManarin commented on GitHub (Feb 4, 2018): Interesting, I forgot to calculate the position after loading the window. The event that is triggered when the window is repositioned does not fire on load. I'll fix it and republish v2.12 shortly. Thanks for the feedback.
Author
Owner

@NickeManarin commented on GitHub (Feb 4, 2018):

Fixed. :)

<!-- gh-comment-id:362942343 --> @NickeManarin commented on GitHub (Feb 4, 2018): Fixed. :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ScreenToGif#210
No description provided.