US intl dead keys not working in wayland (works fine in X11) #113724
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#113724
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: Linux (Arch and SUSE Tumbleweed, KDE and Gnome)
Graphics card: AMD Radeon 7600
Blender Version
Broken: 3.6.1, 3.6.4, 3.6.5 RC, 4.0.0-beta
Worked:
Short description of error
Dead keys not working in wayland but ok in X11.
Exact steps for others to reproduce the error
When running blender with wayland and "US intl dead keys" keyboard layout, the dead keys are dead.
Expected behavior (works when running X11) :
"+ [space] should produce "
'+ [space] should produce '
"+a should produce ä
`+e should produce è
...
What i get in wayland is:
"+[space] produces [space]
'+[space] produces [space]
"+a produces a
`+e produces e
...
I can reproduce this on Arch (KDE) and Tumbleweed (KDE and Gnome).
My current workaround is to run blender X11 in a vm.
Same problem in versions 3.6.1, 3.6.5 RC and 4.0.0 beta .
@ideasman42 , can you check?
@Bertrand-Rubli hi, from what I can see X11 doesn't have explicit support for dead-keys, it may be that the X11 API's provide text from dead-keys were as the Wayland API don't.
Blender supports IME on Wayland, as of:
a38a49b073
.From testing with GNOME, it looks as though dead-keys may be implemented using IME. In GNOME's "Keyboard" preferences, with the "Compose Key" set, this key prompts for further input so so [
compose
+a
+,
] results iną
for example.Could you check if this works on your system too?
Tested in vm running Tumbleweed, Gnome 45, Blender 4.1.0 latest.
I configured the compose key and tested it with standard and dead keys layout.
Everything works in gnome console, but unfortunately not in blender (tested in python console).
Sorry :(
Would you be able to test with input fields (object name for e.g.).
The Python console doesn't support IME, but text fields do. If Wayland needs IME for dead-key support we might have to add IME support for other text input in Blender.
Tried with renaming objects and in search field.
Blender ignores the "Compose Key".
But i found that the "Alternate Characters Key" can be used to produce quotes and special characters in text fields and python console.
Committed dead-key support
57a5c6c4be
for 4.0 (since this works in X11, it's a regression in functionality not to support this in Wayland too).Supporting this functionality in GNOME was a bit confusing as dead keys use IME when available and fallback to
xkb_compose_*
, so there are two ways it can be supported.Blender 4.0 only has dead-key support, 4.1 supports both dead-keys via a compose key & input methods (IME). This is needed for dead-keys to work in the console & text editor since IME is only used for Blender's text UI elements.