Uploaded image for project: 'Greenshot bugs'
  1. BUG-2089

Greenshot crashes when hotkey registration fails and OneDrive is not installed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.9
    • Fix Version/s: 1.2.9.112
    • Component/s: None
    • Labels:
      None
    • 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

    • Sprint:
      Greenshot 1.2.9 BF1

      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:

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                drawclif David Rawcliffe
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h