cancel
Showing results for 
Search instead for 
Did you mean: 

X-CUBE-TOUCHGFX 4.21.1 is out

Osman SOYKURT
ST Employee

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.

  

Details :

  • Release date: January 16th, 2023
  • Bugfixes in TouchGFX Designer:
    • Fixed bug where locking a widget would cause it to appear in position (0,0) when compiling the code
    • Fixed faulty memory usage when switching between screens
    • Fixed case where importing a Custom Container containing a font already existing in the project could cause a crash
    • Fixed a case where some widgets would not show their used images correctly when copy/pasted
  • Bugfixes in TouchGFX Core:
    • Solid colors in SVGs would wrongly be placed in RAM.

4.21.0 Release details::

  • Release date: December 19th, 2022
  • New TouchGFX Designer Features:
    • TouchGFX Stock added. Free designs, images and icons provided within TouchGFX Designer.
    • Access to material icons made by Google.
    • New SVG Image widget.
    • New image picker for all image-related widgets.
    • New preset picker for browsing themes and presets.
    • Mouse coordinates shown when hovering canvas.
    • New action for setting border color on box with border widget.
    • Now able to navigate widget menu using arrow keys.
    • Progress indicator widgets now support two new triggers, ValueUpdated and ValueUpdatedCompleted.
    • Ability to close current project from file menu.
    • Designer now remembers start up and save folder.
    • Added tooltips for visibility and lock buttons in tree view of canvas.
    • Added new icon for lock button in tree view of canvas, to make it more clear if a widget is locked or unlocked.
    • Added delay property to move and fade actions.
  • Bugfixes in TouchGFX Designer:
    • Fixed bug regarding DPI of images used in Analog clock.
    • Fixed bugs regarding linespacing.
    • Fixed bug with minimum and maximum check for x-range in Static Graph.
    • Fixed bug regarding auto-size in TextArea widget.
    • Fixed being able to set negative border width on box with border widget.
    • Fixed disappearing interaction when undoing.
    • Fixed bug with DPI in images used by Gauge widget.
    • Fixed bug with not showing an error when deleting wildcard character in TextProgress and DigitalClock widgets.
    • Fixed bug with long names in interactions.
    • Fixed bug with escaped characters in text.
    • Changing startup screen now results in unsaved changes.
    • Fixed bug with code generation regarding ScreenAnimationEnded trigger.
    • Fixed bug happening when users attempt to open a project with an unknown version.
    • Text field size in Widget tree view increased.
    • Fixed the ability to select multiple screens using right mouse click.
    • Fixed being able to set radius of a Circle Widget to a negative number
    • Fixed text for checkboxes not wrapping.
    • Fixed image icon not updating when changing simulator skin image.
  • New TouchGFX Core Features:
    • New widget: SVG Image
    • Support in image converter to read basic SVG images. These are converted to binary data that can be drawn using the SVG Image widget. See the documentation for more information.
  • New wide text actions and redefinition of two existing formats:
    • WIDE_TEXT_NONE: No change, no automatic line breaks.
      • WIDE_TEXT_CHARWRAP_DOUBLE_ELLIPSIS: No change, will add two ellipsis at end of the last line in the TextArea.
      • AbstractShape::setFillingRule() added to also allow EVEN-ODD filling, in addition to the default NON-ZERO filling.
      • As images on monochrome displays do not support alpha channel, any alpha value is now applied to each pixel before converting to BW.
      • Optimized SlideTransition and CoverTransition.
      • Class FullSolidRect has been removed from WipeTransition.
      • ImageConvert is using updated libpng 1.6.38. Generated images look the same.
    • WIDE_TEXT_WORDWRAP: Changed, will keep adding line breaks and will not add ellipsis.
    • WIDE_TEXT_WORDWRAP_ELLIPSIS: New, will add ellipsis as late as possible (even mid-word) on the last line in the TextArea.
    • WIDE_TEXT_WORDWRAP_ELLIPSIS_AFTER_SPACE: No change, automatic line breaks, ellipsis will not be in the middle of a word.
    • WIDE_TEXT_CHARWRAP: Changed, will keep adding line breaks and will not add allipsis.
    • WIDE_TEXT_CHARWRAP_ELLIPSIS: New, will add ellipsis at end of last line in the TextArea.
  • Bugfixes in TouchGFX Core:
    • Font metrics are handled better so now font height does not depend on which letters are actually being used. This means that default line spacing might be different - this can be adjusted using TextArea::setLinespacing(). For GraphLabels and ButtonWithLabel, texts might be placed better, depending on your font.
    • Setting a negative radius on a Circle will set the radius to zero.
    • Setting a negative line width on a Circle will set the line width to zero (causing a filled circle to be drawn).
    • More robust handling of timer widgets in cases with lots of timer widgets.
    • Fixed performance issue observed when upgrading to TouchGFX 4.19.0, 4.19.1, 4.20.0 (Removed Container::invalidateContent())
    • Font::getSpacingAbove() return type changed from uint8_t to int16_t to prevent overflow.
  • Deprecated TouchGFX Core Features:
    • Font::getMaxTextHeight() and Font::getMinimumTextHeight() have been replaced by Font::getHeight(). Returns the height of the font.
    • Font::getFontHeight() has been replaced by Font::getBaseline(). Returns the distance to the baseline.

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!

