Keyboard & Mouse stop working correctly on Ubuntu 16.04 #50633

Closed
opened 2017-02-09 18:07:58 +01:00 by Guilherme Salomao · 8 comments

System Information
Ubuntu 16.04
Intel® HD Graphics 5500 (Broadwell GT2)
Dell Laptop with Touchpad (multitouch support)

Blender Version
Broken: 2.78a e8299c8

Short description of error
Tested on VSE:
Sometimes the keyboard & mouse stop working correctly in Blender and I have to press the Alt key twice (to open and close Ubuntu HUD), or press the Super key twice (to open and close Unity Dash) or press Alt+Tab once (to select Blender window, even though it already looks selected).

It happens after some time almost every time I'm editing videos, but looks like random behavior. There is, though, one thing that reproduces the bug every time: I have TouchEgg installed, and every time I use the laptop's touchpad to change from one workspace to another, Blender stops receiving keyboard & mouse inputs (except for clicking on buttons like 'File', 'Window', 'Help'). But if I use the keyboard shortcut to change workspaces, Blender still works normal.

Exact steps for others to reproduce the error

  1. Make sure you have multiple workspaces enabled on your Ubuntu 16.04 and that the shortcut to change from one to the other is Ctrl+Alt+Right / Left.
  2. Then install TouchEgg on Ubuntu and setup a touchegg.conf file containing at least this:
<gesture type="DRAG" fingers="4" direction="LEFT">
            <action type="SEND_KEYS">Control+Alt+Right</action>
</gesture>
  1. Then open Blender and select Video Editing as the screen layout.
  2. Drag your fingers on the touchpad to change workspaces two times: once to go to another and again to go back to where Blender window is.
  3. Hover your mouse cursor over some part and press Shift+F2 /F3/F4/F5....F12. Any of those shortcuts will not work.
  4. Now try clicking on the timeline to move the green line. Nothing happens.
  5. Press Alt key to open the HUD then press it again to close it.
  6. Everything works again.
**System Information** Ubuntu 16.04 Intel® HD Graphics 5500 (Broadwell GT2) Dell Laptop with Touchpad (multitouch support) **Blender Version** Broken: 2.78a e8299c8 **Short description of error** Tested on VSE: Sometimes the keyboard & mouse stop working correctly in Blender and I have to press the Alt key twice (to open and close Ubuntu HUD), or press the Super key twice (to open and close Unity Dash) or press Alt+Tab once (to select Blender window, even though it already looks selected). It happens after some time almost every time I'm editing videos, but looks like random behavior. There is, though, one thing that reproduces the bug every time: I have TouchEgg installed, and every time I use the laptop's touchpad to change from one workspace to another, Blender stops receiving keyboard & mouse inputs (except for clicking on buttons like 'File', 'Window', 'Help'). But if I use the keyboard shortcut to change workspaces, Blender still works normal. **Exact steps for others to reproduce the error** 1. Make sure you have multiple workspaces enabled on your Ubuntu 16.04 and that the shortcut to change from one to the other is Ctrl+Alt+Right / Left. 2. Then install TouchEgg on Ubuntu and setup a touchegg.conf file containing at least this: ``` <gesture type="DRAG" fingers="4" direction="LEFT"> <action type="SEND_KEYS">Control+Alt+Right</action> </gesture> ``` 3. Then open Blender and select Video Editing as the screen layout. 4. Drag your fingers on the touchpad to change workspaces two times: once to go to another and again to go back to where Blender window is. 5. Hover your mouse cursor over some part and press Shift+F2 /F3/F4/F5....F12. Any of those shortcuts will not work. 6. Now try clicking on the timeline to move the green line. Nothing happens. 7. Press Alt key to open the HUD then press it again to close it. 8. Everything works again.

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @gmsalomao2

Added subscriber: @gmsalomao2

Added subscriber: @mont29

Added subscriber: @mont29

You are using some third party app messing with event system and desktop-level stuff here. hard to tell in this condition which one is faulty, but my bet would be, that when gnome changes the workspace from touchegg-generated event, it’s missing something to resume correctly 'active' status (at least for Blender, does this also affect other applications btw?).

E.g., does touchegg generates the key press and release events?

You are using some third party app messing with event system **and** desktop-level stuff here. hard to tell in this condition which one is faulty, but my bet would be, that when gnome changes the workspace from touchegg-generated event, it’s missing something to resume correctly 'active' status (at least for Blender, does this also affect other applications btw?). E.g., does touchegg generates the key press **and** release events?

In #50633#416620, @mont29 wrote:
You are using some third party app messing with event system and desktop-level stuff here. hard to tell in this condition which one is faulty, but my bet would be, that when gnome changes the workspace from touchegg-generated event, it’s missing something to resume correctly 'active' status (at least for Blender, does this also affect other applications btw?).

E.g., does touchegg generates the key press and release events?

This does not affect any other applications at all. I've just tested the same shortcuts (Shift + F1/F2...) with another application and works great.
I don't know the answer to the last question, but since it only happens with Blender, I believe touchegg is not the issue. Also, the bug happens randomly too, as I wrote in the description. Before I even had touchegg installed it was already happening, but I couldn't find a way of reproducing the error.

> In #50633#416620, @mont29 wrote: > You are using some third party app messing with event system **and** desktop-level stuff here. hard to tell in this condition which one is faulty, but my bet would be, that when gnome changes the workspace from touchegg-generated event, it’s missing something to resume correctly 'active' status (at least for Blender, does this also affect other applications btw?). > > E.g., does touchegg generates the key press **and** release events? This does not affect any other applications at all. I've just tested the same shortcuts (Shift + F1/F2...) with another application and works great. I don't know the answer to the last question, but since it only happens with Blender, I believe touchegg is not the issue. Also, the bug happens randomly too, as I wrote in the description. Before I even had touchegg installed it was already happening, but I couldn't find a way of reproducing the error.
Member

Added subscriber: @TheOnlyJoey

Added subscriber: @TheOnlyJoey
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Joey Ferwerda self-assigned this 2017-02-22 16:49:08 +01:00
Member

This is not something we can fix, I have tried reproducing this on a Laptop with 16.04 (Both with Unity and GNOME 3) and can not reproduce this.
I would suspect this being either a hardware specific bug or a issue with external bindings through a third party application.

As we can not reproduce or have the specific hardware, this can not be considered to be a Blender bug. Closing.

This is not something we can fix, I have tried reproducing this on a Laptop with 16.04 (Both with Unity and GNOME 3) and can not reproduce this. I would suspect this being either a hardware specific bug or a issue with external bindings through a third party application. As we can not reproduce or have the specific hardware, this can not be considered to be a Blender bug. Closing.
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
3 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#50633
No description provided.