Cannot use Chinese input or Japanese input #87578
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
11 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#87578
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
Operating system: Linux-5.4.0-70-generic-x86_64-with-glibc2.31 64 Bits
Graphics card: GeForce GTX 970/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 450.102.04
Blender Version
Broken: version: 2.93.0 Beta, branch: master, commit date: 2021-04-16 16:41, hash:
b2a0f69275
Worked: 2.92 (#issuecomment-224988, #issuecomment-225000)
Short description of error
Cannot use Chinese input or Japanese input
Exact steps for others to reproduce the error
When I use Chinese or Japanese input, I get a warning like this on the console
Bad keycode lookup. Keysym 0x0 Status: XLookupNone
'' 0x7fca129c0900 0x7fca36c513c0
Added subscriber: @Sun_Xiao_Fang
#92068 was marked as duplicate of this issue
#91239 was marked as duplicate of this issue
Added subscriber: @smithmachinist725
This comment was removed by @smithmachinist725
Added subscribers: @EitanSomething, @PratikPB2123
This comment was removed by @PratikPB2123
Added subscriber: @mont29
Added subscriber: @nagadomi-4
I have encountered the same problem. This problem does not occur in 2.92.0.
System Information
Operating system: Linux-5.4.0-72-generic-x86_64-with-glibc2.31 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.73.01
Ubuntu 20.04, GNOME, ibus-mozc
Blender Version
Broken: version: 2.93.0 Beta, branch: master, commit date: 2021-05-28 16:16, hash:
c369382977
Worked: 2.92.0
Short description of error
Typing into any text field using the Japanese IME does not work.
Copying and pasting Japanese characters worked.
Terminal output:
The cause may be different, but it's the same situation as https://developer.blender.org/T55998 (No crashing).
Added subscribers: @sbchild, @Garek
Added subscribers: @lbmzorx, @mano-wii
Added subscriber: @OmarEmaraDev
Changed status from 'Needs Triage' to: 'Needs User Info'
To try to reproduce reliably, I am simulating a key press using
xdotool
, but I am not able to reproduce the issue. Can you provide the UTF-8 codes for any of the characters you are typing?Can you also open Blender with
--debug-events
and check to confirm that the key events corresponds to the keys you intended to enter?Execute the following the chosen unicode and select the Blender window.
This command reproduces the problem in my env.
Changed status from 'Needs User Info' to: 'Needs Triage'
Changed status from 'Needs Triage' to: 'Needs User Info'
On Xorg 21.1.3 and latest Blender, there is a value in the UTF8 member, I get:
Can you try on the latest version of Blender and if possible Xorg? https://builder.blender.org/
Does it mean that the version of xorg required by Blender is very high and will not work on Ubuntu LTS?
I am wondering if this is a problem specific to my env or if it does not work with all popular Linux distributions.
I will try it in the next week.
I clean-installed Ubuntu 21.10 on another machine. Japanese input does not work with the same error. 2.93.8 and 3.1.0.
xorg version is
xorg-server 2:1.20.13-1ubuntu1.1
and unable to upgrade in normal way.Additional.
With Blender 2.92, Japanese input works fine,
but with xdotool(above command) I get the same error(
Bad keycode lookup. Keysym 0x0 Status: XLookupNone
) and cannot input char.testing using xdotool may not work.
Below is the --debug-events log with Blender 2.92.
Using IME(ibus-mozc)
Using xdotool,
Changed status from 'Needs User Info' to: 'Needs Triage'
Added subscriber: @pica
As a workaround to this nasty bug I use this bash function:
When called inside a dedicated terminal that I launch alongside blender, it automatically copies to the clipboard the text that I input (chinese or otherwise), and that text is then pasted into blender with the traditional Ctrl+V paste shortcut.
Of course this is barely a temporary hack, and I hope this regression will be corrected, as chinese input worked perfectly in previous blender 2.91 version if I remember correctly...
This looks identical to #95410
@lichtwerk , can you check?
I added
setlocation (LC_CTYPE, "");
in line 423 of my local sourceintern/ghost/intern/GHOST_SystemX11. cc
recompile and it will work fine.I tried
LANG=C LC_ALL=C ./blender
but it did not work.
I don't know, maybe it's something different from setlocale in the source code.
It works for me. Thanks