Showing results for 
Search instead for 
Did you mean: 

X-CUBE-TOUCHGFX 4.22.1 is out!

ST Employee

TouchGFX 4.22.1 is now out.

Please follow this link to download it.

This version is a patch release and includes bugfixes of issues seen on TouchGFX Designer 4.22.0 version.

Release details:

  • Release date: September 8th, 2023

  • Bugfixes in TouchGFX Designer:
    • Fixed crash bug when font for language setting was missing.
    • Fixed crash bug when generating very large projects.
    • Fixed visibility parameter for SVG Image widget not being generated.
    • Fixed erroneous links for the "Request feature" and "Q&A" buttons.
    • Fixed not being able to set "Size in bytes" when toggling "Override default buffer size".
    • Fixed "Images" being empty when importing a GUI.
    • Fixed being able to insert a Custom Container in another Custom Container.
    • Fixed crash bug when no widget property is selected and the keyboard arrow keys are clicked.
    • Fixed bug where fonts with predefined bitmaps were not rendering when selecting a size that was not included in the list of available sizes.
  • Bugfixes in TouchGFX Generator:
    • Removed compiler specific code from HardwareMJPEGDecoder.cpp.
    • Fixed crash bug in HardwareMJPEGDecoder.cpp when using CubeIDE/GCC.
    • Fixed compiler redefinition errors when including arm_compat.h (relates to new version of CMSIS in STM32CubeMX).
    • Moved videoRGBBuffer to a namespace in TouchGFXGeneratedHAL.cpp, to avoid buffer clearing at runtime.
  • Improvements in TouchGFX Generator:
    • GPU2D command list and stencil buffer can now be placed in different memories.
  • Bugfixes in TouchGFX Core:
    • Fixed bug in ScrollWheel overshoot.
    • Fixed bug in rendering SVG Image together with a Texture Mapper.
    • Fixed linker issue seen with nemagfx_core_release.a library for Cortex-M7.
    • Optimized blending for non-transparent elements on STM32U5 platforms.


4.22.0 Release details :

  • Release date: June 19th, 2023

  • New TouchGFX Designer Features:

    • Added ability to specify L8 compression for images.
    • Added direct user communication.
    • Improved proxy authentication management.
    • Added description tooltips to the different image formats.
    • Containers can now be marked as cachable from inside TouchGFX Designer.
    • Drag and drop SVG images to TouchGFX Designer now creates an SVG image widget.
    • Added the ability to cancel "Generate Code", "Run Simulator" and "Run Target" commands.
    • The MJPEG software converter is now included when video is enabled in additional features.
    • Right-clicking a widget in the canvas tree view when having multiple widgets selected now affects all selected widgets.
    • The context menu inside the image tab is now identical between the tree view and the image table.
    • When deleting multiple text groups inside the text tab, the prompt now asks for confirmation for all selected text groups.
    • Added SetBorderSize action.
  • Bugfixes in TouchGFX Designer:

    • Fixed discrepancy between canvas and simulator when positioning texts.
    • Fixed bug where the "Run Simulator" tooltip would not disappear.
    • Fixed faulty memory usage when using large values for SVG image widget.
    • Fixed errors regarding interactions sometimes not showing.
    • Fixed faulty keyboard focus in the widget menu, when previous focus is outside of TouchGFX Designer.
    • Fixed renaming an interaction not triggering a refresh of the name in places where the renamed interaction is used.
    • Fixed scenarios where a backup .touchgfx file would be unnecessarily created.
    • Fixed whitespace characters in wildcards being ignored and removed by the Designer.
    • Fixed "Unsaved Changes" popup appearing sometimes when no changes were made.
    • Fixed crash when loading a read-only .touchgfx file.
    • Resizing tab with the mouse made easier.
    • Moving TouchGFX Designer to a secondary extended screen could cause TouchGFX Designer to not show the canvas.
    • Fixed issue where pressing the F5 key twice would run the simulator but TouchGFX Designer would output an unwarranted error in console.
    • Cleaned up some generated code for ScrollList.
    • Fixed having a space in Windows path would cause different behaviour when opening a project from inside TouchGFX Designer versus opening the file directly from the Windows path.
    • Fixed dragging texts in the text tree view would have no effect.
    • Generating code which includes button widgets could make the unsaved circle appear after generating code.
    • Fixed edits made to files via Visual Studio not being detected by TouchGFX Designer.
    • Removed an extra generated semicolon from ScreenPresenter.hpp.
    • Fixed faulty keyboard focus in the text tab.
    • Fixed a bug where copy and pasting a screen with a Set Text interaction, and then deleting the interaction from one of the screens, would wrongly remove the text used from both interactions.
    • Fixed the red error dot only showing on a screen tree view node when the node is collapsed.
    • Enlarged the splitter area needed to change the width of text tree tab.
    • Fixed code generation in file FrontendApplicationBase.cpp.
    • Fixed removing the hour and the minute hand in an analog clock causing the second hand to not show on canvas.
    • Fixed having multiple text translations for the same language corrupting the project.
    • Fixed deleting an interaction which triggers another interaction would not giving an error on the second interaction.
    • Fixed videos showing with different colors in the simulator when the project uses 32 bits per pixel.
    • Fixed elements being rendered on the canvas in reverse order for dynamic/static graphs.
  • New TouchGFX Core Features:

    • Added L8 Image Compression for 16bpp, 24bpp and 32bpp framebuffer formats.
    • Added IAR 9.20.1 libraries for cortex M0+, M4f, M7, M33, and M55. Removed IAR 7 library for M7.
  • Bugfixes in TouchGFX Core:

    • Deleting the last page in a SwipeContainer was not possible.
    • Unicode::snprintfFloats() rounding error fixed.
    • Setting new bitmaps on a Slider would not update the screen correctly.
    • Slider now uses int16_t consistently to allow for use of negative values. Indicator position is more precisely calculated.
    • ScrollWheel now respects setOvershootPercentage().
    • Fixed parser error in SVG ArcTo command.
    • Fixed assert in LCD.cpp regarding Wide Text with ellipsis.
    • Fixed issue on GPU2D (NeoChrom) targets where changing X and Y angle of TextureMapper widgets did not render correctly.
    • Fixed issue on GPU2D (NeoChrom) targets where HAL::lockFrameBuffer() did not properly process queued draw operations prior to returning.


Feel free to learn more about our new features by looking into our documentation !


Attention : TouchGFX Designer 4.22.1 MUST be used with STM32CubeMX 6.9.1 or above (link to download STM32CubeMX 6.9.1).

Attention : If X-CUBE-TOUCHGFX 4.22.1 is not available in STM32CubeMX software yet, please navigate to "Help > Manage embedded software packages > STMicroelectronics > X-CUBE-TOUCHGFX". Then click on "From Local ..." and navigate to the file to install the new pack inside STM32CubeMX.

ST Software Developer | TouchGFX
Associate III

Can't install TouchGFX-4.22.1.msi on my Windows 11 computer.

Get this message:



Hello @Intector ,

Did you follow the document here to install TouchGFX Designer?
We would need more information to investigate on your issue. Could you send us some logs you could get from windows installer logging?

ST Software Developer | TouchGFX