Keyboard shortcut doesn't work after switching applicationss #97017

Open
opened 2022-04-04 08:13:43 +02:00 by joe ho · 37 comments

System Information
Operating system: windows 11
Graphics card: Intel(R) UHD Graphics 630 & NVIDIA GeForce GTX 1060 with Max-Q Design

Blender Version
Broken: Blender 3.1, a solid update to an already outstanding release. Released March 9th, 2022
Worked: (newest version of Blender that worked as expected)

Short description of error
When using different Keyboard shortcut for every window, keyboard shortcut doesn't work when we switch between applications
CTRL, ALT, Shift, tab are fine, but all of the characters are no response, such as G, E, Shift D, etc.

Exact steps for others to reproduce the error

  • Open Windows Settings tab
  • Enable: Let me use a different input method for each app window {nav Time & Language > Typing > Advanced Keyboard Settings}
  • Open chrome or any other application and change input method (Chinese for example)
  • Open blender and keep default input method (English for example)
  • Type something in other application window
  • Switch to Blender and use hotkey
**System Information** Operating system: windows 11 Graphics card: Intel(R) UHD Graphics 630 & NVIDIA GeForce GTX 1060 with Max-Q Design **Blender Version** Broken: Blender 3.1, a solid update to an already outstanding release. Released March 9th, 2022 Worked: (newest version of Blender that worked as expected) **Short description of error** When using different Keyboard shortcut for every window, keyboard shortcut doesn't work when we switch between applications CTRL, ALT, Shift, tab are fine, but all of the characters are no response, such as G, E, Shift D, etc. **Exact steps for others to reproduce the error** - Open Windows Settings tab - Enable: `Let me use a different input method for each app window` {nav Time & Language > Typing > Advanced Keyboard Settings} - Open chrome or any other application and change input method (Chinese for example) - Open blender and keep default input method (English for example) - Type something in other application window - Switch to Blender and use hotkey
Author

Added subscriber: @joe312117

Added subscriber: @joe312117

#100634 was marked as duplicate of this issue

#100634 was marked as duplicate of this issue
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

switch applications in between blender and others.

Does that mean this happens after switching to a window that belongs to another application then coming back to the Blender window?
Does this happen with a particular application or any application even the ones installed with Windows?

> switch applications in between blender and others. Does that mean this happens after switching to a window that belongs to another application then coming back to the Blender window? Does this happen with a particular application or any application even the ones installed with Windows?
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Author

Yes, it happen after I click and jump to other application such as whatsapp, chorme, ..... no difference what application it is, then go back to blender ; all the characters are no response but , . ; ' also fine. It is not only affect the shortcuts, I can't type anything to rename a material too.

Yes, it happen after I click and jump to other application such as whatsapp, chorme, ..... no difference what application it is, then go back to blender ; all the characters are no response but , . ; ' also fine. It is not only affect the shortcuts, I can't type anything to rename a material too.
Author

actually, I can't tell you when it occur, because it is not happen on every single time after I had tried to test the exactly situation.

actually, I can't tell you when it occur, because it is not happen on every single time after I had tried to test the exactly situation.
Member

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

I'm not sure what are the steps to reproduce the problem.

Are you sure that the Blender window is activated when you type the keyboard keys.
Keyboard shortcuts always go to the activated window, (not the one the mouse cursor is over).
To activate a window, just click on it.

Inside blender the situation is different, the shortcuts only work if the cursor is over a region.
For example, if you type G with the cursor over the outliner, the object selected in the 3D View will not move. To move it, press G with the mouse cursor over the 3D View.

Does what I said make sense to you?

I'm not sure what are the steps to reproduce the problem. Are you sure that the Blender window is activated when you type the keyboard keys. Keyboard shortcuts always go to the activated window, (not the one the mouse cursor is over). To activate a window, just click on it. Inside blender the situation is different, the shortcuts only work if the cursor is over a region. For example, if you type G with the cursor over the outliner, the object selected in the 3D View will not move. To move it, press G with the mouse cursor over the 3D View. Does what I said make sense to you?
Author

I apologist for my English first.

I am glad for your patience to explain how to work with blender correctly. I can tell, I understand about the basic control in blender well.

