Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Touch Screen Error #1004

Closed
BradKML opened this issue Apr 5, 2021 · 1 comment
Closed

Touch Screen Error #1004

BradKML opened this issue Apr 5, 2021 · 1 comment
Assignees
Labels

Comments

@BradKML
Copy link

BradKML commented Apr 5, 2021

System information:

  • Windows OS version: Latest as of 2020 April 5th
  • ImageGlass version: 8.0.12.8 (chocolatey)

To Reproduce

Steps to reproduce the behavior:

  1. Launch App
  2. Touch The Screen
  3. Get Error

Actual behavior:

just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidOperationException: RunSynchronously may not be called on a task that has already completed.
at System.Threading.Tasks.Task.InternalRunSynchronously(TaskScheduler scheduler, Boolean waitForCompletion)
at ImageGlass.Library.WinAPI.Touch.AcceptTouch(Form form)
at ImageGlass.frmMain.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4341.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

ImageGlass
Assembly Version: 8.0.12.8
Win32 Version: 8.0.12.8
CodeBase: file:///C:/Program%20Files/ImageGlass/ImageGlass.exe

System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

ImageGlass.Services
Assembly Version: 8.0.7645.27245
Win32 Version: 8.0.7645.27245
CodeBase: file:///C:/Program%20Files/ImageGlass/ImageGlass.Services.DLL

ImageGlass.Base
Assembly Version: 1.3.0.0
Win32 Version: 1.3.0.0
CodeBase: file:///C:/Program%20Files/ImageGlass/ImageGlass.Base.DLL

ImageGlass.Settings
Assembly Version: 8.0.0.0
Win32 Version: 8.0.0.0
CodeBase: file:///C:/Program%20Files/ImageGlass/ImageGlass.Settings.DLL

System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4341.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

ImageGlass.Library
Assembly Version: 8.0.7645.27244
Win32 Version: 8.0.7645.27244
CodeBase: file:///C:/Program%20Files/ImageGlass/ImageGlass.Library.DLL

System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4341.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

ImageGlass.UI
Assembly Version: 8.0.7645.27245
Win32 Version: 8.0.7645.27245
CodeBase: file:///C:/Program%20Files/ImageGlass/ImageGlass.UI.DLL

ImageGlass.Heart
Assembly Version: 8.0.0.0
Win32 Version: 8.0.0.0
CodeBase: file:///C:/Program%20Files/ImageGlass/ImageGlass.Heart.DLL

System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Magick.NET-Q16-OpenMP-x64
Assembly Version: 7.22.2.0
Win32 Version: 7.22.2.2
CodeBase: file:///C:/Program%20Files/ImageGlass/Magick.NET-Q16-OpenMP-x64.DLL

Magick.NET.Core
Assembly Version: 5.2.2.0
Win32 Version: 5.2.2.0
CodeBase: file:///C:/Program%20Files/ImageGlass/Magick.NET.Core.DLL

Magick.NET.SystemDrawing
Assembly Version: 2.0.8.0
Win32 Version: 2.0.8.0
CodeBase: file:///C:/Program%20Files/ImageGlass/Magick.NET.SystemDrawing.DLL

FileWatcherEx
Assembly Version: 1.3.0.0
Win32 Version: 1.3.0.0
CodeBase: file:///C:/Program%20Files/ImageGlass/FileWatcherEx.DLL

ImageGlass.ImageBox
Assembly Version: 8.0.7645.27244
Win32 Version: 8.0.7645.27244
CodeBase: file:///C:/Program%20Files/ImageGlass/ImageGlass.ImageBox.DLL

ImageGlass.ImageListView
Assembly Version: 11.0.0.7
Win32 Version: 11.0.0.7
CodeBase: file:///C:/Program%20Files/ImageGlass/ImageGlass.ImageListView.DLL

System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Expected behavior:

Expected to be able to do anything with touch screen on Windows Surface

Related to #737 #686 #739 #753 #951

@d2phap
Copy link
Owner

d2phap commented Apr 5, 2021

Hi, @BrandonKMLee
You can try the ImageGlass Moon version which fixed this bug (#928) while waiting for the v8.1 released in couple of weeks.

@d2phap d2phap closed this as completed Apr 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants