Fast switcher leaves windows translucent if they're removed while it's open
Nobody has claimed this yet.
- 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:
- Enable Fast Switcher
- Launch a game of Minecraft
- Fast Switch to another window
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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