texstudio-org/texstudio
View on GitHubMacros silently do nothing when running on Wayland (Qt6)
Closed
#4,520 opened on Jun 21, 2026
help wanted
Repository metrics
- Stars
- (3,516 stars)
- PR merge metrics
- (Avg merge 5h 26m) (19 merged PRs in 30d)
Description
I have set up macros but since the latest update they dont trigger anymore. When I enter the macro shortcut nothing happens.
All macro I have set up are of type normal.
I tried to reset my texstudio config, restart texstudio but nothing worked.
After some time with claude I found that running texstudio with QT_QPA_PLATFORM=xcb texstudio fixes the issue.
Environment
- TeXstudio: 4.9.5
- Qt: 6.11.1
- OS: Fedora Linux 44 (KDE Plasma Desktop Edition) (Wayland) (Linux 7.0.12-201.fc44.x86_64)
- TeX distribution: TeX Live 2026
Expected behavior
Macro triggers upon typing its trigger.
Actual behavior
Nothing happens
How to reproduce
create a new macro and try to trigger it.
Workaround
Start texstudio with QT_QPA_PLATFORM=xcb texstudio