Answer your question, I am pretty sure the keyboard is work in blender, because I can press Ctrl+S to save file well or everything goes back to normal after I quit and reopen the file again.

I just found another occasion, the problem comes out again after I switched from layout tap to shading tap. Same same, G is no response but I can see the index shows up on bottom left when I press shift, ctrl, alt.

Thanks

I apologist for my English first. I am glad for your patience to explain how to work with blender correctly. I can tell, I understand about the basic control in blender well. Answer your question, I am pretty sure the keyboard is work in blender, because I can press Ctrl+S to save file well or everything goes back to normal after I quit and reopen the file again. I just found another occasion, the problem comes out again after I switched from layout tap to shading tap. Same same, G is no response but I can see the index shows up on bottom left when I press shift, ctrl, alt. Thanks
Author

as I said, I also cannot type to rename a material in this situation.

as I said, I also cannot type to rename a material in this situation.
Author

It haappen again after reply whatsapp message and then switch back to blender. Too many times today.

It haappen again after reply whatsapp message and then switch back to blender. Too many times today.

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Author

Dear, what information I should provide ?

Dear, what information I should provide ?
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Hi, do you have multi-monitor setup?
Very often I switch between multiple applications and I've never seen this issue
It'll help if you find the exact conditions when this issue occurs.
Can you check again with factory settings?: {nav File > Defaults > Load Factory Settings}
Maybe related?: #97121 (still no evidence that #97121 is a mac specific problem)

Hi, do you have multi-monitor setup? Very often I switch between multiple applications and I've never seen this issue It'll help if you find the exact conditions when this issue occurs. Can you check again with factory settings?: {nav File > Defaults > Load Factory Settings} Maybe related?: #97121 (still no evidence that `#97121` is a mac specific problem)
Author

Hi, actually I am using a laptop without any monitor.

I found that the most frequently situation is that I switch to other application for a while, such as whatsapp, brave, chrome.... and go back.

Even I had tried factory setting / uninstall blender, there's nothing change.

Hi, actually I am using a laptop without any monitor. I found that the most frequently situation is that I switch to other application for a while, such as whatsapp, brave, chrome.... and go back. Even I had tried factory setting / uninstall blender, there's nothing change.
Member

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'

Added subscriber: @tam_huynh

Added subscriber: @tam_huynh

In #97017#1348186, @joe312117 wrote:
Hi, actually I am using a laptop without any monitor.

I found that the most frequently situation is that I switch to other application for a while, such as whatsapp, brave, chrome.... and go back.

Even I had tried factory setting / uninstall blender, there's nothing change.

Hi Joe, do you try a way to firgue it? I have a same problem when switching to another windows too. Reopening belender make it work well again but this issue is annoying -..-'.

> In #97017#1348186, @joe312117 wrote: > Hi, actually I am using a laptop without any monitor. > > I found that the most frequently situation is that I switch to other application for a while, such as whatsapp, brave, chrome.... and go back. > > Even I had tried factory setting / uninstall blender, there's nothing change. Hi Joe, do you try a way to firgue it? I have a same problem when switching to another windows too. Reopening belender make it work well again but this issue is annoying -..-'.

Added subscriber: @Hyakkin

Added subscriber: @Hyakkin

I have the same problem too, I've just installed version 3.3, and I have 2 monitors (one of them is a tablet).
I cannot use any of the hotkeys after I switched from Blender to other windows (chrome, discord etc)
Because I'm new to this software, I need to switch bewteen blender and chrome to watch tutorials.
It is nearly unable to use blender like this, please help ;_;

I have the same problem too, I've just installed version 3.3, and I have 2 monitors (one of them is a tablet). I cannot use any of the hotkeys after I switched from Blender to other windows (chrome, discord etc) Because I'm new to this software, I need to switch bewteen blender and chrome to watch tutorials. It is nearly unable to use blender like this, please help ;_;

In #97017#1419058, @Hyakkin wrote:
I have the same problem too, I've just installed version 3.3, and I have 2 monitors (one of them is a tablet).
I cannot use any of the hotkeys after I switched from Blender to other windows (chrome, discord etc)
Because I'm new to this software, I need to switch bewteen blender and chrome to watch tutorials.
It is nearly unable to use blender like this, please help ;_;

