2025-12-01 5:37 AM - last edited on 2025-12-01 6:14 AM by Andrew Neil
Hello ST Community,
I am writing to report a serious regression in STM32CubeMX 6.16.0 running on Arch Linux (KDE Plasma) with a 1920x1080 resolution.
Environment:
OS: Arch Linux (Rolling)
Java: OpenJDK 25
Desktop: KDE Plasma (Wayland/X11)
Screen Resolution: 1920x1080
The Regression (Comparison):
1. STM32CubeMX 6.15.0 (Previous Version):
Status: Works perfectly out-of-the-box.
Details: I did not need to modify any configuration files or set any environment variables. The application launched correctly, the UI was usable, and the window could be resized and maximized without issues.
2. STM32CubeMX 6.16.0 (Current Version):
Status: Unusable / Broken.
Details:
The default UI rendering has issues (fonts are tiny or behavior is inconsistent).
When trying to fix it using standard scaling methods (e.g., _JAVA_OPTIONS="-Dsun.java2d.uiScale=2" or GDK_SCALE=2), the window management breaks.
The window refuses to maximize, enter full screen, or resize properly. It seems internal window constraints have been changed, making it incompatible with 1080p screens when scaling is involved.
Conclusion: Version 6.16.0 has broken the stable "plug-and-play" experience that 6.15.0 provided on Linux. I have reverted to 6.15.0 for now. Please check the window size constraints and scaling logic in the new update.
Thanks.
2025-12-01 5:42 AM - edited 2025-12-01 6:29 AM
Hello @TheWinds
After checking UM1718
STM32CubeMX 6.16.0 is only tested and supported on specific Linux distributions (like Ubuntu LTS and Fedora).
Arch Linux is not officially supported, so compatibility is not guaranteed.
THX
Ghofrane
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-12-01 6:46 AM
Thank you for the clarification.
I understand that Arch Linux is not officially supported. However, I would like to point out two critical factors that suggest this is a software regression rather than a distribution-specific issue:
Fedora uses KDE Plasma too: You mentioned Fedora is a supported distribution. Fedora offers an official KDE Plasma Spin, which uses the same Window Manager (KWin) and underlying display logic as my system. Since this issue (window size constraints and resizing locks) is related to the desktop environment interaction, Fedora KDE users are likely to face the exact same problem.
Regression from 6.15.0: The previous version, 6.16.0, worked perfectly on this exact same machine and configuration without any issues. The fact that it broke immediately after the update strongly indicates a change in the internal window constraint logic of STM32CubeMX, irrespective of the underlying Linux kernel.
I am reporting this to help the development team identify a bug that likely affects supported distributions (like Fedora KDE) as well. I hope you can pass this feedback to the technical team.
Regards.