linebender / linebender/druid

All widgets should loose focus when the window looses focus

Open
#1,958 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
9.7k
Forks
565
PR merge metrics
No merged PRs in 30d

Description

I'm on X11 with the Cairo backend, haven't tested this on any other platform. I feel like if the user focuses another X11 window all widgets in the druid app should loose focus. Currently e.g. a text box still has a blinking cursor and blue highlighted border even though you can't enter text because another X11 window is focused.

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

No file or test is named. Reproduce the behavior on X11 with the Cairo backend, then trace how the application handles losing window focus and how widget focus is retained. Done means focused widgets no longer show a blinking cursor or focused border after another X11 window receives focus.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.