Alt key gets stuck intermittently when 'Show position of pointer when the Control key is pressed' setting is active in the OS #52905
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#52905
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
LinuxMint 18.2 (Cinnamon), GTX980M on Alienware 17R3
Blender Version
Broken: 2.79-1505206035a-0thomas~xenial0 (Thomas Schiekx PPA)
I believe this is a variation of the recurring 'modifier keys don't like deactivating and reactivating windows' theme. Logging this mostly to help others with the same issue.
The symptoms:
When working in blender, the Alt key frequently gets stuck. This happens in combination with the CTRL key, e.g. when I press CTRL+S, CTRL+ALT+S gets registered, and blender shows the Save As screen. It happens in all views (e.g. in the Save As view, I can not select a filename). Tapping the Alt key gets it unstuck, but it gets stuck again after pressing the Ctrl key. The stickiness does not happen on every CTRL press, I would say about 50% of the time. It makes blender completely unworkable.
I have installed the Screencast Keys addon, and it includes the fake ALT key presses (i.e. it shows CTRL+ALT+S). I have also installed key-mon, a similar tool on the OS level, and that does NOT include said ALT key presses (i.e. it shows CTRL+S). I have tried several keyboards, always same results.
I have traced the issue to the 'Show position of pointer when the Control key is pressed' toggle in Cinnamons Mouse and Touchpad settings. The function of this toggle is to display a short animation around the mouse cursor to locate it on the screen, whenever the CTRL key is pressed by itself. MacOS has a similar feature.
I have run blender with --debug-events, with the following results:
As you can see, having the option on causes a WINDOW_DEACTIVATE event whenever the CTRL key gets pressed. In the case where it goes wrong, blender registers a RIGHT_ALT pressed event, without a corresponding release event.
I hope this helps to solve the problem. I have worked around it by simply switching off the option.
Changed status to: 'Open'
Added subscriber: @dherben
Added subscribers: @Sergey, @LazyDodo
Seems like a linux/ghost thing, mind taking a peek here @Sergey?
GHOST simply converts X11 events to more Blender understandable ones, there is no place in code which will trigger right alt event wuthout corresponding X11 event.
Does the same happen when you press control in
xev
?Added subscriber: @mont29
Changed status from 'Open' to: 'Archived'
There is a rampant issue with alt key and Blender since years, under Linux (Gnome at least)… When you use alt-tab combo to switch between apps, Blender detects alt-down before losing focus, but sometimes it gets focus back too late somehow, and does not get the 'alt-up' event, so it still believes alt is pressed until you press/release it again. Point being, keyboard handling by modern desktops is rather complex and not always fully consistent.
Anyway, more than a week without reply. Due to the policy of the tracker archiving for until required info/data are provided.
I have this exact issue on Windows 11. Blender has the alt key as stuck or pressed when Coming from other apps via alt-tab. Bear in mind that Blender seems to be the only app that is acting this way, no app has the alt key anomaly when changing between apps.
It might be better idea to submit a new report. This one is different platform and is quite old.
If the issue is still there and covers multiple platforms we can/should start new investigation.
If anyone ends up in this issue please follow up on the new one that I opened
#105277