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

30 vues (au cours des 30 derniers jours)
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.
  3 commentaires
Nicolas Zerbinopoulos
Nicolas Zerbinopoulos le 3 Jan 2023
Hitting Esc does nothing. I will try to install MATLAB 2022b to see if that fixes the issue.
Nicolas Zerbinopoulos
Nicolas Zerbinopoulos le 3 Jan 2023
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.

Connectez-vous pour commenter.

Réponse acceptée

DGM
DGM le 4 Jan 2023
Modifié(e) : DGM le 4 Jan 2023
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.
  2 commentaires
Nicolas Zerbinopoulos
Nicolas Zerbinopoulos le 7 Jan 2023
Disappointing, but it's comforting to know others have this issue as well.
Hans
Hans le 21 Sep 2023
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?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by