ScreenToGif doesn't appear to take the desktop scaling settings into account?
My laptop has scaling set to 125% (the default setting for this Lenovo yoga, apparently).
the initial window appears correct, but as soon as you stop recording, the size/location appears to be wrong. in the attached image, the visual studio 2015 new project dialog was completely enclosed inside the capture window, but the capture is offset and not the whole dialog.
if I set the scaling to 100%, this doesn't occur.
Comments: Yes, it is stored in the default settings. It should open just one time if you have a DPI > 100 %. Maybe there is something wrong with my code... :( ``` float dpiX; using (Graphics graphics = this.CreateGraphics()) { dpiX = graphics.DpiX; } if (dpiX > 96) { if (Settings.Default.showHighDpiWarn) { var highDpi = new HighDpi(); highDpi.ShowDialog(); highDpi.Dispose(); } } else { Settings.Default.showHighDpiWarn = false; } ```
My laptop has scaling set to 125% (the default setting for this Lenovo yoga, apparently).
the initial window appears correct, but as soon as you stop recording, the size/location appears to be wrong. in the attached image, the visual studio 2015 new project dialog was completely enclosed inside the capture window, but the capture is offset and not the whole dialog.
if I set the scaling to 100%, this doesn't occur.
Comments: Yes, it is stored in the default settings. It should open just one time if you have a DPI > 100 %. Maybe there is something wrong with my code... :( ``` float dpiX; using (Graphics graphics = this.CreateGraphics()) { dpiX = graphics.DpiX; } if (dpiX > 96) { if (Settings.Default.showHighDpiWarn) { var highDpi = new HighDpi(); highDpi.ShowDialog(); highDpi.Dispose(); } } else { Settings.Default.showHighDpiWarn = false; } ```