rust-windowing / rust-windowing/winit

Crash when starting winit window over remote desktop on Windows

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

Nobody has claimed this yet.

B - bug C - needs investigation DS - win32
Dominant language
Rust
Stars
6.2k
Forks
1.3k
Avg merge
2d 19h
Merged PRs (30d)
9

Description

When a winit window is spawned over a remote desktop connection on Windows, it will fail with the Error LoadLibrary failed with error 87: The parameter is incorrect.

If the window has been started locally, it does not crash when accessed over remote desktop.

This has been reported to Alacritty in https://github.com/jwilm/alacritty/issues/1976.

Contributor guide

Open the contributing guide

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

Start by reproducing the failure when spawning a winit window over a Windows Remote Desktop connection, comparing it with a window started locally and then accessed remotely. Use the reported LoadLibrary error and the linked Alacritty report as investigation leads; done means the remote-start case no longer crashes while local behavior remains working.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop, 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.