linuxmint / linuxmint/nemo

Nemo fails to change window focus after opening file.

Open
#3,739 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
1.6k
Forks
368
Avg merge
4d 4h
Merged PRs (30d)
2

Description

Distribution

Arch (recently updated)

Package version

6.6.3

Frequency

Always

Bug description

Nemo fails to change window focus after opening file.
Examples include programs like mpv or mcomix, but not some others like xed, firefox.

Steps to reproduce
  1. have mpv installed and some video file somewhere
  2. open nemo
  3. goto the folder
  4. double click the video file to open it
  5. press right arrow key (nothing happens)
  6. mouse click the window
  7. press right arrow key (playback goes forward)

Nemo should autofocus the window on opening, so the user does not have to manually focus.
Opening mpv ("mpv myvideo.mp4") on the terminal does not have this issue.

Expected behavior
  1. have mpv installed and some video file somewhere
  2. open nemo
  3. goto the folder
  4. double click the video file to open it
  5. press right arrow key (playback goes forward)
Additional information

For whatever reason, this issue does not seem to happen with all programs, just some of them.
My guess is that it's because these programs with issues use some older graphics toolkit or something like that, that causes problems.

Using X11, not wayland

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

Reproduce the issue in Nemo 6.6.3 on Arch with X11 by opening a video in mpv or mcomix, then compare focus behavior with xed and Firefox. Start by tracing Nemo's file-opening path; done means launched applications receive keyboard focus consistently without a manual click.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.