mirror of
https://github.com/NickeManarin/ScreenToGif.git
synced 2026-04-26 15:46:00 +03:00
[GH-ISSUE #713] New recorder. Area / window selection. #582
Labels
No labels
copy cats
duplicated
future feature
pull-request
⬜ Accepted
⬜ Completed
⬜ Help Wanted 💪
⬜ In Progress
⬜ Missing Details
⬜ Pending
⬜ Waiting For Answer ⏳
🆕 feature preview
🔷 Bug 🐛
🔷 Out Of Scope
🔷 Out Of Scope
🔷 Question
🔷Enhancement
🔷Enhancement
🔷Invalid / External
🔷Knowledge Base
🔷Won't Fix
🕑 High
🕑 High
🕑 High
🕕 Medium
🕙 Low
🕛 Critical
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ScreenToGif#582
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wvxwxvw on GitHub (Sep 9, 2020).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/713
When trying to select an area, window or screen, the program crashes.
ScreenToGif 2.27 Portable, Windows 7
@wvxwxvw commented on GitHub (Sep 9, 2020):
Works fine on previous versions. Now I checked it specially.
@NickeManarin commented on GitHub (Sep 9, 2020):
I need to know the exception details. Does it display an error message or anything?
@wvxwxvw commented on GitHub (Sep 9, 2020):
Sorry.
WindowsBase.SetValueCommon
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at ScreenToGif.Windows.Other.RegionSelector.Select(Monitor monitor, ModeType mode, Rect previousRegion, Action
2 selected, Action1 changed, Action`1 gotHover, Action aborted)at ScreenToGif.Capture.RegionSelectHelper.Select(ModeType mode, Rect previousRegion, Monitor currentMonitor, Boolean quickSelection)
at ScreenToGif.Windows.NewRecorder.d__73.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ScreenToGif.Windows.NewRecorder.<RegionButton_Click>d__47.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
@NickeManarin commented on GitHub (Sep 9, 2020):
Thanks, and the exception type and message?
@NickeManarin commented on GitHub (Sep 9, 2020):
System.ArgumentException
HResult=0x80070057
Message='∞' is not a valid value for property 'Width'.
Source=WindowsBase
Something like this?
If so, are you using Windows 7?
@wvxwxvw commented on GitHub (Sep 10, 2020):
Yes.
Yes, in the first post it is written.
@NickeManarin commented on GitHub (Sep 10, 2020):
Ooops. I forgot about it. :/
Anyway, I believe that fixed this issue.
It was caused by the code that detects the system DPI.
I was using an API exclusive to Windows 8 and newer.
@wvxwxvw commented on GitHub (Sep 15, 2020):
OK