Osman SOYKURT
ST Software Developer | TouchGFX
16 REPLIES 16
MM..1
Chief III

Nice but is compatible with 1.11 IDE ? My 1.10.1 say no

Hello MM..1,

Can you send us a screenshot of the message you have on STM32CubeIDE please?

/Osman

Osman SOYKURT
ST Software Developer | TouchGFX

0693W00000Y8vs7QAB.png

Ok, that's strange, I don't have this warning on my side with STM32CubeIDE 1.11.0.

Can you try to install the Package from STM32CubeMX directly instead, and not from the STM32CubeIDE interface?

0693W00000Y8vyUQAR.pngAlso maybe click on "Check for Updates" under the Help menu.

/Osman

Osman SOYKURT
ST Software Developer | TouchGFX

Maybe you misread my message i have 1.10.1

and update test say no new IDE exist.

But soft package as on image.

And your last image is answer yes 1.11 is compatible ...

MM..1
Chief III

Somethink about SVG. I try CorelDraw , AdobeIlustrator usw. No compatible file for TGFX.

based on errors showed i remove manualy baseProfile and for warning remove too ViewBox

for usable image, but boys publish new release TGFX without this issues in future.

<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 15.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
<svg version="1.2" baseProfile="tiny" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
	 x="0px" y="0px" width="286.3px" height="73.7px" viewBox="0 0 286.3 73.7" xml:space="preserve">

Hello ,

Thank you for your message, we always like to hear user experience feedback, it helps us a lot to improve our software :thumbs_up:

Concerning SVG, as described in the documentation, TouchGFX does not include the whole SVG Tiny 1.2 standard. That's why the compatibility with the other tools you mention is not perfect. We have described a workaround to use ViewBox attribute for the moment, and we'll consider to support it in future.

/Osman

Osman SOYKURT
ST Software Developer | TouchGFX

Primary if isnt compatible why is showed in Designer without warning or required changes info. Error is showed only on generate proces for example you make hours of job and dont see one trouble in designer...

Second is possible add Alpha control into SVG image? Required as on image.

Hello MM..1,

We understand and take note of your feedback. Until we found a solution for this, please press F4 to Generate code as soon as you integrate your SVG to see if it's compatible or not.

For your second question, applying an alpha to a SVG image is not possible with the SVG widget. This is difficult to identify which layer/shape of your SVG the alpha channel needs to be applied. For instance, let's say you have a SVG made of 4 different layers/shapes, If you apply an alpha to it, should it take in account the layer in foreground, or apply the alpha on the background as well ?

If you want to use alpha, our recommendation is to use the SVG inside a container which is cacheable and on which you have the possibility to apply a alpha. The SVG inside this container would react then as a bitmap.

/Osman

Osman SOYKURT
ST Software Developer | TouchGFX