windows_taskbar icon indicating copy to clipboard operation
windows_taskbar copied to clipboard

ERROR: WindowsTaskbar::ResetOverlayIcon, null, null

Open skutimechanic opened this issue 7 months ago • 2 comments

In the code I call: WindowsTaskbar.resetOverlayIcon() and I can see in my production logs the error: PlatformException(-1, ERROR: WindowsTaskbar::ResetOverlayIcon, null, null)

I've checked the example app and no error for calling resetOverlayIcon before setOverlayIcon is called.

What could be wrong that the exception appears in the production?

Platform: Windows 10 Pro Dart 3.6.2 (stable)

Stack Trace:
PlatformException: PlatformException(-1, ERROR: WindowsTaskbar::ResetOverlayIcon, null, null)
  # 0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:646)
  # 1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:334) File "<asynchronous suspension>"

skutimechanic avatar Jun 13 '25 11:06 skutimechanic