Jump to content
LaunchBox Community Forums

upgraded to latest launchbox 13.6 and it is crashing with width and height must be non-negative


jlister

Recommended Posts

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.

 

 

image.thumb.png.df9c6f32c1ad77e72c789f56bb2148ed.png

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 by jlister
Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...
  • 2 weeks later...
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?

Link to comment
Share on other sites

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 by AlarmedPolecat5
Updated Information
Link to comment
Share on other sites

  • 4 months later...
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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...