2022-10-05 08:31 AM - last edited on 2024-05-29 03:03 AM by LouisB
This has happened multiple time where when I try to delete a Text object while in the Search Results screen of TouchGFX Designer an error occurs. It does seem to delete the entry but gives an error. Attached is the error popup that occurs.
Here is the Log file entry...
2022-10-05 10:23:21,060 [1] ERROR TouchGFXDesigner.App: Sequence contains no matching element
System.InvalidOperationException: Sequence contains no matching element
at System.Linq.ThrowHelper.ThrowNoMatchException()
at TouchGFXDesigner.Main.Project.Texts.TextTab.TextTree.TextTreeViewModel.TextSelection_SelectedTextsChanged(Object sender, NotifyCollectionChangedEventArgs e)
at TouchGFXDesigner.Main.Project.Texts.TextTab.TextSelection.RemoveTextFromSelected(Text text)
at TouchGFXDesigner.Main.Project.Texts.TextTab.TextGrid.TextRowViewModel.set_IsItemSelected(Boolean value)
at TouchGFXDesigner.Styles.Behaviors.TextDataGridBehavior.SelectItem(ItemContainerGenerator root, Object item, Boolean isCtrlDown)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(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)
Solved! Go to Solution.
2022-10-12 07:16 AM
Hello PFlor.2,
Thank you very much for your contribution. I reproduced this bug in my computer as well. I'll report this to my colleagues and I'll get back to you when I'll have more info concerning a fix.
/Osman
2022-10-12 07:16 AM
Hello PFlor.2,
Thank you very much for your contribution. I reproduced this bug in my computer as well. I'll report this to my colleagues and I'll get back to you when I'll have more info concerning a fix.
/Osman
2022-11-04 07:43 AM
Same problem here
2022-11-04 08:08 AM
Within the help of Git, I went back to the last version of the following file:
...\TouchGFX\assets\texts\texts.xml
Before I created a new language, which I deleted later. I think the code generator did not delete this language link and this caused the error.
cheers Jimmy