Continuing with my "test" saga...
On my test PC I have created a brand new, naked, virginal and unmolested Portable installation of MB. I created a small library of about twenty tracks. No new skins, no new plugins, no new nothing. I closed MB and dragged mb_VUMeter.dll (6.1) into the Plugins directory. Restarted MB, arranged the VUMeter panel to where I've been placing it during this test (and where it happily lives on my main PC) and exited MB. Relaunched it and VU panel was all black and a right-click showed nothing. And then MB threw the same error it's been throwing all during this experiment and once I clicked ok, MB closed.
MusicBee v3.6.9101.34338P (Win10.0), 7 Dec 2024 13:32:
System.OverflowException: Value was either too large or too small for an Int32.
at System.Convert.ToInt32(Double value)
at MusicBeePlugin.VUMeter.SetPivotOffset()
at MusicBeePlugin.VUMeter.FillVertexArrays()
at MusicBeePlugin.VUMeter.Window_SizeChanged(Object sender, SizeChangedEventArgs e)
at System.Windows.SizeChangedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.FrameworkElement.OnRenderSizeChanged(SizeChangedInfo sizeInfo)
at System.Windows.ContextLayoutManager.fireSizeChangedEvents()
at System.Windows.ContextLayoutManager.UpdateLayout()
at System.Windows.UIElement.UpdateLayout()
at System.Windows.Interop.HwndSource.Process_WM_SIZE(UIElement rootUIElement, IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Interop.HwndSource.LayoutFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.HwndSubclass.DefWndProcWrapper(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
With MB still closed, I removed the dll, and my skins, and the ini file. No traces left in this installation. Restarted MB, went to Preferences > Plugins > Add Plugin and pointed it to a ZIP of 2.5.1. I checked and saw the dll and the default skins where they're supposed to be along with a "new" directory under AppData\Plugins\VUMeter which was empty (no .ini file yet.) Launched MB and it didn't throw an error. Open panel arrangement and dragged the VUMeter panel to where I want it, saved, and closed MB. Opened MB, saw an all black panel where the VUMeter should be with no context menu upon right-click and then MB threw the same error as above.
Restarting MB from this condition causes the same error to appear within five seconds. Still can't copy the error using the button in the error window and clicking ok closes MB.