Node sockets disappearing but still dragging works #102007

Open
opened 2022-10-23 07:07:16 +02:00 by Tamil Selvan · 11 comments

System Information
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1650/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.93

Blender Version
Broken: version: 3.4.0 Alpha, branch: master, commit date: 2022-10-22 22:32, hash: b70bbfadfe

Short description of error
When a node is added and zoomed out, the node sockets disappear. But still, the drag function works.

Node Socket Bug Report .mp4

**System Information** Operating system: Windows-10-10.0.22000-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1650/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.93 **Blender Version** Broken: version: 3.4.0 Alpha, branch: master, commit date: 2022-10-22 22:32, hash: `b70bbfadfe` **Short description of error** When a node is added and zoomed out, the node sockets disappear. But still, the drag function works. [Node Socket Bug Report .mp4](https://archive.blender.org/developer/F13752978/Node_Socket_Bug_Report_.mp4)
Author

Added subscriber: @Tams_3d

Added subscriber: @Tams_3d
Tamil Selvan changed title from Geometry Nodes: Node sockets disappearing but still dragging works to Node sockets disappearing but still dragging works 2022-10-23 07:09:21 +02:00

Added subscriber: @mod_moder

Added subscriber: @mod_moder

They don't disappear. The radius is just an integer. And it tends to 0 when divided by your scale.
But the fact that he is still usible is the norm. At least, absolutely the entire interface remains working at any resolution. The fact that the elements disappear and are still usible (getting into the 0-size button) already looks strange, but it's more of a question.

~~They don't disappear. The radius is just an integer. And it tends to 0 when divided by your scale.~~ But the fact that he is still usible is the norm. At least, absolutely the entire interface remains working at any resolution. The fact that the elements disappear and are still usible (getting into the 0-size button) already looks strange, but it's more of a question.

Also, this happens in any nodes.

Also, this happens in any nodes.
Member

Added subscribers: @HooglyBoogly, @PratikPB2123

Added subscribers: @HooglyBoogly, @PratikPB2123
Member

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

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

They don't disappear. The radius is just an integer. And it tends to 0 when divided by your scale.

Not a bug in that case.
The issue reported here is a request for modified/improved behavior and not a bug in current behavior. Closing as this bug tracker is only for bugs and errors.
For user requests and feedback, please use other channels: https://wiki.blender.org/wiki/Communication/Contact#User_Feedback_and_Requests
For more information on why this isn't considered a bug, visit: https://wiki.blender.org/wiki/Reference/Not_a_bug
tagging @HooglyBoogly so devs/module owner will also be aware of this report. Feel free to reopen if improvement is needed here.

> They don't disappear. The radius is just an integer. And it tends to 0 when divided by your scale. Not a bug in that case. The issue reported here is a request for modified/improved behavior and not a bug in current behavior. Closing as this bug tracker is only for bugs and errors. For user requests and feedback, please use other channels: https://wiki.blender.org/wiki/Communication/Contact#User_Feedback_and_Requests For more information on why this isn't considered a bug, visit: https://wiki.blender.org/wiki/Reference/Not_a_bug tagging @HooglyBoogly so devs/module owner will also be aware of this report. Feel free to reopen if improvement is needed here.
Member

Added subscriber: @lone_noel

Added subscriber: @lone_noel
Member

I think there is some merit to the report.

The sockets are hidden at lower zoom levels to improve drawing performace (see the comment /* Skip slow socket drawing if zoom is small. */ in node_draw.cc), but as shown in the video the zoom alone isn't a good heuristc since the node editor also scales with the UI scale leading to the node sockets not being drawn even though they would have easily been visible.

We're also not very consistent about this and don't hide sockets on hidden nodes (see screenshot below).

Not sure if that classifies as bug, but there is definitely room for us to make this more consistent! :)


Notice how the sockets on the hidden nodes are still visible in the bottom editor, while not being drawn on the uncollapsed node.
Bildschirmfoto 2022-10-23 um 12.26.14.png

I think there is some merit to the report. The sockets are hidden at lower zoom levels to improve drawing performace (see the comment `/* Skip slow socket drawing if zoom is small. */` in `node_draw.cc`), but as shown in the video the zoom alone isn't a good heuristc since the node editor also scales with the UI scale leading to the node sockets not being drawn even though they would have easily been visible. We're also not very consistent about this and don't hide sockets on hidden nodes (see screenshot below). Not sure if that classifies as bug, but there is definitely room for us to make this more consistent! :) --- Notice how the sockets on the hidden nodes are still visible in the bottom editor, while not being drawn on the uncollapsed node. ![Bildschirmfoto 2022-10-23 um 12.26.14.png](https://archive.blender.org/developer/F13753147/Bildschirmfoto_2022-10-23_um_12.26.14.png)

Changed status from 'Archived' to: 'Confirmed'

Changed status from 'Archived' to: 'Confirmed'

see the comment /* Skip slow socket drawing if zoom is small. */ in node_draw.cc

I'm sorry I didn't check. I noticed that the size changes in jerks and that was enough for me.
But if we consider this as the fact that the drawing does not occur at all, but yes. Even on big screens it will be like that.
In that case, if this is actually intended behavior, which may not be very consistent, is this a known issue?

> see the comment `/* Skip slow socket drawing if zoom is small. */` in node_draw.cc I'm sorry I didn't check. I noticed that the size changes in jerks and that was enough for me. But if we consider this as the fact that the drawing does not occur at all, but yes. Even on big screens it will be like that. In that case, if this is actually intended behavior, which may not be very consistent, is this a known issue?
Philipp Oeser removed the
Interest
Nodes & Physics
label 2023-02-10 08:43:32 +01: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#102007
No description provided.