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

贡献者指南