davatorium / davatorium/rofi

[BUG] Librewolf window is not focused after launching with drun

Open
#2,016 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C
Stars
16.4k
Forks
696
Avg merge
20h 46m
Merged PRs (30d)
1

Description

Rofi version (rofi -v)

1.7.5

Configuration

https://gist.github.com/Kostrol/e9a7aa3808b6bce40f86f2a180d757a9

Theme

https://gist.github.com/Kostrol/038e20bb18b58153fa13cd3ac1167bd3

Timing report

No response

Launch command

rofi -show drun

Step to reproduce
  1. launch drun and select librewolf to open
  2. librewolf window opens but without focus
Expected behavior

browser opens and is immediately focused

Actual behavior

browser window opens but only previous window is in focus

Additional information

No response

Using wayland display server protocol
  • No, I don't use the wayland display server protocol
I've checked if the issue exists in the latest stable release
  • Yes, I have checked the problem exists in the latest stable version

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 issue with rofi -show drun on the reported non-Wayland display setup and selecting LibreWolf. Trace the drun launch and window-focus handling, then verify that the launched browser window receives focus while the behavior of other launches remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
cli, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.