Geometry Nodes: Glitch when connecting a socket to the Group Input #114461
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#114461
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-6.2.0-36-generic-x86_64-with-glibc2.35 64 Bits, X11 UI
Graphics card: NVIDIA RTX A5000/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 525.125.06
Blender Version
Broken: version: 3.3 LTS, 3.6.4, 4.0 beta
Worked: ?
Short description of error
Glitch when connecting a socket to the Group Input.
In Blender 3.3 the glitch is there, but only for a moment. On 3.6 (and 4.0) you need to move the mouse for it to go away.
So far I can only reproduce this on the Geometry Nodes editor.
See video:
Exact steps for others to reproduce the error
Glitch observed in Geometry Nodes editor
New
button to create a new geometry node groupPoints
input to theGroup Input
I can confirm.
I noticed that it doesn't always happen and it also doesn't happen in Debug builds.
System Information
A few more observations after testing this for a bit:
Integer
,Boolean
,Float
(as well asObject
,Collection
andColor
when they have no name set)This is what I figured out from looking through the code:
uiItemR
instd_node_socket_draw
cause this (basically, when the socket switches from drawing the property button to drawing a plain label)It might be that
ui_but_equals_old
isn't properly matching the buttons when redrawing, causing the wrong flags to be copied to the label.That doesn't completely make sense to me, yet, but making
ui_but_equals_old
a bit more strict by adding another comparison seems to do the trick:I can have another look to figure out if that's actually the issue, if noone with a better idea of what's happening wants to take this on.
@HooglyBoogly feel like reviewing Leon's suggestion?
Thanks @lone_noel, this is quite useful. I'm not sure about the snippet above either. What this function is supposed to do is compare the "identity" of the button, which is done using the data or the operation it represents. I wouldn't consider a tooltip callback part of the button's identity, so this check seems incorrect semantically, although practically it might work just fine. It will still break if buttons happen to use the same tooltip callback though.
Here's what's going on:
I see two issues:
ui_but_is_interactive()
) -- see snippet below. This will at least avoid many incorrect matches, but label buttons still don't have a real "identity" we could use for comparison.Thanks for the explanation, @JulianEisel.
That makes a lot of sense and that diff works great for this in my tests!
@JulianEisel > see snippet...
I tried that and it fixed this issue very nicely, but then caused problems as reported in #116384 and #116426