rust-windowing / rust-windowing/winit

Window size flickering when moving between screens on Linux

Open
#791 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

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

It seems like moving Windows between screens on Linux can lead to some weird glitchiness. See this gif for demonstration:

glitch

And another video showing the same thing: https://i.imgur.com/x3eLaVB.mp4.

This was tested with the latest git release from winit using the glutin examples.

Edit: Note that both reports have been on X11, so this is likely an X11 exclusive problem.

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 flicker with the glutin examples while moving windows between screens on X11. Inspect the winit window-handling path involved in screen changes and compare behavior with the reported GIF and video. Done means window size remains stable when moved between X11 screens.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, rust
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.