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

Greenshot crashes when hotkey registration fails and OneDrive is not installed

Description

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:

Environment

Software version: 1.2.9.104-RELEASE-3721c1004d2b146fd31b1e20740b8add11a61330 (64 bit)
.NET runtime version: 4.0.30319.42000+
Time: 2016-12-29 18:03:39 +08:00
OS: unknown (x64) 10.0 build 14986 revision 0

Status

Assignee

Unassigned

Reporter

David Rawcliffe

Affects versions

1.2.9

Components

None

Priority

Major

Labels

None

Sprint

None