In TeXstudio 4.9.3 on macOS, when the system is set to Dark Mode, the AI Chat Assistant window displays response text as white on a very light gray background, making it unreadable.
Environment
OS: macOS Tahoe Version 26.4.1
TeXstudio: Version: 4.9.3 (git 4.9.3)
Hardware: Apple M2 Pro
Qt: Version 6.11.0, compiled with Qt 6.11.0
TeX distribution: texlive
Expected behavior
The chat window should either inherit the "Modern Dark" application theme or provide a specific CSS override option in the Preferences to address visibility issues, so that the response to the query is in a contrasting color to the background (i.e., black on white, or white on black).
Actual behavior
The resulting text is white-on-white/light-gray.
How to reproduce
- Set macOS to Dark Mode.
- Open TeXstudio (v4.9.3, Qt6).
- Open AI Chat Assistant (configured with a local Ollama instance, but I suspect any AI model or server will have the same result).
- Send a query.
The resulting text is white-on-white/light-gray. None of the configurable settings in TeXstudio affects this result; only changing the Mac system settings from Dark Mode to Light Mode corrects the problem.