You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Previously, I had version 1.2.10.6 installed. The functionality "Copy to clipboard" stopped to work couple months ago. Now, I found this github repository and installed the latest unstable version 1.3.277. It still does not work. However, I obtain exception with stacktrace:
Stack:
at Microsoft.Toolkit.Uwp.Notifications.ToastNotificationManagerCompat.CreateToastNotifier()
at Greenshot.Plugin.Win10.ToastNotificationService.ShowMessage(String message, Nullable1 timeout, Action onClickAction, Action onClosedAction) in D:\a\1\s\src\Greenshot.Plugin.Win10\ToastNotificationService.cs:line 179 at Greenshot.Plugin.Win10.ToastNotificationService.ShowInfoMessage(String message, Nullable1 timeout, Action onClickAction, Action onClosedAction) in D:\a\1\s\src\Greenshot.Plugin.Win10\ToastNotificationService.cs:line 200
at Greenshot.Helpers.CaptureHelper.SurfaceMessageReceived(Object sender, SurfaceMessageEventArgs eventArgs) in D:\a\1\s\src\Greenshot\Helpers\CaptureHelper.cs:line 663
at Greenshot.Base.Core.AbstractDestination.ProcessExport(ExportInformation exportInformation, ISurface surface) in D:\a\1\s\src\Greenshot.Base\Core\AbstractDestination.cs:line 131
at Greenshot.Destinations.ClipboardDestination.ExportCapture(Boolean manuallyInitiated, ISurface surface, ICaptureDetails captureDetails) in D:\a\1\s\src\Greenshot\Destinations\ClipboardDestination.cs:line 74
at Greenshot.Base.Core.AbstractDestination.<>c__DisplayClass28_0.b__4(Object sender, EventArgs e) in D:\a\1\s\src\Greenshot.Base\Core\AbstractDestination.cs:line 257
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--- InnerException: ---
Exception: System.IO.IOException
Message: Cannot create a stable subkey under a volatile parent key.
Stack:
at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
at Microsoft.Win32.RegistryKey.CreateSubKeyInternal(String subkey, RegistryKeyPermissionCheck permissionCheck, Object registrySecurityObj, RegistryOptions registryOptions)
at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey)
at Microsoft.Toolkit.Uwp.Notifications.ToastNotificationManagerCompat.Initialize()
at Microsoft.Toolkit.Uwp.Notifications.ToastNotificationManagerCompat..cctor()
Configuration dump:
To Reproduce
Example steps to reproduce the behavior:
Capture and select "Copy to clipboard"
it will crash ....
Expected behavior
It should not crash.
Screenshots
Versions (please complete the following information):
1.3.277
Windows 11 Pro 22H2 OS build: 22621.2283
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
This GitHub repository is for developers, if you want to report a bug for Greenshot as a user please do so in our JIRA issue system here: https://greenshot.atlassian.net/projects/BUGS/issues/filter=allopenissues
Describe the bug
Previously, I had version 1.2.10.6 installed. The functionality "Copy to clipboard" stopped to work couple months ago. Now, I found this github repository and installed the latest unstable version 1.3.277. It still does not work. However, I obtain exception with stacktrace:
Software version: 1.3.277 - f862e79 (64 bit)
.NET runtime version: 4.0.30319.42000+
Time: 2023-10-04 14:47:49 +02:00
OS: Windows 10 2009 x64 build 22621
GDI object count: 89
User object count: 44
Exception: System.InvalidOperationException
Message: Failed initializing notifications
Stack:
at Microsoft.Toolkit.Uwp.Notifications.ToastNotificationManagerCompat.CreateToastNotifier()
at Greenshot.Plugin.Win10.ToastNotificationService.ShowMessage(String message, Nullable
1 timeout, Action onClickAction, Action onClosedAction) in D:\a\1\s\src\Greenshot.Plugin.Win10\ToastNotificationService.cs:line 179 at Greenshot.Plugin.Win10.ToastNotificationService.ShowInfoMessage(String message, Nullable
1 timeout, Action onClickAction, Action onClosedAction) in D:\a\1\s\src\Greenshot.Plugin.Win10\ToastNotificationService.cs:line 200at Greenshot.Helpers.CaptureHelper.SurfaceMessageReceived(Object sender, SurfaceMessageEventArgs eventArgs) in D:\a\1\s\src\Greenshot\Helpers\CaptureHelper.cs:line 663
at Greenshot.Base.Core.AbstractDestination.ProcessExport(ExportInformation exportInformation, ISurface surface) in D:\a\1\s\src\Greenshot.Base\Core\AbstractDestination.cs:line 131
at Greenshot.Destinations.ClipboardDestination.ExportCapture(Boolean manuallyInitiated, ISurface surface, ICaptureDetails captureDetails) in D:\a\1\s\src\Greenshot\Destinations\ClipboardDestination.cs:line 74
at Greenshot.Base.Core.AbstractDestination.<>c__DisplayClass28_0.b__4(Object sender, EventArgs e) in D:\a\1\s\src\Greenshot.Base\Core\AbstractDestination.cs:line 257
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--- InnerException: ---
Exception: System.IO.IOException
Message: Cannot create a stable subkey under a volatile parent key.
Stack:
at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
at Microsoft.Win32.RegistryKey.CreateSubKeyInternal(String subkey, RegistryKeyPermissionCheck permissionCheck, Object registrySecurityObj, RegistryOptions registryOptions)
at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey)
at Microsoft.Toolkit.Uwp.Notifications.ToastNotificationManagerCompat.Initialize()
at Microsoft.Toolkit.Uwp.Notifications.ToastNotificationManagerCompat..cctor()
Configuration dump:
To Reproduce
Example steps to reproduce the behavior:
Expected behavior
It should not crash.
Screenshots
Versions (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: