texstudio-org/texstudio

Macros silently do nothing when running on Wayland (Qt6)

Closed

#4,520 建立於 2026年6月21日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)C++ (397 fork)auto 404
help wanted

倉庫指標

Star
 (3,516 star)
PR 合併指標
 (平均合併 5小時 26分鐘) (30 天內合併 19 個 PR)

描述

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

貢獻者指南