cancel
Showing results for 
Search instead for 
Did you mean: 

X-CUBE-TOUCHGFX 4.21.0 is out

Osman SOYKURT
ST Employee

TouchGFX 4.21.0 is now out.

Please follow this link to download it. 

Attention : TouchGFX Designer 4.21.0 MUST be used with STM32CubeMX 6.7.0 or higher (link to download STM32CubeMX 6.7.0)

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_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.

  * 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.

* 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.

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
8 REPLIES 8
Jnevi.1
Senior

in TouchGFX 4.20 i added PhysicalButtons like described in the documentation and it worked fine

"PhysicalButtons": [
      {
        "Key": 0,
        "Name": "BUTTON_0"
      }
    ],

I see BUTTON_0 appearing in the touchgfx designer Trigger "Hardware Button is clicked"

After updating to 4.21 this does not work anymore. The physical buttons are not shown in touchgfx designer

CRich.4
Associate III

i have a visual bug, since i Updated to TouchGFX 4.21.0 (from 4.20.0)

it happens when rendering images in the L8_565 format (plain RBG_565 works) or text

i'm using a STM32 nucleo board with a STM32H7A3 processor

when i generated the code with CubeMX 6.6.1 and TouchGFX 4.20.0 it worked without artifacts

but after i updated to CubeMX 6.7.0 and TouchGFX 4.21.0 it started showing these artifacts:

example 1: this full screen image should have a solid yellow background, it is revealed using a wipe transition from black to the image. The wipe transition leaves black artifacts on the right edge (transition goes from left to right)

0693W00000Y85hHQAR.jpgExample 2: the text on the last menu tile is sometimes cut in half, it should say "Sprache"0693W00000Y85hvQAB.jpg

i have the same problem

TouchGFX Designer 4.20 shows the physical button names, but TouchGFX Designer 4.21 doesn't

Hello CRich.4,

A dedicated thread is available here concerning this issue.

/Osman

Osman SOYKURT
ST Software Developer | TouchGFX

Hello CRich.4,

I invite you to create a new thread for you issue, and we'll try to help you :)

0693W00000Y85p6QAB.png 

/Osman

Osman SOYKURT
ST Software Developer | TouchGFX
rohan_m
Senior

Hello,

Can you please provide a planned timeline for the release of new touchgfx versions in the future ?

Also like which is the latest LTS version that we should use ?

@Osman SOYKURT​

Hello rohan_m,

This information is confidential, we can't provide any timeline to public until some days before the release. For your 2nd question, our vision is to encourage people to use the latest software available to get the latest features, because we want to improve the user development ease with a powerful and complete solution. So I want to say, you should use the latest one. By the way, upgrading your project from a version to a higher one is very easy with TouchGFX.

We have released a new version some days ago, I'll invite you to have a look at it :)

/Osman

Osman SOYKURT
ST Software Developer | TouchGFX