linuxmint / linuxmint/cinnamon
toggle shaded state is broken
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5.6k
- Forks
- 915
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 3
Description
Distribution
Debian sid
Package version
5.8.2
Graphics hardware in use
Intel
Frequency
Always
Bug description
When using the "Toogle shaded state" keyboard shortcut on a window that is not shaded, it will shade, but then immediately loose the focus.
Unshading is then not possible anymore.
Even if one tries to manually focus the window (by clicking the title bar) it doesn't gain focus (one sees that it briefly gains it by the changed title bar colour, but then it immediately goes be to unfocused).
Clicking on the window’s entry in the panel’s window list, gives it the focus, but also unshades it (which I think may not be the best behaviour either?).
The same problem exists if one Alt-Tab (window-cycles) to a shaded window... it immediately unshades, which IMO also breaks quite some usefulness of the feature.
Steps to reproduce
Well as above.
Expected behavior
The window shouldn't loose the focus, and using the shortcut again, should unshade it.
And most likely, selecting a shaded window via the window list or via Alt-Tab shall not cause it to unshade.
Additional information
No response
Contributor guide
No contributing guide indexed for this repository
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
Reproduce the issue on Debian sid using the shaded-state keyboard shortcut, then check the focus behavior when selecting a shaded window through the panel window list and Alt-Tab. Trace the relevant shading, focus, and window-cycling entry points; done means a shaded window keeps focus, can be unshaded with the shortcut, and stays shaded when selected through either method.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100