msys2 / msys2/msys2-runtime

Keyboard focus does not pass on Windows 11

Open
#173 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
240
Forks
60
Avg merge
2d 3h
Merged PRs (30d)
1

Description

Some Windows GUI applications (e.g., calc.exe) do not get keyboard focus when started from mintty on msys2 on windows 11.

This has been reported previously but mintty on cygwin on Windows 11 is immune to this issue. Therefore, this issue may belong here.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin by reproducing the focus failure with calc.exe launched from mintty on MSYS2 under Windows 11, then compare the behavior with mintty on Cygwin. Trace the MSYS2 runtime entry point used when launching the GUI application; done means the application receives keyboard focus consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.