linuxmint / linuxmint/cinnamon
Control Key Grabs Screen Focus With "Show position of pointer when the Control key is pressed"
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5.6k
- Forks
- 915
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 3
Description
* Cinnamon version 4.6.7
* Distribution Linux Mint 20 64bit
* Graphics Card NVIDIA GTX 1060 6gb
* Graphics Driver: nvidia-driver-440 version 440.100-0-ubuntu0.20.04.1
Issue
Pressing the Control Key with "Show position of pointer when the Control key is pressed" enabled grabs screen focus from focused window.
Steps to reproduce
-
Enable "Show position of pointer when the Control key is pressed" in the mouse and touch pad settings
OR
Bind a keyboard shortcut under the Keyboard settings that contains the Control modifier. -
Launch an exclusive fullscreen application (I used Portal 2, and Super Meat Boy to test, Firefox works but behaviour is different)
-
When in fullscreen mode (not borderless windowed), press the control key (or the keyboard shortcut set in step one).
- Portal 2 becomes minimized and is not restored
- Super Meat Boy briefly becomes unfocused and refocuses, you can tell because of the screen quickly flashes black
- Firefox will lose focus on text boxes and most text boxes will refocus quickly after, however some sites (like on DuckDuckGo.com search page and search results page), the text box will not refocus.
Expected behaviour
The expected behaviour is that pressing the control for a keyboard shortcut or to display the mouse pointer location should not briefly grab focus of the screen and sometimes complete grab focus and not return it.
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
First reproduce the focus loss using the mouse and touch pad setting and a keyboard shortcut containing Control, then compare exclusive fullscreen behavior in Portal 2, Super Meat Boy, and Firefox. Trace the Cinnamon entry points handling pointer-location display, keyboard shortcuts, and fullscreen focus. Done means pressing Control no longer causes a fullscreen application or text field to lose focus.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100