R2022b Simulink is unusable on dark themed KDE

32 次查看(过去 30 天)
Problem: Simulink is unusable - white text on white/grey background, which makes the text unreadable, the tool strip (top of the GUI) is normal), but the bottom 3/4 of the GUI (the schematic editor in the middle, property inspector on the right, model browser on the left), is completely unusable.
Matlab is OK (the classic light theme), and Preference/Colors is NOT set to follow system (the OS's theme is plasma breeze dark).
If no definite solution to fix it can be provided, can someone point out the GUI technology behind the simulink window so I can try to fix it myself? It doesn't seem to be the same with the one used by matlab (which is some kind of java GUI I guess), is it built on web viewer (it feels like one)? Gtk web view or Qt web view?
Thanks.
Operating System: Red Hat Enterprise Linux 8.6
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Graphics Platform: X11

回答(2 个)

Franklin Ronald
Franklin Ronald 2024-5-15
编辑:Franklin Ronald 2024-5-15
Hi.
I'm using environment variables to set a light theme to MATLAB only.
XDG_CURRENT_DESKTOP=GNOME
GTK_THEME=Adwaita:light
And Simulink is light but usable.

Navya Singam
Navya Singam 2022-10-4
Hi,
The team is aware of the issue and it may be fixed in the future releases.
The only way to solve the issue is to turn off the dark theme on system and then reinstalling MATLAB.
  1 个评论
Jan Mertes
Jan Mertes 2023-12-17
Hello,
is there a possibility to solve the problem yet?
I have exactly the same problem.
System: OpenSUSE Tumbleweed; Kernel: 6.6.6.1; Dekstop: KDE Plasma 5.27.10 with a Dark Theme (Breeze) on X11.
Kind regards

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by