Skip to main content
Associate III
November 21, 2023
Solved

Keyboard keys stop working at random STM32CubeIDE Linux

  • November 21, 2023
  • 3 replies
  • 4184 views

I use STM32CubeIDE on Linux Ubuntu (and to a lesser extent on MacOS and Windows, but I don't recall having a problem on the last 2 operating systems). About once or twice a day, at random, several of the keys such as <backspace> and <enter> and <delete> stop working. All the alphabetical and number keys work as normal. If I switch to a different application all the keys are working, but when I switch back to Cube the problem continues.

I solve the problem by saving my work, shutting and relaunching Cube. Is this a bug in the application?

Best answer by Mahmoud Ben Romdhane

Hello,

 

The issue is reported internally to our team (Internal ticket number : 174448) and this will be fixed as soon as possible.

 

Thanks.

Mahmoud.

 

 

3 replies

Visitor II
February 7, 2024

I've noticed this on Ubuntu also.  It seems to occur for me after generating code from the CubeMX view.  Restarting STM32CubeIDE resolves the issue, but it is quite annoying.

Associate II
February 21, 2024

exactly me too.
I met very often while configuration tunings.

 

select lines and "Edit-Copy" then "Edit-Paste" by mouse operation,
after doing this likely solved for my cases.

it is still bother but easier than restart IDE for me.

Technical Moderator
February 22, 2024

Hello,

First let me thank you for posting.

Can you provide please the STM32CubeIDE and Ubuntu versions.

Thanks.

Mahmoud.

 

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.
Associate
April 26, 2024

I have the same problem. My solution is to open the Preferences menu (maybe any other popup window works) and close it by "Apply and Close". I don't do any changes on the Preferences.  

Associate
May 20, 2026

I'm still experiencing a similar problem on the latest version (6.17.0) on Debian sid with Cinnamon. Though in my case the keyboard stops working entirely. I can't enter any text and keybinds like CTRL+S don't work either. It's coupled with very slow startup times of the program. Strangely it only manifests on my laptop and not on my desktop PC with the same OS and desktop environment.

Andrew Neil
Super User
May 20, 2026

@Zipper wrote:

I'm still experiencing a similar problem on the latest version (6.17.0) .


That sounds like a CubeMX version ?

Is only your CubeMX affected, or also CubeIDE - if so, what version?

 


@Zipper wrote:

 in my case the keyboard stops working entirely. .


as in, for all apps - not just Cube-related ?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Associate
May 22, 2026

I came from a search and someone failed to see this is about CubeIDE. How silly. This problem indeed only affects CubeMX, not CubeIDE.