In app designer, cursor disappears and all keyboard input stops working after clicking on window on Linux. How can I fix?

Hello,
Whenever I bring focus back to an App Designer window by clicking on a text box, my cursor appears and I can type in the text box, but if I click anywhere else on the screen again, my cursor disappears and I can't type at all. Keyboard shortcuts don't work either, but the mouse still works. The only way I can get keyboard input back is to click on a different window, such as Google Chrome, and click back on the textbox in App Designer. The apps made by the designer also have this problem.
It's fairly annoying and breaks my workflow, and I've considered running MATLAB in a Windows VM to get around the bug and to be able to finish my work faster. The normal MATLAB editor and command window works fine.
Running Ubuntu 22.04 using Wayland, window is running in XWayland mode.

댓글 수: 4

One possible solution to this could be to hit "Esc" after clicking into the Designer window or you may update to the latest version of MATLAB.
Hitting Esc does nothing. I will try to install MATLAB 2022b to see if that fixes the issue.
The problem is not fixed in 2022b. The problem also happens in the installation window, I have to click off the window and back onto it to get the cursor back.
When it happens in the installation window, I can't input my mailbox. Change Input method to English works.

댓글을 달려면 로그인하십시오.

 채택된 답변

DGM
DGM 2023년 1월 4일
편집: DGM 2023년 1월 4일
This is a bug that's been around for a while and is probably here to stay. Unless you want to change your environment for the sake of MATLAB, there are various unsatisfactory workarounds.
This answer includes links to the bug report and related topics.
You may also notice certain elements (e.g. dropdown menus in Add-On manager) won't respond to mouse clicks. In my experience, they actually do respond, but you only have a roughly 5% chance of the event being registered.

댓글 수: 3

Disappointing, but it's comforting to know others have this issue as well.
I have the same problem running Matlab 2023a. In other words, still no hint of a fix almost a year later.
According to the release notes by Mathworks, my configuration is compatible (Ubuntu 22.04, processores, etc.). Why are we paying for a product that does not work?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

릴리스

R2022b

질문:

2022년 12월 22일

댓글:

2025년 11월 5일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by