WayfireWM / WayfireWM/wayfire

Fast switcher leaves windows translucent if they're removed while it's open

Open
#1,956 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug low-priority PRs-welcome
Dominant language
C++
Stars
3.1k
Forks
237
Avg merge
1h 43m
Merged PRs (30d)
1

Description

Describe the bug
Windows which are hidden or removed from the toplevel view list between keypresses of Fast Switcher, while the modifier key is still held, stay translucent when they minimize themselves on switch. This affects, for instance, Minecraft.

To Reproduce
Steps to reproduce the behavior:

  1. Enable Fast Switcher
  2. Launch a game of Minecraft
  3. Fast Switch to another window
  4. Minecraft is now stuck translucent until quit

Expected behavior
Windows which have been removed from the list should have their alpha level restored.

Screenshots or stacktrace
I may supply a screen shot of this.

Wayfire version
0.8.0, track-wlroots as well.

This may be difficult to fix, since the plugin just polls for the whole visible window list on every keypress, rather than maintaining a persistent copy of the list. It would need to diff the lists on update and fix any windows which have dropped out of the list, but haven't been destroyed yet.

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 locating the Fast Switcher plugin and the code that polls the visible window list on each keypress. Reproduce the Minecraft case, then inspect how alpha is restored when switching or minimizing windows. Done means windows removed from the list while the modifier is held no longer remain translucent.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
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.