Wayland: modifier keys & changing active windows causes a freeze under SWAYWM #117225
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#117225
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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: sway/wlroots
Graphics card: AMD 680M
Blender Version
Broken: 4.0.2
Short description of error
When using blender with sway, and trigger it (see below), blender's viewport will freeze, but the drop-down menus will still work.
triggers:
Error:
Solution:
unfocusing and refocusing blender (sometimes it's anoying because it's the only window, and changing workspace triggers it
Exact steps for others to reproduce the error
Hi, this looks same as #112440, closing.
I don't think so.
In my case:
Blender expects the modifier key not to be pressed when it's focused again, but it isn't, so it freezes.
(or something simular)
In the other case:
It freezes like that after moving the cube, likely a GPU/intel issue.
Swaywm modifiers confuseblenderto Swaywm modifiers confuses blenderSwaywm modifiers confuses blenderto Swaywm modifiers confuse blenderCan you verify in 4.1 build?: https://builder.blender.org/download/daily/
Swaywm modifiers confuse blenderto Wayland: modifier keys & changing active windows causes a freeze under SWAYWMalso happens in 4.1
It seems likely sees the OS key as being held when it's not, causing those events to be ignored.
What version of sway are you using? I can't redo this with sway 1.8.1.
I can reproduce with sway 1.8.1, 1.9-dev and swayfx 0.3.2
I found it!
This Line is the culrit:
bindsym --no-repeat Super_L nop windown
Funny enough, it happens with any command, but only(?) for the key
Super_L
, not forControl_L
orAlt_L
Note though I need that line, so please don't close yet!
Could this be a Sway Issue?
@jl2 this looks to be a bug in SWAY as binding keys in the configuration should not impact the application.
Said differently, an application should be able to know which keys are held when it's activated no matter what key bindings are set.
Please report this as a bug to SWAYWM.
This happens to me consistently with labwc under wayland... I can reproduce it 100% every time. It is really annoying, it only happens to me when using blender.
@charbel if this isn't happening with more mainstream compositors then it should be reported as a bug in labwc as it's likely not properly handling key press/release events from libinput.
Closing this report as in both cases (SWAY & LABWM) Blender is detecting and reporting an invalid state:
Similar issues have been reported & fixed in other compositors:
https://gitlab.gnome.org/GNOME/mutter/-/issues/2457