Using IME with number buttons leads to crash #43920

Closed
opened 2015-03-07 12:23:41 +01:00 by Ryota Shii · 18 comments

System Information
windows7 64bit
GeForce GTX 560

Blender Version
Broken:2.73 ed5df50, see splash screen

Short description of error
Got Abnormal End.
Exact steps for others to reproduce the error

Select a numerical value input field to switch to Japanese input.
Then, I exit from the input state.
I press something key in the 3D view.
Click on the numeric input part.
Then input column is funny.
When you press the margin to got Abnormal End

Clumsy it is not sorry in English.

**System Information** windows7 64bit GeForce GTX 560 **Blender Version** Broken:2.73 ed5df50, see splash screen **Short description of error** Got Abnormal End. **Exact steps for others to reproduce the error** Select a numerical value input field to switch to Japanese input. Then, I exit from the input state. I press something key in the 3D view. Click on the numeric input part. Then input column is funny. When you press the margin to got Abnormal End Clumsy it is not sorry in English.
Author

Changed status to: 'Open'

Changed status to: 'Open'
Ryota Shii self-assigned this 2015-03-07 12:23:41 +01:00
Author

Added subscriber: @UNANA

Added subscriber: @UNANA

Added subscribers: @JulianEisel, @kjym3, @mont29

Added subscribers: @JulianEisel, @kjym3, @mont29

Sounds like an issue with the new IME code for windows? Severin, do you have a way to check that (i.e. win machine with some Eastern locale installed)? Tamito, you may be able to help here too?

@UNANA afaik, there are several different IME engines on windows, and only a few are compatible with Blender currently (see blender 2.73 release notes), can you please check and report which one you are using?

Sounds like an issue with the new IME code for windows? Severin, do you have a way to check that (i.e. win machine with some Eastern locale installed)? Tamito, you may be able to help here too? @UNANA afaik, there are several different IME engines on windows, and only a few are compatible with Blender currently (see [blender 2.73 release notes](http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.73/UI#Input_Method_Editor_Support)), can you please check and report which one you are using?
Ryota Shii was unassigned by Bastien Montagne 2015-03-07 14:53:58 +01:00

Added subscribers: @randon, @xuekepei, @ZhangYu

Added subscribers: @randon, @xuekepei, @ZhangYu

The reported problem was confirmed under 64-bit Windows 7 with the Microsoft Japanese IME and Blender 2.73.

Steps to reproduce the fatal error are:

  • Click a numerical slider in the middle (e.g., Resolution X in the Render property window) so that it accepts typed numbers and letters.
  • Enable the IME.
  • Now move the mouse cursor and type some key (e.g., A).
  • Go back to the numerical slider and click it in the middle again so that it accepts keyboard input. At this point of time, the slider will show the numbers followed by the candidate character corresponding to the letter typed in the 3D view (see the screen capture below).

Move the mouse cursor back to the 3D view and click somewhere in the background, and Blender terminates abnormally.

windows_ime_bug.png

@xuekepei, @ZhangYu, @randon or any other Chinese IME users, could you guys also confirm the reported problem with Chinese IMEs? Please, feel free to add more testers.

The reported problem was confirmed under 64-bit Windows 7 with the Microsoft Japanese IME and Blender 2.73. Steps to reproduce the fatal error are: - Click a numerical slider in the middle (e.g., Resolution X in the Render property window) so that it accepts typed numbers and letters. - Enable the IME. - Now move the mouse cursor and type some key (e.g., A). - Go back to the numerical slider and click it in the middle again so that it accepts keyboard input. At this point of time, the slider will show the numbers followed by the candidate character corresponding to the letter typed in the 3D view (see the screen capture below). # Move the mouse cursor back to the 3D view and click somewhere in the background, and Blender terminates abnormally. ![windows_ime_bug.png](https://archive.blender.org/developer/F147909/windows_ime_bug.png) @xuekepei, @ZhangYu, @randon or any other Chinese IME users, could you guys also confirm the reported problem with Chinese IMEs? Please, feel free to add more testers.

This comment was removed by @kjym3

*This comment was removed by @kjym3*
Member

Yes, typing asian characters accidentally in numerical slider will crash blender, tested in Windows 7 64bit, with Chinese IME.

Yes, typing asian characters accidentally in numerical slider will crash blender, tested in Windows 7 64bit, with Chinese IME.
Julian Eisel self-assigned this 2015-03-07 16:54:25 +01:00
Julian Eisel changed title from Japanese input Fatal bug to Using IME with number buttons leads to crash 2015-03-07 16:56:08 +01:00

IME should be disabled in those cases anyway, I think?

IME should be disabled in those cases anyway, I think?
Member

Yeah, maybe that's already the best solution. Would also like to see why it crashes though.

Yeah, maybe that's already the best solution. Would also like to see why it crashes though.
Author

@mont29 I use Microsoft Office IME 2010.

@mont29 I use Microsoft Office IME 2010.

I can reproduce this bug, it is a severe bug, I'm going to find out the problem and release a patch ASAP.

I can reproduce this bug, it is a severe bug, I'm going to find out the problem and release a patch ASAP.
Member

Confirm this issue, windows 8 64bit ,and many chinese IMEs all fails, when not do confirm charactor input into the form and mouse click other place,Blender will crash,this problem was too unusual to find out.

Confirm this issue, windows 8 64bit ,and many chinese IMEs all fails, when not do confirm charactor input into the form and mouse click other place,Blender will crash,this problem was too unusual to find out.

It appears the UI release IME code(wm_window.c:1543, function wm_window_IME_end) is running ahead of the wm event process code (wm_event_system.c:3415), a simple if can fixes the bug.

fix.patch

It appears the UI release IME code(wm_window.c:1543, function wm_window_IME_end) is running ahead of the wm event process code (wm_event_system.c:3415), a simple if can fixes the bug. [fix.patch](https://archive.blender.org/developer/F148022/fix.patch)

This issue was referenced by 7d5d971dea

This issue was referenced by 7d5d971dea5bfddaf41222190c43ae198dca6f9b
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member

Closed by commit 7d5d971dea.

Thanks for the patch @randon!

Note: Also committed 573783259d which disables IME for number buttons/number sliders

Closed by commit 7d5d971dea. Thanks for the patch @randon! Note: Also committed 573783259d which disables IME for number buttons/number sliders

Thank you guys! Really nice to see the collaborative testing and fixes!

Thank you guys! Really nice to see the collaborative testing and fixes!
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
8 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#43920
No description provided.