We're updating the issue view to help you get more done.Learn more

Greenshot crashes when hotkey registration fails and OneDrive is not installed

GDI object count: 25
User object count: 15

Exception: System.IO.DirectoryNotFoundException
Message: Could not find a part of the path 'C:\Users\david\AppData\Local\Microsoft\OneDrive\settings\Personal'.

Stack:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator`1.CommonInit()
at System.IO.Directory.GetFiles(String path, String searchPattern)
at Greenshot.MainForm.IsOneDriveBlockingHotkey()
at Greenshot.MainForm.HandleFailedHotkeyRegistration(String failedKeys)
at Greenshot.MainForm.RegisterHotkeys(Boolean ignoreFailedRegistration)
at Greenshot.MainForm..ctor(CopyDataTransport dataTransport)
at Greenshot.MainForm.Start(String[] arguments)

Configuration dump:

Status

Assignee

Unassigned

Reporter

David Rawcliffe

Sprint

None

Affects versions

1.2.9

Priority

Major