cancel
Showing results for 
Search instead for 
Did you mean: 

X-CUBE-TOUCHGFX 4.18.1 is out

Romain DIELEMAN
ST Employee

TouchGFX 4.18.1 is now online.

Release notes (which can be found in the online documentation) are as follows:

  • Bugfixes in TouchGFX Designer:
    • Various network stability fixes
    • Adding images to a project that contains a Progress Indicator while TouchGFX Designer is open could result in a crash
    • Add Widget Menu could enter a state where the search text box was not focused when opening the menu
    • Resources Texts could not be selected for a "Set wildcard" action
    • Missing BW_4.18.0

You can find the post for the release of TouchGFX 4.18.1 and its questions here. Please continue commenting on what could be missing or to report bugs.

Reminder of the TouchGFX 4.18.0 release notes:

  • New TouchGFX Designer Features:
    • New Widget: Video.
    • Added support for new .xml text database.
    • Removed TextEntries database from .touchgfx file.
    • Added support for XRGB.
    • Added full path of applications in recent applications list.
    • Added various animations to icons.
  • Bugfixes in TouchGFX Designer:
    • Fixed missing proxy dialog.
    • Fixed Gauge widget code generation error when placed in Custom Container Definition.
    • Fixed TouchGFX Designer reporting file changes on disk, when files were opened in other editors.
    • Fixed Analog Clock being able to resize.
    • Fixed typography selector in text manager not resizing correctly.
    • Fixed drop down controls sometimes autoselecting.
    • Improved performance of text manager.
    • Improved performance of color pickers.
    • Improved UX behaviour of alpha slider controls.
    • Fixed numeric property up/down controls not working after using mouse wheel.
    • Fixed tabbing between property controls.
    • Fixed dither algorithm selector items missing their names.
    • Fixed ScrollWheel widget erroneous state after deleting the custom container used for Selected Style template.
    • Fixed crash when trying to open recent application that has been deleted on disk.
  • New TouchGFX Core Features:
    • Texts and Languages (translations) are now stored in texts.xml instead of texts.xlsx (Excel format). Tool for exporting and importing translations have been added (touchgfx/framework/tools/textconvert/translation.rb).
    • New Widget: VideoWidget.
    • Added libjpeg libraries for Linux and Windows in 3rdparty/libjpeg (note that Red and Blue are swapped compared to official libjpeg).
    • The simulator can now handle display size not equal to framebuffer size. After call to touchgfx_generic_init() use HAL::setFrameBufferSize() to set the (larger) framebuffer size.
    • Added Drawable::center(), centerX(), centerY() to center a drawable inside its parent.
    • Added Drawable::expand() to make a Drawable the same size as its parent, optionally with a margin around the edge.
    • Added LCD::fillBuffer() to fill a color pattern in any memory buffer.
    • Added ScrollableContainer::getChildrenContainedArea().
    • Faster drawing of ARGB8888 images on 16bpp LCD's.
    • Application::getCurrentScreen() is now static for ease of use.
    • Updated Freetype 2.10.4 to 2.11.0 (used by the font convert utility).
    • Updated nlohmann json 3.9.1 to 3.10.2 (used by the image convert utility).
    • Updated Ruby 1.9.3 to 3.0.2 (used by the text convert utility).
    • ScrollableContainer::doScroll() is now public and ensures that scrolling is valid.
    • The position and size of the root Container in a Screen can now be set.
    • All Bitmap Painters can offset the bitmap, and can tile the bitmap (to help save memory).
  • Bugfixes in TouchGFX Core:
    • TextArea automatic wordwrapping (WideTextAction) did not take indentation into account.
    • ImageConvert would not allow writing to another drive or a full path.
    • TextProvider::initalize() with ... parameter could generate unexpected results.
    • All extern declarations in generated files now match the actual declarations.
    • Possible mess up of FRAME_BUFFER_WIDTH and FRAME_BUFFER_HEIGHT when performing display orientation change.
    • ProgressIndicators and Gauges could not be used with mixins with a timer.
    • PixelDataWidget::getSolidRect() now returns empty Rect when no pixel data buffer has been set.
    • PixelDataWidget::getPixelData() and PixelDataWidget::getBitmapFormat() added.
    • Made simulator applications more responsive to mouse and keyboard events.
    • ScrollableContainer::moveChildrenRelative() now updates values for getScrolledX() and getScrolledY(), but does not update scrollbars. However, moveChildrenRelative() is scheduled to be deprecated, please use doScroll() instead.
    • Fix incorrect use of relative coordinates in ScrollableContainer.
    • Fixed EasingEquations::elasticEaseIn(), EasingEquations::elasticEaseOut() and EasingEquations::elasticEaseInOut().
    • Some 8bpp painters would use the wrong color and in rare cases L8_RGB888 on 32bpp displays would be wrong.
    • LCD16bpp::blitCopy() did not support RGB888.
    • LCD16bpp::fillRect() and LCD16bpp::drawGlyph() now passes 24bit color instead of native 16bit color to DMA.
  • Deprecated TouchGFX Core Features:
    • TouchGFX will soon have support for RGB565 with alpha channel removed. ImageConvert will report this to help a move to e.g. ARGB8888.
    • SDL2 for Linux is no longer included in TouchGFX. Please install package libsdl2-dev and libsdl2-image-dev in your Linux environment.

4 REPLIES 4
Tuoman
Senior II

Is there estimated release time for 4.19 version?

We need "Base view" ASAP. Waiting for 2 years now.

https://community.st.com/s/question/0D50X0000CBl27ZSQR/add-an-interaction-to-all-screens

Guopeng
Associate II

Solved.

When I tried this video for a STM32F767 MCU, and I enabled the hardware jpeg, and the generated code will run into hardware fault.

in __sti___24_TouchGFXGeneratedHAL_cpp_db822bdb, it will call HardwareMJPEGDecoder::HardwareMJPEGDecoder

and then call osSemaphoreCreate, but at this time, the rtos is not yet initialized, you can find my configuration in below, and let me know your comments if you have ,thanks.

0693W00000KcrmxQAB.png0693W00000KcrlaQAB.png 

0693W00000KcrnvQAB.png0693W00000Kcro5QAB.png

netanelu
Associate III

Just started a new project (based on stm32h7b3 dk) with gfx designer, opened it with the ide, compile once and it worked. at the second time code was generated with the designer the file "Screen1ViewBase.hpp" added a sign and cant be compiled (you can cancel the read only and fix it), it because a comma was added to the file:

#include <touchgfx/widgets/Image.hpp>
#include <touchgfx/widgets/ButtonWithLabel.hpp>
#include <touchgfx/widgets/TextArea.hpp>
`   //HERE THERE IS A COMMA!!!
 
class Screen1ViewBase : public touchgfx::View<Screen1Presenter>
{
public:

Somehow problem solved, but i'm still have a hard time adding the generated source to the stm32 ide. the ioc file location is not correct and the ioc name is not correct and after generating the IOC from the ide there are compiler errors... if there is updated video/presentation/guide I will really like to have a link shared, Thanks.