Hi there,
I have found a way to fix it. In my case, i use 2 in-build windows keyboard layout (Eng and Vietnamese) and the blender will be freeze after couple of alt+tab. There are 2 way i use to fix this issue:

  1. I set my in-build keyboard to sperarte for each windows and when the blender freeze, i change it to my alt keyboard layout (mine is vietnamese keyboard).
  2. I remove all of my language / in-built keyboard layout and leave it in single windows OS language. This issue never happen again.

Hope it can help you well,
Tam Huynh.

> In #97017#1419058, @Hyakkin wrote: > I have the same problem too, I've just installed version 3.3, and I have 2 monitors (one of them is a tablet). > I cannot use any of the hotkeys after I switched from Blender to other windows (chrome, discord etc) > Because I'm new to this software, I need to switch bewteen blender and chrome to watch tutorials. > It is nearly unable to use blender like this, please help ;_; Hi there, I have found a way to fix it. In my case, i use 2 in-build windows keyboard layout (Eng and Vietnamese) and the blender will be freeze after couple of alt+tab. There are 2 way i use to fix this issue: 1. I set my in-build keyboard to sperarte for each windows and when the blender freeze, i change it to my alt keyboard layout (mine is vietnamese keyboard). 2. I remove all of my language / in-built keyboard layout and leave it in single windows OS language. This issue never happen again. Hope it can help you well, Tam Huynh.

In #97017#1419086, @tam_huynh wrote:

In #97017#1419058, @Hyakkin wrote:
I have the same problem too, I've just installed version 3.3, and I have 2 monitors (one of them is a tablet).
I cannot use any of the hotkeys after I switched from Blender to other windows (chrome, discord etc)
Because I'm new to this software, I need to switch bewteen blender and chrome to watch tutorials.
It is nearly unable to use blender like this, please help ;_;

Hi there,
I have found a way to fix it. In my case, i use 2 in-build windows keyboard layout (Eng and Vietnamese) and the blender will be freeze after couple of alt+tab. There are 2 way i use to fix this issue:

  1. I set my in-build keyboard to sperarte for each windows and when the blender freeze, i change it to my alt keyboard layout (mine is vietnamese keyboard).
  2. I remove all of my language / in-built keyboard layout and leave it in single windows OS language. This issue never happen again.

Hope it can help you well,
Tam Huynh.

Thank you for your suggestions! I will try it later, hopefully it will work! =D

> In #97017#1419086, @tam_huynh wrote: >> In #97017#1419058, @Hyakkin wrote: >> I have the same problem too, I've just installed version 3.3, and I have 2 monitors (one of them is a tablet). >> I cannot use any of the hotkeys after I switched from Blender to other windows (chrome, discord etc) >> Because I'm new to this software, I need to switch bewteen blender and chrome to watch tutorials. >> It is nearly unable to use blender like this, please help ;_; > > Hi there, > I have found a way to fix it. In my case, i use 2 in-build windows keyboard layout (Eng and Vietnamese) and the blender will be freeze after couple of alt+tab. There are 2 way i use to fix this issue: > 1. I set my in-build keyboard to sperarte for each windows and when the blender freeze, i change it to my alt keyboard layout (mine is vietnamese keyboard). > 2. I remove all of my language / in-built keyboard layout and leave it in single windows OS language. This issue never happen again. > > Hope it can help you well, > Tam Huynh. Thank you for your suggestions! I will try it later, hopefully it will work! =D

Added subscriber: @Sabrina-Zhang

Added subscriber: @Sabrina-Zhang

I also have this exact problem but with Chinese keyboard, and your solution works for me, but the problem with my alt Chinese keyboard is that wherever I press any shortcut key with “shift” in it, it will type Chinese which is a super annoying workaround.
https://developer.blender.org/T100634

I also have this exact problem but with Chinese keyboard, and your solution works for me, but the problem with my alt Chinese keyboard is that wherever I press any shortcut key with “shift” in it, it will type Chinese which is a super annoying workaround. https://developer.blender.org/T100634

In #97017#1467417, @Sabrina-Zhang wrote:
I also have this exact problem but with Chinese keyboard, and your solution works for me, but the problem with my alt Chinese keyboard is that wherever I press any shortcut key with “shift” in it, it will type Chinese which is a super annoying workaround.
https://developer.blender.org/T100634

