GNOME BUG: Second windows ignores tablet input in gnome-shell #107778

Open
opened 2023-05-09 12:16:19 +02:00 by toastamore · 4 comments

System Information
Operating system: Linux-5.18.6-200.fc36.x86_64-x86_64-with-glibc2.35 64 Bits
Graphics card: AMD Radeon RX 550 / 550 Series (polaris12, LLVM 14.0.0, DRM 3.46, 5.18.6-200.fc36.x86_64) AMD 4.6 (Core Profile) Mesa 22.1.2

Blender Version
Broken: version: 3.5.1, branch: blender-v3.5-release, commit date: 2023-04-24 18:11, hash: e1ccd9d4a1d3
Worked: 3.3.1

Short description of error
Any secondary window doesn't register input from pen tablet

Exact steps for others to reproduce the error
Open a "new file window" and see as the tablet input stops being registered by blender on that window

Tested on multiple computers with the same os and different pen tablets.
On a closer inspection, I found an aestethic difference between 3.3.1 Schermata del 2023-05-09 12-13-49.png secondary windows and 3.5.1 ones Schermata del 2023-05-09 12-11-39.png.

**System Information** Operating system: Linux-5.18.6-200.fc36.x86_64-x86_64-with-glibc2.35 64 Bits Graphics card: AMD Radeon RX 550 / 550 Series (polaris12, LLVM 14.0.0, DRM 3.46, 5.18.6-200.fc36.x86_64) AMD 4.6 (Core Profile) Mesa 22.1.2 **Blender Version** Broken: version: 3.5.1, branch: blender-v3.5-release, commit date: 2023-04-24 18:11, hash: `e1ccd9d4a1d3` Worked: 3.3.1 **Short description of error** Any secondary window doesn't register input from pen tablet **Exact steps for others to reproduce the error** Open a "new file window" and see as the tablet input stops being registered by blender on that window Tested on multiple computers with the same os and different pen tablets. On a closer inspection, I found an aestethic difference between 3.3.1 ![Schermata del 2023-05-09 12-13-49.png](/attachments/5826f39f-4670-4d37-92e1-80bf34abec4a) secondary windows and 3.5.1 ones ![Schermata del 2023-05-09 12-11-39.png](/attachments/b898c24e-187f-4802-ade7-c9a204bafb23).
toastamore added the
Priority
Normal
Status
Needs Triage
Type
Report
labels 2023-05-09 12:16:20 +02:00

Hello, thank for report that. I can't repoduce this on Windows 10 & Huion table h430p

Hello, thank for report that. I can't repoduce this on Windows 10 & Huion table h430p
Iliya Katushenock added the
Interest
User Interface
label 2023-05-09 12:20:54 +02:00
Member

Edit: Are you on Wayland? So then that could be a bug in blender's wayland implementation.


Hi @toastamore I can't reproduce the issue with linux and wacom cintiq. I suspect it could possibly be a libwacom issue. Is the "new file window" on a separate monitor? (But I don't think this could cause any problem either)

While testing on my device I found that once my pen is over any blender window, xinput doesn't seem to be able to print events any more so that's pretty weird, not sure why, but probably some x11 hook functions prevented the event from passing along.

One likely issue could be that your window manager is not behaving correctly (like if you have a window that's somehow on top but not showing that way).

But anyway could you please do this:

  • Use xinput --list and see the list of devices, check the id of your stylus.
  • Use xinput test <that id> and you should be able to see events when you move your stylus
    • Are you able to see events at all?
    • Move the stylus to the subwindow that's supposedly not working, does it stop to generate any specific events?
Edit: Are you on Wayland? So then that could be a bug in blender's wayland implementation. ----------- Hi @toastamore I can't reproduce the issue with linux and wacom cintiq. I suspect it could possibly be a libwacom issue. Is the "new file window" on a separate monitor? (But I don't think this could cause any problem either) While testing on my device I found that once my pen is over any blender window, `xinput` doesn't seem to be able to print events any more so that's pretty weird, not sure why, but probably some x11 hook functions prevented the event from passing along. One likely issue could be that your window manager is not behaving correctly (like if you have a window that's somehow on top but not showing that way). But anyway could you please do this: - Use `xinput --list` and see the list of devices, check the id of your stylus. - Use `xinput test <that id>` and you should be able to see events when you move your stylus - Are you able to see events at all? - Move the stylus to the subwindow that's supposedly not working, does it stop to generate any specific events?
YimingWu added
Status
Needs Information from User
Platform
Linux
Interest
Wayland
and removed
Status
Needs Triage
labels 2023-05-09 14:49:42 +02:00
Author

Hi, @ChengduLittleA I am on fedora 36, so yes, I'm on Wayland.

The new window is not on a different monitor. I noticed that if I alt+tab to a different window and then come back to blender, at least the tablet can interact with the elements of the window but is unable to interact with the top bar (the one with the three icons, reduce to icon, maximize and close)
The same thing happens if I click on the empty part of the editable file name text (not on the written part).
Schermata del 2023-05-10 12-43-02.png

I'm using a bamboo tablet CTH-670, and as I stated in the bug report this behaviour didn't happen at least on 3.3.1

I never used xinput before, but I tried, so:

Are you able to see events at all?
no

Move the stylus to the subwindow that's supposedly not working, does it stop to generate any specific events?
no again

Schermata del 2023-05-10 12-11-15.png

I'll try to update to fedora 38 and see if the issue is still present

Hi, @ChengduLittleA I am on fedora 36, so yes, I'm on Wayland. The new window is not on a different monitor. I noticed that if I alt+tab to a different window and then come back to blender, at least the tablet can interact with the elements of the window but is unable to interact with the top bar (the one with the three icons, reduce to icon, maximize and close) The same thing happens if I click on the empty part of the editable file name text (not on the written part). ![Schermata del 2023-05-10 12-43-02.png](/attachments/5c1d44df-5c08-4666-9e92-8e048d887522) I'm using a bamboo tablet CTH-670, and as I stated in the bug report this behaviour didn't happen at least on 3.3.1 I never used xinput before, but I tried, so: > Are you able to see events at all? no >Move the stylus to the subwindow that's supposedly not working, does it stop to generate any specific events? no again ![Schermata del 2023-05-10 12-11-15.png](/attachments/661df199-9bf8-4992-9a5f-ed781eb7834f) I'll try to update to fedora 38 and see if the issue is still present

Confirmed, this doesn't happen every time but it happens often (GNOME Shell 44.3).

This is a bug in gnome-shell (it doesn't happen with KDE), see: https://gitlab.gnome.org/GNOME/mutter/-/issues/2658

Confirmed, this doesn't happen every time but it happens often (GNOME Shell 44.3). This is a bug in gnome-shell (it doesn't happen with KDE), see: https://gitlab.gnome.org/GNOME/mutter/-/issues/2658
Campbell Barton added
Type
Known Issue
and removed
Type
Report
labels 2023-07-21 07:40:47 +02:00
Campbell Barton added
Status
Confirmed
and removed
Status
Needs Information from User
labels 2023-07-21 07:42:18 +02:00
Campbell Barton changed title from Secondary windows not registering any input from tablets on Linux to Second windows ignores tablet input under Gnome-Shell/Wayland 2023-07-21 07:42:50 +02:00
Jesse Yurkovich added the
Module
Platforms, Builds & Tests
label 2023-07-23 04:41:51 +02:00
Campbell Barton changed title from Second windows ignores tablet input under Gnome-Shell/Wayland to GNOME BUG: Second windows ignores tablet input in gnome-shell 2023-10-12 05:25:04 +02: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
4 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#107778
No description provided.