linuxmint / linuxmint/cinnamon

Cinnamon allowing a window to steal focus every few seconds

Open
#13,011 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

BUG
Dominant language
JavaScript
Stars
5.6k
Forks
915
Avg merge
5d 22h
Merged PRs (30d)
3

Description

Distribution

Mint 22.1

Package version

6.4.8

Graphics hardware in use

Prevents windows that request user attention from stealing focus

Frequency

Quite often

Bug description

Cinnamon is allowing an application to steal focus every few seconds.

I'm running an old Windows MUD client through Wine. I recently updated Mint to 22.1 (from 21.?), and the application is now stealing focus every time it updates (which most of the time is every 2 seconds).

I cannot find a way to stop the application from stealing focus. I tested different Wine settings, but there was no change. The org.cinnamon prevent-focus-stealing option is labeled as unused, but was apparently not working well before then.

The application is called Portal, and appears to still be available from: https://www.gameaxle.com/download.html

Steps to reproduce

In the client, enter a MUD; go to an area that produces frequent output (combat being the most common example). Raise other windows in front of the MUD client. On every update, the application will steal focus, jumping on top of the other windows.

Expected behavior

Cinnamon should not allow an existing window to steal focus.

Additional information

No response

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

No source files, tests, or entry points are named in the issue. Start by reproducing the focus change with the Wine MUD client on Mint 22.1 and Cinnamon 6.4.8, then trace the window-focus handling; done means an existing foreground window remains in front during frequent client updates.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, linux
Domain
desktop, operating-systems
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.