When IME is On, passing key inputs excluding caret operation to IME. (Windows) #89831
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#89831
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: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: Intel(R) Iris(TM) Graphics 5100 Intel 4.3.0 - Build 20.19.15.4531
Blender Version
Broken: version: 3.0.0 Alpha, branch: master (modified), commit date: 2021-07-11 05:31, hash:
2289e26fa3
Worked: (newest version of Blender that worked as expected)
Short description of error
In Translation set "Japanese", Interface is "checked, with input box,
When IME(Roma-ji) opend input puts a first letter to input box. (ex. 「あ」->「aあ」, 「か」->「kか」)
I don't know how to post my modified branch's source yet.
So I paste the modifed hunks.
/* passing key inputs excluding caret operation (move, select) and deleting to IME */
if ((!ctrl_pressed && !alt_pressed) &&
(raw.data.keyboard.VKey != VK_BACK
&& raw.data.keyboard.VKey != VK_RETURN
&& raw.data.keyboard.VKey != VK_SHIFT
&& raw.data.keyboard.VKey != VK_CONTROL
&& raw.data.keyboard.VKey != VK_ESCAPE
&& raw.data.keyboard.VKey != VK_END
&& raw.data.keyboard.VKey != VK_HOME
&& raw.data.keyboard.VKey != VK_LEFT
&& raw.data.keyboard.VKey != VK_UP
&& raw.data.keyboard.VKey != VK_RIGHT
&& raw.data.keyboard.VKey != VK_DOWN
&& raw.data.keyboard.VKey != VK_DELETE)) {
if (window->getImeInput()->GetOpenStatus(window->getHWND())) {
return NULL;
}
}
bool result = false;
HIMC imm_context = ::ImmGetContext(window_handle);
if (imm_context) {
result = ::ImmGetOpenStatus(imm_context);
}
return result;
Added subscriber: @sntulix
When IME is On, passing key inputs excluding caret operation to IME.to When IME is On, passing key inputs excluding caret operation to IME. (Windows)Added subscriber: @Harley
The following is a patch against current master. I made only a few changes:
But you could submit this here if you like: https:*developer.blender.org/differential/diff/create/ or I can do so and you can then commandeer it. Or I can help in other ways. Just ask .
IMEopen.diff
Hi, harley.
Thank you.
I modified some and import your changes, and send the patch.
https://developer.blender.org/D11929
Best Regards.
sntulix
Changed status from 'Needs Triage' to: 'Confirmed'
This is a long log.
win10-msime-japanese-romaji
win10-atok-japanese-romaji
win10-atok-japanese-hankaku-print_no_letter
win10-atok-japanese-zenei
win10-google_ime-japanese-romaji
win10-google_ime-japanese-hankaku
win10-corvusSKK-japanese-romaji
win10-corvusSKK-japanese-mode_SKK(hankaku)-print_no_letter
win10-msime-chinese-chinese_simplified
win10-msime-chinese-english-print_no_letter
win10-msime-korean-hangul
win10-msime-korean-english
Added subscriber: @hzuika
note
watching ReactOS's implements of WIN32API (from not Microsoft) for less consumption of cpu clocks .
GetKeyboardLayout()
3fa57b8ff7/modules/rosapps/applications/sysutils/utils/pice/module/utils.c (L191)
ImmGetContext()
3965c93732/dll/win32/imm32/imm.c (L1890)
ImmIsIME()
3965c93732/dll/win32/imm32/imm.c (L2499)
ImmGetOpenStatus()
3965c93732/dll/win32/imm32/imm.c (L2263)
ImmGetConversionStatus()
3965c93732/dll/win32/imm32/imm.c (L1998)
This issue was referenced by
836aeebf70