Dead Keys failing (accented letters, double strokes) #84800

Open
opened 2021-01-17 13:02:11 +01:00 by Christos · 18 comments

System Information
Operating system: Windows 10 X64 Enterprise
Graphics card: Nvidia RTX 2070 MaxQ

Blender Version
Broken: 2.73, 2.91.0
Worked: Never

Short description of error
In a text editor window, using Unicode national characters (Greek in my case), there are accented vowels that register with two keys from the keyboard (eg: ά, έ, ό … etc).
If I type the 2 key sequence fast, the accent is missed, slower works. Is this a delay that can be set in Blender, or an interpreter lag that cannot be adjusted?
Actually I think it happens everywhere (not only text editor), but it’s especially nagging problem in a text window, where I may type whole paragraphs and almost each word has an accent.

Exact steps for others to reproduce the error

  • In the text editor, press and hold the dead key
  • without releasing the dead key, press the key to be transformed. (this will fail)

If you release the dead key before pressing the key to be changed, it will work normally.

**System Information** Operating system: Windows 10 X64 Enterprise Graphics card: Nvidia RTX 2070 MaxQ **Blender Version** Broken: 2.73, 2.91.0 Worked: Never **Short description of error** In a text editor window, using Unicode national characters (Greek in my case), there are accented vowels that register with two keys from the keyboard (eg: ά, έ, ό … etc). If I type the 2 key sequence fast, the accent is missed, slower works. Is this a delay that can be set in Blender, or an interpreter lag that cannot be adjusted? Actually I think it happens everywhere (not only text editor), but it’s especially nagging problem in a text window, where I may type whole paragraphs and almost each word has an accent. **Exact steps for others to reproduce the error** - In the text editor, press and hold the dead key - without releasing the dead key, press the key to be transformed. (this will fail) If you release the dead key before pressing the key to be changed, it will work normally.
Author

Added subscriber: @xs

Added subscriber: @xs

#104185 was marked as duplicate of this issue

#104185 was marked as duplicate of this issue
Author

It was suggested that possibly this is what happens:

a press followed by a press is different from a press followed by release. When you’re typing quickly, you might be pressing the next key before releasing the previous one, and this can (and does) lead to an apparent misinterpretation of events.

My question then is Blender different than the way most software handles keyboard input? I can imagine combining an alphanumeric key with certain special keys likes shift, alt, control or function keys, having meaning, it is a common interpretation for all software. But combining simple letter keys, must be interpreted differently by other software, since I don’t have the same problem. How is that uniquely useful to Blender functionality (to wait for key release in alphanumeric keys)? And can I turn it off?
Should it be off by default, relying on key press alone (not release) for letter keys to behave consistently as other software?

It was suggested that possibly this is what happens: > a press followed by a press is different from a press followed by release. When you’re typing quickly, you might be pressing the next key before releasing the previous one, and this can (and does) lead to an apparent misinterpretation of events. My question then is Blender different than the way most software handles keyboard input? I can imagine combining an alphanumeric key with certain special keys likes shift, alt, control or function keys, having meaning, it is a common interpretation for all software. But combining simple letter keys, must be interpreted differently by other software, since I don’t have the same problem. How is that uniquely useful to Blender functionality (to wait for key release in alphanumeric keys)? And can I turn it off? Should it be off by default, relying on key press alone (not release) for letter keys to behave consistently as other software?

Added subscriber: @htlcnn

Added subscriber: @htlcnn

Or just disable hot keys capture when you're typing in a text input?

Or just disable hot keys capture when you're typing in a text input?
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

note #95410 (Regression: Blender text editor lost support for dead keys) is related (so it is harder to check on linux now)

note #95410 (Regression: Blender text editor lost support for dead keys) is related (so it is harder to check on linux now)
Germano Cavalcante changed title from Unicode haracters in text editor, problem with accented letters, double strokes to Dead Keys failing (accented letters, double strokes) 2022-02-22 14:41:00 +01:00

Added subscriber: @mano-wii

Added subscriber: @mano-wii

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

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

I can confirm on windows.
It's not the same problem as #95410 (Regression: Blender text editor lost support for dead keys) as this one is quite old.

I can confirm on windows. It's not the same problem as #95410 (Regression: Blender text editor lost support for dead keys) as this one is quite old.
Member

Added subscriber: @Gabriel-Solis

Added subscriber: @Gabriel-Solis
Author

Exact steps for others to reproduce the error

In the text editor, press and hold the dead key
without releasing the dead key, press the key to be transformed. (this will fail)

If you release the dead key before pressing the key to be changed, it will work normally.

