2023-01-23 01:14 AM
TouchGFX 4.21.1 is now out.
Please follow this link to download it.
This version is a patch release, and include bugfixes of issues seen on TouchGFX Designer 4.21.0 version.
4.21.0 Release details::
Attention : TouchGFX Designer 4.21.0 MUST be used with STM32CubeMX 6.7.0 or higher (link to download STM32CubeMX 6.7.0)
We strongly advice you to take a look at the new articles in the TouchGFX documentation :
Have a look also to our new article in our blog: TouchGFX 4.21: TouchGFX Stock, the largest library of graphical assets, free for STM32 MCUs
Hope you enjoy this new version!
2023-01-29 01:31 AM
I have some issues and / or feature suggestions:
When I add a SVG image, there is no option to set its color. Images like material icons have their color unset, default black. The only way to change the image color is to just download SVG and edit it manually adding style attribute to the path. There should be a way to set the color (default color) in SVG image properties. The color IS settable when the image is used in a button. Sometimes that scenario is not optimal. I made a custom toolbar with clickable areas, that are not exactly buttons. You can just click some areas on the toolbar, the icon is just a decoration. I had to set the SVG icon color by manually editing SVG file. Of course I could add an icon button instead, but that would be even uglier hack adding unnecessary objects and code to the project.
When I try to enter anything in the search box, the currently selected category (from the menu on the left) is totally ignored. The search is performed on ENTIRE SVG IMAGE LIBRARY. This is super slow and practically completely unusable. Each time I need to select an icon I need just scroll the very long list that takes a lot of time. Even when I roughly know the name of the resource. Let's say it's something related to the word "user". I type "user" and I get everything, backgrounds, decorations, it would take forever to just scroll to a user icon.
Stock items are not listed in project assets. It's difficult to find them in my project files to edit them. When I needed to edit the color of SVG icons (not icon buttons) I needed to download the SVG files directly from Google website, add them as images to my project assets library, then edit the SVG files. It's a very inconvenient workaround for the issue, so it would be great if the stock items could be just added to the library directly.
General issues:
2023-01-31 01:41 AM
Hello HTD,
Thanks a lot for your relevant feedback. Once again, constructive and complete messages like yours are important for us. You have indeed pointed things we're currently working on. I'll share the other ones with the team.
/Osman
2023-02-05 11:17 PM
2023-02-06 01:47 AM
Hi MM..1,
Yes, it doesn't show the fade choice, it's usable with code:
In .hpp :
class Screen1View : public Screen1ViewBase
{
...
protected:
uint32_t sdramBuffer[800*480*24/8];
uint16_t* sdram = (uint16_t*)sdramBuffer;
..
};
In .cpp :
Bitmap::setCache(sdram, 400*480*24/8, 2);
Bitmap dynamicBitmap1 = Bitmap::dynamicBitmapCreate(400, 400, Bitmap::RGB888);
container1.setCacheBitmap(dynamicBitmap1);
container1.enableCachedMode(true);
container1.updateCache();
container1.setAlpha(90);
container1.invalidateContent();
/Osman
2023-02-06 09:17 AM
Yes thanks, i need fade in image , then more lines not simple ...
On handling this i have sugestion, add fade in screen option over LTDC alpha ...
2023-02-10 04:46 AM
This version crashes from time to time. It has maybe todo with change of size of widgets.
2023-02-10 13:34:54,478 [1] ERROR TouchGFXDesigner.App: Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at TouchGFXDesigner.Main.Project.Structure.WidgetMovementManager.UpdateFakeScreen(Application application)
at TouchGFXDesigner.Main.Project.Structure.WidgetMovementManager.HandleCanvasMove(Int32 deltaX, Int32 deltaY, Int32 deltaWidth, Int32 deltaHeight, Rect boundingBox)
at TouchGFXDesigner.Main.Project.Structure.WidgetCanvas.CanvasAdorner.ThumbsAdorner.ThumbsAdornerViewModel.ThumbDragged(Double dX, Double dY, ThumbPosition thumb)
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.Controls.Primitives.Thumb.OnMouseMove(MouseEventArgs e)
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)
2023-02-25 12:55 AM
TouchGFX is crashing someimes.
It just happened again.
I created some new pages and copied the content from one page to the others which use the same container.
When i tried to move up (drag&drop) one icon in the same page from bottom to top (to have it visible) the app freeze and close without any errormessage.
Crashlog is attached. Please have a look.
Thank you.