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
Hi, we've got a lot of such exceptions, here the full stack trace. As you see, all calls within library code.
Our usage of tray icon is quite simple (wpf, .net6):
trayIcon.ShowNotification(title, message);
Any ideas?
System.InvalidOperationException: UpdateToolTip failed.
File "//src/libs/H.NotifyIcon/Core/TrayIcon.cs", line 455, col 13, in void TrayIcon.UpdateToolTip(string text)
File "//src/libs/H.NotifyIcon.Shared/TaskbarIcon.ToolTips.cs", line 141, col 9, in void TaskbarIcon.WriteToolTipSettings()
File "//src/libs/H.NotifyIcon.Shared/TaskbarIcon.ToolTips.cs", line 28, col 9, in void TaskbarIcon.OnToolTipTextChanged()
File "//src/libs/H.NotifyIcon.Wpf/obj/Release/net6.0-windows/DependencyPropertyGenerator/H.Generators.DependencyPropertyGenerator/H.NotifyIcon.TaskbarIcon.Properties.ToolTipText.g.cs", line 23, col 25, in static TaskbarIcon()+(DependencyObject sender, DependencyPropertyChangedEventArgs args) => { }
?, in void DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
?, in void FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
?, in void DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
?, in UpdateResult DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, ref EffectiveValueEntry newEntry, bool coerceWithDeferredReference, bool coerceWithCurrentValue, Op...
?, in void DependencyObject.InvalidateProperty(DependencyProperty dp, bool preserveCurrentValue)
?, in void BindingExpression.TransferValue(object newValue, bool isASubPropertyChange)
?, in void PropertyPathWorker.UpdateSourceValueState(int k, ICollectionView collectionView, object newValue, bool isASubPropertyChange)
?, in void PropertyPathWorker.RefreshValue()
?, in object ClrBindingWorker.ScheduleTransferOperation(object arg)
?, in void DataBindEngine.ProcessCrossThreadRequests()
?, in object ExceptionWrapper.InternalRealCall(Delegate callback, object args, int numArgs)
?, in object ExceptionWrapper.TryCatchWhen(object source, Delegate callback, object args, int numArgs, Delegate catchHandler)
The text was updated successfully, but these errors were encountered:
The problem is that "UpdateToolTip failed" is a system API call and does not provide any information about the error. This could be due to invalid arguments or simply a certain combination of WinUI version + Windows version + something else.
Describe the bug
Hi, we've got a lot of such exceptions, here the full stack trace. As you see, all calls within library code.
Our usage of tray icon is quite simple (wpf, .net6):
Any ideas?
The text was updated successfully, but these errors were encountered: