Node socket click detection is broken in some cases #96255

Closed
opened 2022-03-09 09:18:45 +01:00 by Hallam Roberts · 29 comments
Contributor

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 511.79

Blender Version
Broken: version: 3.2.0 Alpha, branch: master (modified), commit date: 2022-03-09 06:18, hash: 1f9d85f56a
broke recently between eabdcdcd44 - 0a4fdcbb5f
Possibly caused by {aa71414dfc}?

Short description of error
The click detection for nodes does not always work correctly.

Exact steps for others to reproduce the error

  1. Set Blender's interface scale to 2.0 (not required)
  2. Zoom in and out on any node tree while attempting to click and drag the sockets.
  3. Notice sometimes the click is not registered.

Does not seem to affect other node trees apart from Geometry Nodes.

demo.mp4

**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 511.79 **Blender Version** Broken: version: 3.2.0 Alpha, branch: master (modified), commit date: 2022-03-09 06:18, hash: `1f9d85f56a` broke recently between eabdcdcd44b9 - 0a4fdcbb5fe3 Possibly caused by {aa71414dfc}? **Short description of error** The click detection for nodes does not always work correctly. **Exact steps for others to reproduce the error** 1. Set Blender's interface scale to 2.0 (not required) 2. Zoom in and out on any node tree while attempting to click and drag the sockets. 3. Notice sometimes the click is not registered. Does not seem to affect other node trees apart from Geometry Nodes. [demo.mp4](https://archive.blender.org/developer/F12912555/demo.mp4)
Author
Contributor

Added subscriber: @MysteryPancake

Added subscriber: @MysteryPancake

#96600 was marked as duplicate of this issue

#96600 was marked as duplicate of this issue

#96468 was marked as duplicate of this issue

#96468 was marked as duplicate of this issue
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Thanks for the report. I can confirm.
Definitely a regression but can not replicate on 3.1. Will check where exactly it broke.
Also, similar report we've got already but I'm not sure if it's related to this one- #96244 (Node Editor selection.)

Thanks for the report. I can confirm. Definitely a regression but can not replicate on 3.1. Will check where exactly it broke. Also, similar report we've got already but I'm not sure if it's related to this one- #96244 (Node Editor selection.)
Member

At the end, git bisect points me to aa71414dfc
Though I'm not very sure, I caught with random crashes on intermediate builds (due to some recent changes in drag event)
@MysteryPancake , did you find the same behavior with other node editors.

At the end, git bisect points me to aa71414dfc Though I'm not very sure, I caught with random crashes on intermediate builds (due to some recent changes in drag event) @MysteryPancake , did you find the same behavior with other node editors.
Author
Contributor

In #96255#1319308, @PratikPB2123 wrote:
At the end, git bisect points me to aa71414dfc
Though I'm not very sure, I caught with random crashes on intermediate builds (due to some recent changes in drag event)
@MysteryPancake , did you find the same behavior with other node editors.

It doesn't seem to affect other node editors for some reason. It doesn't appear to happen in Blender 3.0 either.

> In #96255#1319308, @PratikPB2123 wrote: > At the end, git bisect points me to aa71414dfc > Though I'm not very sure, I caught with random crashes on intermediate builds (due to some recent changes in drag event) > @MysteryPancake , did you find the same behavior with other node editors. It doesn't seem to affect other node editors for some reason. It doesn't appear to happen in Blender 3.0 either.

Added subscriber: @SteffenD

Added subscriber: @SteffenD
Member

Added subscriber: @ideasman42

Added subscriber: @ideasman42
Member

It doesn't seem to affect other node editors for some reason.

Ok, thanks you for information.

It doesn't appear to happen in Blender 3.0 either.

Yes, broke recently between eabdcdcd44 - 0a4fdcbb5f
@ideasman42 , can you take a look? (uncertain about problematic commit)

(4k monitor requirement is misleading. I can even reproduce on normal monitor)

> It doesn't seem to affect other node editors for some reason. Ok, thanks you for information. > It doesn't appear to happen in Blender 3.0 either. Yes, broke recently between eabdcdcd44b9 - 0a4fdcbb5fe3 @ideasman42 , can you take a look? (uncertain about problematic commit) (4k monitor requirement is misleading. I can even reproduce on normal monitor)
Pratik Borhade changed title from Node socket click detection is broken on 4K monitor with interface scale 2.0 to Node socket click detection is broken in some cases 2022-03-09 12:39:01 +01:00
Contributor

Added subscriber: @Raimund58

Added subscriber: @Raimund58

Added subscriber: @dabo

Added subscriber: @dabo

Added subscriber: @DanielPaul

Added subscriber: @DanielPaul

Added subscriber: @Dekko_Bokko

Added subscriber: @Dekko_Bokko

Added subscriber: @Florian-10

Added subscriber: @Florian-10

I also have the same problem but I have the scale set to one and I also have to try like 3 times sometimes to drag a noodle out of a soccet.

I also have the same problem but I have the scale set to one and I also have to try like 3 times sometimes to drag a noodle out of a soccet.

Added subscriber: @ilirbeqiri

Added subscriber: @ilirbeqiri

I'm facing the same issue, it only works if I offset my cursor to the left.
Problem occurs on 4k and 1080p, resolution scale is set to 1.
2022-03-16 22-24-59.mp4

I'm facing the same issue, it only works if I offset my cursor to the left. Problem occurs on 4k and 1080p, resolution scale is set to 1. [2022-03-16 22-24-59.mp4](https://archive.blender.org/developer/F12930689/2022-03-16_22-24-59.mp4)

Added subscribers: @PMA33, @iss, @lichtwerk

Added subscribers: @PMA33, @iss, @lichtwerk
Author
Contributor

I noticed when the bug occurs, the socket is clickable further to the left but not on the socket itself. Also node_link_invoke is never called when the bug occurs.

I noticed when the bug occurs, the socket is clickable further to the left but not on the socket itself. Also `node_link_invoke` is never called when the bug occurs.

Added subscribers: @Faber, @mano-wii

Added subscribers: @Faber, @mano-wii

Added subscriber: @hatchli

Added subscriber: @hatchli

This issue was referenced by fb87578698

This issue was referenced by fb8757869871872a1c1bb66bb45e59c780539c74

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Campbell Barton self-assigned this 2022-03-21 08:21:51 +01:00

Thank you @ideasman42 !

Thank you @ideasman42 !

I'm facing the same issue in 3.4.1 on a 4k monitor even if the UI scale is set to 1.

I'm facing the same issue in 3.4.1 on a 4k monitor even if the UI scale is set to 1.

@Limteng could you open a new report please which exact steps to redo (reference this report).

@Limteng could you open a new report please which exact steps to redo (reference this report).

@Limteng could you open a new report please which exact steps to redo (reference this report).

Done: #104932
I haven't found a working version yet. Will update the issue description if I find one.

> @Limteng could you open a new report please which exact steps to redo (reference this report). Done: https://projects.blender.org/blender/blender/issues/104932 I haven't found a working version yet. Will update the issue description if I find one.
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
15 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#96255
No description provided.