Skip to content

Unhandled Exception with XLSX and CSV files #1854

Description

@avagdumortesin

Describe the bug
I have multiple XLSX and CSV documents saved on my Desktop. Twice this evening, I have received exceptions when QuickLooking the files.

To Reproduce
Steps to reproduce the behavior:

  1. Navigate to an XLSX or CSV file.
  2. Press the Space Bar to activate QuickLook
  3. The preview is shown, but an unhandled exception report is generated.

Expected behavior
The preview is shown, and there is no unhandled exception.

Desktop (please complete the following information):

  • OS Version: Windows 11 Pro 25H2 (26200.7462)
  • QuickLook Version: 4.3.0 from Github

Screenshots and Exception Log

************** Exception Text **************
System.Runtime.InteropServices.COMException (0x8001010D): An outgoing call cannot be made since the application is dispatching an input-synchronous call. (Exception from HRESULT: 0x8001010D (RPC_E_CANTCALLOUT_ININPUTSYNCCALL))
   at QuickLook.Plugin.OfficeViewer.IPreviewHandler.SetRect(Rectangle& rect)
   at QuickLook.Plugin.OfficeViewer.PreviewHandlerHost.OnResize(EventArgs e)
   at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
   at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
   at System.Windows.Forms.Control.UpdateBounds()
   at System.Windows.Forms.Control.WmWindowPosChanged(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Image

QuickLook.Exception.log

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions