jlister Posted August 18, 2023 Share Posted August 18, 2023 (edited) Hi It seems to be shortly after I try and edit media properties for a game, then move onto another game quickly and try the same, only replicated it so far in source view for steam games, but that is probably a red herring... I am getting this error. I have debug logs enabled and seeing the following for non-negative 2023-08-18 09:35:35 PM GameDetailsViewModel.Dispose: Begin... 2023-08-18 09:35:35 PM GameDetailsViewModel.Dispose: Marked disposed true... 2023-08-18 09:35:35 PM GameDetailsViewModel.Dispose: Star rating faded nulling... 2023-08-18 09:35:35 PM GameDetailsViewModel.Dispose: Video control dispose... 2023-08-18 09:35:35 PM GameDetailsViewModel.Dispose: Video control nulling... 2023-08-18 09:35:35 PM GameDetailsViewModel.Dispose: Invoking UI thread... 2023-08-18 09:35:35 PM Setting Security Protocol Type to TLS 1.2... 2023-08-18 09:35:35 PM GameDetailsViewModel.Dispose: Nulling out all image sources... 2023-08-18 09:35:35 PM GameDetailsViewModel.Dispose: Completed. 2023-08-18 09:35:35 PM AddEditGameViewModel Closed Updating ContentBackground 2023-08-18 09:35:35 PM AddEditGameViewModel Closed Invoke End 2023-08-18 09:35:35 PM FIRST CHANCE EXCEPTION: Width and Height must be non-negative. at System.Windows.Size..ctor(Double width, Double height) 2023-08-18 09:35:35 PM DISPLAYED EXCEPTION: Width and Height must be non-negative. at System.Windows.Size..ctor(Double width, Double height) at Unbroken.LaunchBox.Windows.Controls.CondensedPanel.MeasureOverride(Size availableSize) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.Border.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.Control.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.StackPanel.StackMeasureHelper(IStackMeasure measureElement, IStackMeasureScrollData scrollData, Size constraint) at System.Windows.Controls.StackPanel.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.StackPanel.StackMeasureHelper(IStackMeasure measureElement, IStackMeasureScrollData scrollData, Size constraint) at System.Windows.Controls.StackPanel.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.Border.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.StackPanel.StackMeasureHelper(IStackMeasure measureElement, IStackMeasureScrollData scrollData, Size constraint) at System.Windows.Controls.StackPanel.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.ContextLayoutManager.UpdateLayout() at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg) at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget) 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) 2023-08-18 09:35:35 PM Resolving assembly Unbroken.LaunchBox.Windows.resources, Version=1.0.0.0, Culture=en-US, PublicKeyToken=null... 2023-08-18 09:35:35 PM Resolving assembly Unbroken.LaunchBox.Windows.resources, Version=1.0.0.0, Culture=en, PublicKeyToken=null... 2023-08-18 09:35:35 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Deactivated Start 2023-08-18 09:35:35 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Deactivated Before Pause Video 2023-08-18 09:35:35 PM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Deactivated Completed 2023-08-18 09:35:36 PM FIRST CHANCE EXCEPTION: Width and Height must be non-negative. at System.Windows.Size..ctor(Double width, Double height) Tried to click on report error and scrolldown but it creates around 15+ error popups then launchbox terminates. Any ideas please? Is there a way to revert to a previous version, would restore backup do it? To check if the issue existed before? Thanks James Edited August 18, 2023 by jlister Quote Link to comment Share on other sites More sharing options...
jlister Posted August 18, 2023 Author Share Posted August 18, 2023 finally managed to click report error and took me to bitbucket where I see it has been logged a few days ago already https://bitbucket.org/jasondavidcarr/launchbox/issues/7942/width-and-height-must-be-non-negative Quote Link to comment Share on other sites More sharing options...
wild-child83 Posted September 7, 2023 Share Posted September 7, 2023 Me and my friends also got the same errors with STEAM games... never had this before. This must be fixed This happened after updating Launchbox to version 13.6 Quote Link to comment Share on other sites More sharing options...
AlarmedPolecat5 Posted October 8, 2023 Share Posted October 8, 2023 I'm the one who reported it to bitbucket. I originally switched themes to get the error to go away, low and behold, it happened again with a different theme... EVERY time I update steam metadata like you said... Quote Link to comment Share on other sites More sharing options...
C-Beats Posted October 9, 2023 Share Posted October 9, 2023 Are you still seeing this issue in LaunchBox 13.7? Iff so could you provide an updated error print out from that window? Quote Link to comment Share on other sites More sharing options...
AlarmedPolecat5 Posted October 21, 2023 Share Posted October 21, 2023 On 10/9/2023 at 9:14 AM, C-Beats said: Are you still seeing this issue in LaunchBox 13.7? Iff so could you provide an updated error print out from that window? Sorry about the late response, I'm just getting over my second bout with Covid... Don't worry! I'm pretty good! What would be the correct way to get that that error report? as jlister said, it creates multiple error logs before I have to kill it from task manager. I can try and import my library later today. And while I'm on that topic, how do i preform a manual database backup? Quote Link to comment Share on other sites More sharing options...
C-Beats Posted October 23, 2023 Share Posted October 23, 2023 We've since added more logic into the current beta to help with this. It'd be helpful if you could opt into that version and let us know if you are still experiencing the issue there. Quote Link to comment Share on other sites More sharing options...
AlarmedPolecat5 Posted October 23, 2023 Share Posted October 23, 2023 (edited) Ok, ill switch over to the beta and mess around with it. I'll let you know if I still get the error Edit: I opted into 13.9 beta 1 and for some reason, am no longer getting this error. I updated the metadata for a lot of my steam games both automatically and manually and never got the error. I hope this is helpful for anyone who is experiencing this. Edited October 23, 2023 by AlarmedPolecat5 Updated Information Quote Link to comment Share on other sites More sharing options...
jeffreestar Posted March 9 Share Posted March 9 On 10/21/2023 at 12:52 PM, AlarmedPolecat5 said: Sorry about the late response, I'm just getting over my second bout with Covid... Don't worry! I'm pretty good! What would be the correct way to get that that error report? as jlister said, it creates multiple error logs before I have to kill it from task manager. I can try and import my library later today. And while I'm on that topic, how do i preform a manual database backup? In any case, it's a good idea to back up your data and configuration before making any significant changes to your software environment. This way, you can easily restore your system to a working state if anything goes wrong during the troubleshooting process. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.