Dear STMicroelectronics Support Team,
I am experiencing a persistent and frustrating issue with STM32CubeProgrammer on my Windows 10 system, where the top menu bar (File, Edit, Options, Help, etc.) is completely missing when the application launches. The main window appears, but without the menu.
This issue persists across different versions of STM32CubeProgrammer.
Here are the detailed symptoms and troubleshooting steps I have already performed:
1. Problem Description:
- When launching STM32CubeProgrammer (both v2.19.0 and v2.18.0), the main application window appears, but the entire top menu bar (File, Edit, Options, Help, etc.) is absent.
- The application does not crash immediately; it simply displays without the menu, making it unusable. (Initially, it would flash and disappear, but after a clean reinstall, it now stays open without the menu.)
2. Key Observation (Important Clue):
- STM32 Trusted Package Creator, another STMicroelectronics GUI tool, works perfectly fine on the same system, including its top menu bar. This suggests the issue is specific to STM32CubeProgrammer and not a general system or Java environment problem.
3. System Information:
- Operating System: Microsoft Windows [Version 10.0.26100.4349] (64-bit)
- Java Environment:
- Currently using the internal JRE provided with STM32CubeProgrammer installation.
- Previously attempted to replace the internal JRE with Adoptium Temurin OpenJDK 1.8.0_452 (JRE, .zip version) by manually swapping the jre folder inside STM32CubeProgrammer/bin. This resulted in the program failing to launch at all, so I reverted to the original internal JRE.
- My system's JAVA_HOME and Path environment variables are correctly set to C:\Program Files\Eclipse Adoptium\jdk-8.0.452.9-hotspot. (java -version correctly shows OpenJDK 1.8.0_452.)
- Graphics Card: NVIDIA GeForce RTX 3050 4GB Laptop GPU (Driver version 537.13 or later. Given that STM32 Trusted Package Creator works, a general graphics driver issue is less likely).
4. Extensive Troubleshooting Steps Already Taken:
- Complete Clean Reinstallation of STM32CubeProgrammer:
- Uninstalled via "Apps and Features."
- Manually deleted all residual folders (e.g., in C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer, C:\Users\YOUR_USERNAME\STMicroelectronics\STM32CubeProgrammer, AppData\Roaming, AppData\Local, etc.).
- Rebooted PC.
- Downloaded a fresh installer (latest v2.19.0, and also tried v2.18.0) from the official ST website.
- Installed with "Run as administrator."
- Result: Problem persists after each clean reinstall.
- Configuration File Reset:
- Deleted config.properties and updater.ini from C:\Users\YOUR_USERNAME\STMicroelectronics\STM32Cube\STM32CubeProgrammer (and similar AppData paths if they existed).
- Result: Problem persists.
- Run as Administrator: Always launched STM32CubeProgrammer.exe with administrator privileges.
- Compatibility Mode & High DPI Settings:
- Applied compatibility modes (Windows 8, Windows 7) and changed High DPI scaling behavior to "Application."
- Result: No change.
- STM32CubeProgrammer.l4j.ini Modification:
- Edited STM32CubeProgrammer.l4j.ini in .../bin folder (after making a backup) to add:
-Dsun.java2d.noddraw=true
-Dsun.java2d.opengl=false
- Result: No change in menu display.
- Direct Command Line Execution (for diagnosis):
- Attempted to run STM32_Programmer_CLI.exe and java -jar ".\STM32CubeProgrammer.jar". The .jar file was confirmed not to exist (only .exe wrapper).
- STM32_Programmer_CLI.exe execution was successful (indicating CLI functionality is fine, but this doesn't resolve GUI).
- Windows System File Checker (SFC) Scan:
- Unable to perform sfc /scannow as I cannot consistently launch Command Prompt or PowerShell with administrator privileges (right-click menu issues on CMD, though other applications work normally). This indicates minor system-level quirks but not a general system failure, as other core applications and even ST's Trusted Package Creator work.
- Windows User Profile: Have not yet created a new Windows user profile to test, but given the specificity to this one application, its likelihood is considered lower than an ST-specific issue.
- Antivirus/Security Software: Briefly disabled antivirus (if any) during testing.
5. Request for Assistance: I have exhausted all common troubleshooting methods. Given that STM32 Trusted Package Creator works perfectly, I suspect there might be a very specific configuration or compatibility issue within STM32CubeProgrammer itself, or an uncommon interaction with my system environment.
Could you please provide further guidance or a specialized solution for this issue? I am willing to provide any logs or additional information you may require.
Thank you for your your time and support.