[Windows] With Microsoft IME PinYin, when it input "0" with fullwidth at text edit, it gets "00". #94868

Closed
opened 2022-01-13 10:17:41 +01:00 by Takahiro Shizuki · 9 comments

System Information
platform: 'Windows-10-10.0.19043-SP0'
renderer: 'Intel(R) Iris(TM) Graphics 5100'

Blender Version
Broken:

version: 3.1.0 Alpha, branch: master, commit date: 2022-01-12 19:46, hash: 97c2c3991620, type: release

build date: 2022-01-13, 00:56:32

Short description of error
Exact steps for others to reproduce the error

With Microsoft IME PinYin with set fullwidth by IME toolbar, when it input "0" at text edit, it gets "00".

inputting 0 is to be 00..PNG

**System Information** platform: 'Windows-10-10.0.19043-SP0' renderer: 'Intel(R) Iris(TM) Graphics 5100' **Blender Version** Broken: ``` version: 3.1.0 Alpha, branch: master, commit date: 2022-01-12 19:46, hash: 97c2c3991620, type: release ``` build date: 2022-01-13, 00:56:32 **Short description of error** **Exact steps for others to reproduce the error** With Microsoft IME PinYin with set fullwidth by IME toolbar, when it input "0" at text edit, it gets "00". ![inputting 0 is to be 00..PNG](https://archive.blender.org/developer/F12803518/inputting_0_is_to_be_00..PNG)
Author
Member

Added subscribers: @sntulix, @Harley, @hzuika

Added subscribers: @sntulix, @Harley, @hzuika
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Member

@Harley : can you confirm (not on Windows here)?

@Harley : can you confirm (not on Windows here)?
Member

@sntulix - Are you able to give some more information on what is the expected behavior and use case for this?

I realize that current behavior is wrong in some way. When pressing “0” (on main keyboard or numpad) while in Pinyin in "fullwidth" mode you get "00", which is a regular zero (U+0030) followed by a fullwidth zero (U+FF10).

First note that this bug report applies to all number characters from 0-9, not just 0. Are you wanting keypresses while in fullwidth mode to insert fullwidth characters? Is this useful?

The fullwidth zero is not the same character as regular zero so there are lots of considerations. Would you want to enter fullwidth 3 into a numerical fields and be treated as 3? Or ignored?

When using these fullwidth numbers in names they won't sort correctly. I eventually want to do proper international sorting using the Unicode Collation algorithm (probably using ICU - International Components for Unicode), but that won't happen any time soon.

When using these fullwidth numbers in object names we won't be able to keep visual uniqueness or deal with their use in bones, etc. For example right now you can only have a single object called "Cube.001", but with these characters you could have a "Cube.001", "Cube.001", "Cube.001", etc. When duplicating "Cube.001" now we make a new one as ""Cube.002" but that can't happen with "Cube.001" and I think you'd get something like ""Cube.001.001"

So I guess I am just wanting to clarify what is needed, what is expected, etc

@sntulix - Are you able to give some more information on what is the expected behavior and use case for this? I realize that current behavior is wrong in some way. When pressing “0” (on main keyboard or numpad) while in Pinyin in "fullwidth" mode you get "00", which is a regular zero (U+0030) followed by a fullwidth zero (U+FF10). First note that this bug report applies to all number characters from 0-9, not just 0. Are you wanting keypresses while in fullwidth mode to insert fullwidth characters? Is this useful? The fullwidth zero is not the same character as regular zero so there are lots of considerations. Would you want to enter fullwidth 3 into a numerical fields and be treated as 3? Or ignored? When using these fullwidth numbers in names they won't sort correctly. I eventually want to do proper international sorting using the Unicode Collation algorithm (probably using ICU - International Components for Unicode), but that won't happen any time soon. When using these fullwidth numbers in object names we won't be able to keep visual uniqueness or deal with their use in bones, etc. For example right now you can only have a single object called "Cube.001", but with these characters you could have a "Cube.001", "Cube.001", "Cube.001", etc. When duplicating "Cube.001" now we make a new one as ""Cube.002" but that can't happen with "Cube.001" and I think you'd get something like ""Cube.001.001" So I guess I am just wanting to clarify what is needed, what is expected, etc
Author
Member

Hi. @Harley

Are you able to give some more information on what is the expected behavior and use case for this?

I don't expect a something about this. Because I'm not a End User of Chinese Language.
Also this is a just reporting I found.

Is this useful?

I think this has two points. The one is fullwidth inputting has used at Name in all around (in Japan) and it exists as a usable character in a character set. Another point is Auto naming rule of Object when duplicated ("Cube.001", "Cube.002").
But I think its are not same background problem. The one is a Language Problem on Computer, another is Blender's usability.

About 0-9 (fullwidth numeric): /* This is just think. */
The function auto converting the fullwidth to the halfwidth is useful at Numeric edit box. But if when 0-9 is used in a document like the naming specifications,
the auto converting is not useful in Text edit box, Because it is unlike previous, inconsistent. It could be a problem.

UPDATE:
If when I needed 0-9 (fullwidth) at Text edit box, I use "copy & paste" or negotiation with a customer.

Hi. @Harley >Are you able to give some more information on what is the expected behavior and use case for this? I don't expect a something about this. Because I'm not a End User of Chinese Language. Also this is a just reporting I found. >Is this useful? I think this has two points. The one is fullwidth inputting has used at Name in all around (in Japan) and it exists as a usable character in a character set. Another point is Auto naming rule of Object when duplicated ("Cube.001", "Cube.002"). But I think its are not same background problem. The one is a Language Problem on Computer, another is Blender's usability. About 0-9 (fullwidth numeric): /* This is just think. */ The function auto converting the fullwidth to the halfwidth is useful at Numeric edit box. But if when 0-9 is used in a document like the naming specifications, the auto converting is not useful in Text edit box, Because it is unlike previous, inconsistent. It could be a problem. UPDATE: If when I needed 0-9 (fullwidth) at Text edit box, I use "copy & paste" or negotiation with a customer.

This issue was referenced by 82c852f387

This issue was referenced by 82c852f38732a005a1da72f4fb7fb402ecd71ec0
Member

Changed status from 'Needs Developer To Reproduce' to: 'Resolved'

Changed status from 'Needs Developer To Reproduce' to: 'Resolved'
Harley Acheson self-assigned this 2022-03-19 17:08:41 +01:00
Member
Closed with commit https://developer.blender.org/rB82c852f38732a005a1da72f4fb7fb402ecd71ec0
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
4 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#94868
No description provided.