Dear Rizum,

Unfortunate, there are only one way to fix that, you should remove all keyboard and use only English Layout.

> In #97017#1467417, @Sabrina-Zhang wrote: > I also have this exact problem but with Chinese keyboard, and your solution works for me, but the problem with my alt Chinese keyboard is that wherever I press any shortcut key with “shift” in it, it will type Chinese which is a super annoying workaround. > https://developer.blender.org/T100634 Dear Rizum, Unfortunate, there are only one way to fix that, you should remove all keyboard and use only English Layout.

You can disable, *Let me use a different input method for each app windows over Time & Language -Typing-Advance keyboard settings.
That's the main reason the bug appears.

You can disable, *Let me use a different input method for each app windows over Time & Language -Typing-Advance keyboard settings. That's the main reason the bug appears.
Member

Added subscribers: @ChengduLittleA, @Harley, @qq1324027359

Added subscribers: @ChengduLittleA, @Harley, @qq1324027359
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

When using different keyboard layouts for every window, I can also redo this behavior occasionally.

When using different keyboard layouts for every window, I can also redo this behavior occasionally.
Pratik Borhade changed title from Keyboard shortcut doesn't work after switch applications in between blender and others to Keyboard shortcut doesn't work after switching applicationss 2023-02-03 11:04:53 +01:00

I also have this issue with my Win 11 laptop (connected with extra monitor, keyboard layout per application).

I hve two physical keyboards: modified Chinese (Simplified) - US Layout (based on KLID 00010402 (bg) arrangement ANSI104) which comes with laptop and United Kingdom Layout (KLID 00000809 (en-GB) arrangement ISO 105), and three keyboard layouts (chinese simplified, chinese traditional, english uk)

if I change keyboard layout just before tab out from blender then change back after tab back in, that seems to be all good. Although remember to do this evey time is just annoying :c

Device currently on 22H2 22621.2361 (with Windows Feature Experience Pack 1000.22674.1000.0), drivers all up-to-date.

I also have this issue with my Win 11 laptop (connected with extra monitor, keyboard layout per application). I hve two physical keyboards: modified Chinese (Simplified) - US Layout (based on KLID 00010402 (bg) arrangement ANSI104) which comes with laptop and United Kingdom Layout (KLID 00000809 (en-GB) arrangement ISO 105), and three keyboard layouts (chinese simplified, chinese traditional, english uk) if I change keyboard layout just before tab out from blender then change back after tab back in, that seems to be all good. Although remember to do this evey time is just annoying :c Device currently on 22H2 22621.2361 (with Windows Feature Experience Pack 1000.22674.1000.0), drivers all up-to-date.

百分百确定是垃圾win11的问题,我用过几台win10电脑从未有过这个问题,一换win11笔记本电脑就有了

百分百确定是垃圾win11的问题,我用过几台win10电脑从未有过这个问题,一换win11笔记本电脑就有了
Member

I may be able to suggest a dirty way of handling this problem... Just put system->handleKeyboardChange(); in WM_SYSCOMMAND, WM_PAINT and WM_DPICHANGED, that would probably ensure the correct keyboard layout after the user returns the program.

But there's another issue that's with the Alt key. (I don't think it's always on windows, I have some problem with this on linux too I believe, might also be one of other programs I wrote myself), because when you alt-tab, the program is switched without it knowing that the alt being released. So when you go back, sometimes blender will persist that alt state? But every time if the keys don't work I just press ctrl alt shift once and apparently it solves the issue...

I may be able to suggest a dirty way of handling this problem... Just put `system->handleKeyboardChange();` in `WM_SYSCOMMAND`, `WM_PAINT` and `WM_DPICHANGED`, that would probably ensure the correct keyboard layout after the user returns the program. But there's another issue that's with the `Alt` key. (I don't think it's always on windows, I have some problem with this on linux too I believe, might also be one of other programs I wrote myself), because when you alt-tab, the program is switched without it knowing that the alt being released. So when you go back, sometimes blender will persist that `alt` state? But every time if the keys don't work I just press ctrl alt shift once and apparently it solves the issue...
Sign in to join this conversation.
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
11 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#97017
No description provided.