cancel
Showing results for 
Search instead for 
Did you mean: 

CubeIDE not switching context properly from CubeMX to C editor tab

MattKefford
Associate III

Hi, I've noticed for the past few versions that this issue has been present. When I switch from a C editor tab to the CubeMX (.ioc file) tab the view transitions properly but when I switch back the other direction, it changes tab to the C file and changes the context then quickly changes the tab back to the .ioc file.

I recorded a screen capture of it which I have attached so you can see what I mean.

Is this a known bug, is there something I can do to fix it? Will it be fixed in a future release?

3 REPLIES 3
Markus GIRDLAND
ST Employee

It looks like you're on macOS, is that correct? What version?

Does it happen every time?

Are you using 1.3.0 or is that just the name of the workspace? If you are, does it also happen on 1.4.2?

I tried reproducing on my Windows but I don't get the same thing. But I have a macOS in the office that I can test with, but I'd like as much details as I can get before I start the test :D

MattKefford
Associate III

Hey Markus, yes that's right macOS Catalina 10.15.7, I recently upgraded from Mojave and it happened on there too.

Yes it happens every time. It's like it is intent on showing the .ioc file as a priority.

I am using 1.4.2 but as you suspected, the workspace is called 1.3.0. i think when you upgrade, it stays pointing at the first workspace you set up?

Side Note:

I know...unconventional to do embedded on a mac, but we do exist. There are dozens of us! :p

Plus that's a big reason why I'm using CubeIDE (Keil is Windows only) and the company I work for has a lot of Ubuntu users so it's important to us that we have a cross-platform set up 👍🏻

"There are dozens of us!" Is that an Arrested Development reference? Love it :D

I did some digging and it looks like this is known, we have a ticket for it already.

While it's being fixed you could probably close the .ioc editor when you're not using it and/or change the settings for switching in Window -> Preferences -> STM32Cube -> Device Configuration Tool.

Let me know if it at least improves the situation or not!