Somewhere along the way my original report of this problem has changed, the above DOES NOT reproduce the error I was reporting (though it may be something else, reported or not)
Accented Greek is a key combination in sequence: modifier (accent) first, followed by letter key.
My problem is it fails when I press the modifier key, release and then press the letter to be transformed with the accent, quickly, or so I think... , but can't be sure when I type quickly. I'm sure the accents work fine in other software the way I type, even fast, but, I did notice that in the word processor, for example, it works either way: still holding the modifier OR released.
I guess Blender is different? Could it not be the same as most all other software? in this way it interprets accented letter sequences?

> Exact steps for others to reproduce the error > > In the text editor, press and hold the dead key > without releasing the dead key, press the key to be transformed. (this will fail) > > If you release the dead key before pressing the key to be changed, it will work normally. Somewhere along the way my original report of this problem has changed, the above DOES NOT reproduce the error I was reporting (though it may be something else, reported or not) Accented Greek is a key combination in sequence: modifier (accent) first, followed by letter key. My problem is it fails when I press the modifier key, release and then press the letter to be transformed with the accent, quickly, or so I think... , but can't be sure when I type quickly. I'm sure the accents work fine in other software the way I type, even fast, but, I did notice that in the word processor, for example, it works either way: still holding the modifier OR released. I guess Blender is different? Could it not be the same as most all other software? in this way it interprets accented letter sequences?

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123

@PratikPB2123

The issue I'd opened (#104185) just got merged into this one, but they don't appear to be the same at all.

Mine has something to do with a "failed keycode lookup", and no bearing on the timing between the two keystrokes: it fails regardless.
Furthermore, I'm fairly sure mine is Linux-specific.

As far as I can tell, the issue I've opened should be merged with #95410.

@PratikPB2123 The issue I'd opened (#104185) just got merged into this one, but they don't appear to be the same at all. Mine has something to do with a "failed keycode lookup", and no bearing on the timing between the two keystrokes: it fails regardless. Furthermore, I'm fairly sure mine is Linux-specific. As far as I can tell, the issue I've opened should be merged with #95410.
Member

Right, I merged into the wrong report. Sorry for the noise

Right, I merged into the wrong report. Sorry for the noise

Not at all, you're doing god's work mate. Much appreciated

Not at all, you're doing god's work mate. Much appreciated
Member

Added subscriber: @Harley

Added subscriber: @Harley
Member

In the text editor, press and hold the dead key
without releasing the dead key, press the key to be transformed. (this will fail)

As far as I have ever known this is how it is supposed to work. Dead keys are not modifiers, like Shift Ctrl, Alt, etc. Modifiers change the behavior of other keys while they are depressed. But dead keys are dead, as in they do nothing when pressed and released, but the next key is altered.

While I have the US International Keyboard enabled I have a few dead keys, like ` and ^ and ''. Pressing one and then a key that can take such an accent will result in that character. So backtick then ''a'' gives me ''à"", and backtick then e gives me è

But I can demonstrate that the backtick is a dead key and not a modifier. In any application. Following is tested in Notepad

If I hold down the SHIFT key, and keep it depressed, I can type ae and get AE.

However if I hold down backtick, and keep it depressed, and type ae I get àe, NOT àè

Dead keys just aren't designed to work as modifiers.

I'm not sure how that is even possible. With the dead keys you can get that key if your press it twice. So backtick then backtick gives me a backtick. But deadkeys are also repeatable, while modifiers are not. As in you can hold down a shift key forever and it will do not harm. But hold down a deadkey for more than about half a second and you will get a repeating entry of ````````````````````````````````

> In the text editor, press and hold the dead key > without releasing the dead key, press the key to be transformed. (this will fail) As far as I have ever known this is how it is supposed to work. Dead keys are **not** modifiers, like Shift Ctrl, Alt, etc. Modifiers change the behavior of other keys while they are depressed. But dead keys are **dead**, as in they do nothing when pressed and released, but the next key is altered. While I have the US International Keyboard enabled I have a few dead keys, like ` and ^ and ''. Pressing one and then a key that can take such an accent will result in that character. So backtick then ''a'' gives me ''à"", and backtick then e gives me è But I can demonstrate that the backtick is a dead key and not a modifier. In any application. Following is tested in Notepad If I hold down the SHIFT key, and keep it depressed, I can type ae and get AE. However if I hold down backtick, and keep it depressed, and type ae I get àe, NOT àè Dead keys just aren't designed to work as modifiers. I'm not sure how that is even possible. With the dead keys you can get that key if your press it twice. So backtick then backtick gives me a backtick. But deadkeys are also repeatable, while modifiers are not. As in you can hold down a shift key forever and it will do not harm. But hold down a deadkey for more than about half a second and you will get a repeating entry of ````````````````````````````````
Philipp Oeser removed the
Interest
User Interface
label 2023-02-10 09:23:46 +01:00
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#84800
No description provided.