Skip to main content
Associate III
December 27, 2025
Question

Ubuntu 25.10 - Intermittent STM32CubeIDE duplicated file read-only until restart of STM32CubeIDE

  • December 27, 2025
  • 1 reply
  • 379 views

An intermittant bug... (as it happens it doesn't occur as I am reporting this issue).

Open up a STM32CubeIDE project.

Navigate to a project Source Folder, e.g. XYX...Core...Src

Highlight a source file, e.g. "main.c",

right-click "Copy", right-click "Paste". Click "Ok" to the suggested filename "main2.c".

Double-click "main2.c" to edit it, You can't cut or modify any text in the file, nor type in any new text.

Close STM32CubeIDE and launch it again... the file is now editable.

The bug appears perhaps 2% of the time, not a deal breaker but a bit annoying.

 

 

1 reply

Technical Moderator
December 31, 2025

Hello Bags,

Thank you for reporting this issue. I understand that it does not occur consistently on your side.

Could you please try deleting the cache folders such as .settings and the build directories, then attempt again?

Regards.

In order 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.
BagsAuthor
Associate III
December 31, 2025

When the issue occurs, you just have to close down STM32CubeIDE and then relaunch STM32CubeIDE. No fiddling of files required.

Note, when it happened again a few days ago, I found that I could click in the errant text file and insert\delete text characters using the keyboard, but mouse highlight cut & paste mechanism didn't work at all. This is a slightly different fault from the original which prevented any text modification at all.

Fault has occurred twice in 5 days.