Can't type tilde (~) in text editing mode - Blender enters fly/walk navigation immediately #82492
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#82492
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: GeForce GTX 1060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.71
OS Language: Brazilian Portuguese
Keyboard layout: United States (international)
Blender Version
Broken: version: 2.90.0, branch: master, commit date: 2020-08-31 11:26, hash:
0330d1af29
Worked: don't know
Short description of error
Using the
ENG
layout the tilde (~) is in this position on the keyboard:It can be entered by pressing {key Shift `}.
However, this is the shortcut of another operator:
This conflict causes the
VIEW3D_OT_navigate
operator to run instead of theFONT_OT_text_insert
.Pressing {key Shift `} (grave accent) enters into fly/walk navigation even when in text editing mode. This makes it impossible to type letters with tilde (i.e. "ã") directly into Blender.
The workaround for now is typing the text I need in another program and then pasting into Blender.
This is quite annoying, specially for someone who speaks another language, or has the tilde in his name, even if one uses the English user interface.
This bug might be related to #66607.
Exact steps for others to reproduce the error
This enters the fly/walk navigation mode immediately, instead of registering the tilde deadkey.
Added subscriber: @ronanpaixao
Added subscriber: @iss
Changed status from 'Needs Triage' to: 'Needs User Info'
I can't reproduce this with english keyboard layout. What layout do you use?
As reported, my keyboard layout is (in free translation): United States (international).
The input method (language-layout), as reported by Windows, is:
The actual keyboard is the usual 104-key mechanical keyboard. Specifics and photos can be seen at the manufacturer's site: https://www.hoopson.com.br/produto/mj-70-teclado-mecanico/
To be more thorough, even though my Windows language is in Brazilian Portuguese, I keep my Blender language as English.
I can't reproduce this even with portugese keyboard input, I am not sure if OS language would have influence there.
Can you check if this happens when you click on File > Defaults > Load Factory Settings?
Running Blender from console with
--debug-events
I don't see distinction between events whether I am in edit mode or object mode.If you could check this out it would help us to see if there is some problem.
Edit mode:
Object mode:
I did the load factory settings procedure, but nothing changed.
I dumped the output with
--debug-events
here:blender_debug.txt
In this file, I created a "General" file, loaded factory defaults, added the text, pressed
Shift
+(this entered fly mode), exited with `ESC`, entered edit mode with `Tab`, pressed `Shift`+
(this should result in a tilde deadkey but entered fly mode, hence the bug), and exited the program.This might be related to another abnormal behavior I have noticed before, but haven't reported yet. When I'm in an explicitly text widget, I have to hold the
shift
key for around one second before hitting the grave accent key to get a tilde. If I don't wait (and one second is an awful lot of time when typing), I get the grave accent instead of the tilde.I used your suggestion of the
--debug-events
flag again in this dump, in the hope that it will help the solution of this bug:blender_debug2.txt
In this dump, I created a "General" file, when to the scripting view and started typing
Shift
+``` and thena
, with different intervals. This should always result inã
, but unless I wait around one second between the shift and the accent, I getà
, which is the same as not pressing the shift.This is what resulted in the scripting file, before I closed the program:
Changed status from 'Needs User Info' to: 'Needs Triage'
Added subscriber: @mano-wii
This should be reported event for your Shift+` keypress
There is difference to mine. I guess this could be same issue as #68577? Can you type
ã
in some textbox in Blender?@mano-wii Can you reproduce this?
I can't reproduce the problem even with the OS in Portuguese and using the Brazilian Portuguese PTB layout for the keyboard.
By the way, I may be looking at the wrong place but by default there is no shortcut assigned to "Fly Navigation":
It isn't in search, but there is shortcut
I had to check the ENG layout to find out where that tilde is.
In the Brazilian layout the position is totally different:
Anyway, I can't reproduce the problem even using the United States layout
@ronanpaixao can you check if this happens with different keyboard?
If I use the traditional ABNT2 Brazilian keyboard layout, the problem does not show up, especially considering that the tilde is in a different position like @mano-wii pointed out.
However, this would force me to use either an ABNT2 keyboard or just get used to the layout being different from the actual keyboard (and I did have quite a hard time actually getting a US keyboard, which I prefer, in Brazil).
Also, I actually have a cheapo ABNT2 keyboard and tested it. As said, it works fine with the ABNT2 layout, but if I switch the OS layout to United States (international), then the tilde will be "the key under ESC" and the bug persists.
I have also just noticed that not pressing
Shift
, which should get me the grave accent as a deadkey, also is buggy in that it does not give me the accent, but displays some kind of "Gizmo" menu, even though I'm still in text edit mode.Some further tests showed me that
ESC
,Enter
or another key) and then pressa
will get me the character I want. I think this is still a bug. And the 1-second-wait is still necessary too.For me, it looks like "the key under ESC" is generating the fly/gizmo events even when in text-edit mode, where (in my opinion) it shouldn't.
Changed status from 'Needs Triage' to: 'Confirmed'
Revisiting old bugs.
I can replicate now using Layout
ENG
.But I believe this is a
Known Issue
as I'm not sure if it's possible to prioritize an operator when there is a conflict (FONT_OT_text_insert
vsVIEW3D_OT_navigate
).In my opinion the
FONT_OT_text_insert
operator should always be executed first in these cases.Can't type tilde in text editing mode - Blender enters fly/walk navigation immediatelyto Can't type tilde (~) in text editing mode - Blender enters fly/walk navigation immediately