Error at logbook table

Discussions about Diving Log 6.0 - questions and hints
Post Reply
Buceador
Posts: 42
Joined: Mon Apr 01, 2013 19:46

Error at logbook table

Post by Buceador »

Hi Sven,

just discovered a unknown feature at the logbook table. You can drag columns to the top and categorize accordingly. However when I open some of the groups it results in the following errror:
OperationException: System.Windows.Documents.Run is geen Visual of Visual3D.

bij MS.Internal.Media.VisualTreeUtils.AsVisual(DependencyObject element, Visual& visual, Visual3D& visual3D)
bij MS.Internal.Media.VisualTreeUtils.AsNonNullVisual(DependencyObject element, Visual& visual, Visual3D& visual3D)
bij System.Windows.Media.VisualTreeHelper.GetParent(DependencyObject reference)
bij DevExpress.Xpf.Core.Native.LayoutHelper.FindParentObject[T](DependencyObject child)
bij Divinglog.frmTable.GridView1_PreviewMouseLeftButtonDown(Object sender, MouseButtonEventArgs e)
bij System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
bij System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
bij System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
bij System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
bij System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
bij System.Windows.UIElement.OnPreviewMouseDownThunk(Object sender, MouseButtonEventArgs e)
bij System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
bij System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
bij System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
bij System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
bij System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
bij System.Windows.ContentElement.RaiseTrustedEvent(RoutedEventArgs args)
bij System.Windows.Input.InputManager.ProcessStagingArea()
bij System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
bij System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
bij System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
bij System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bij System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bij MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bij MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
bij System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
bij System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Diving Log Version: 6.0.20.0
Windows Version: Windows 10 (20H2 | Build 19042)
divinglog
Site Admin
Posts: 5327
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: Error at logbook table

Post by divinglog »

Thanks for reporting, this is a bit difficult to reproduce. If you could provide me your logbook file and the steps to reproduce, it would be helpful.
Buceador
Posts: 42
Joined: Mon Apr 01, 2013 19:46

Re: Error at logbook table

Post by Buceador »

Sent, thanks
divinglog
Site Admin
Posts: 5327
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: Error at logbook table

Post by divinglog »

Thank you very much, I could reproduce the error and fixed it for the next update. You can workaround this problem by clicking the small expander icon on the very left of the group to expand it, this will work. You can also click or double click on the right side of the group. The error happens only if you click directly on a group label (the text of each group).

Thank you for reporting this issue! Let me know if you want a fixed version before the next update arrives.

Kind regards,
Sven
Buceador
Posts: 42
Joined: Mon Apr 01, 2013 19:46

Re: Error at logbook table

Post by Buceador »

No hurry, thanks!
Post Reply