Nodes: Can't select Reroute nodes #112856

Open
opened 2023-09-25 15:16:04 +02:00 by Philipp Oeser · 7 comments
Member

System Information
Operating system: Linux-6.4.15-200.fc38.x86_64-x86_64-with-glibc2.37 64 Bits, X11 UI
Graphics card: NVIDIA GeForce RTX 3080 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 535.104.05

Blender Version
Broken: version: 4.0.0 Alpha, branch: main, commit date: 2023-09-25 00:25, hash: 407e2b9f700f
Worked: (newest version of Blender that worked as expected)

It is caused by 271f34f77e

Short description of error
Cant select reroute nodes (always spawns context menu) in Geometry Nodes editor (Shader Editor is fine).

Exact steps for others to reproduce the error

  1. Use Select With RMB in Preferences.
  2. Turn on Developer Extras in Preferences.
  3. Switch to the Geometry Nodes workspace.
  4. Add a Reroute node.
  5. Try to select it with the right mouse button.
  6. A context menu is spawned (a single entry: Edit Source which never makes sense in the node editor since this is not py UI code).
**System Information** Operating system: Linux-6.4.15-200.fc38.x86_64-x86_64-with-glibc2.37 64 Bits, X11 UI Graphics card: NVIDIA GeForce RTX 3080 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 535.104.05 **Blender Version** Broken: version: 4.0.0 Alpha, branch: main, commit date: 2023-09-25 00:25, hash: `407e2b9f700f` Worked: (newest version of Blender that worked as expected) It is caused by 271f34f77e056611e5e227b60823dd94f76340df **Short description of error** Cant select reroute nodes (always spawns context menu) in Geometry Nodes editor (Shader Editor is fine). **Exact steps for others to reproduce the error** 1. Use Select With RMB in Preferences. 2. Turn on Developer Extras in Preferences. 3. Switch to the Geometry Nodes workspace. 4. Add a Reroute node. 5. Try to select it with the right mouse button. 6. A context menu is spawned (a single entry: `Edit Source` which never makes sense in the node editor since this is not py UI code).
Philipp Oeser added the
Status
Needs Triage
Priority
Normal
Type
Report
labels 2023-09-25 15:16:05 +02:00
Iliya Katushenock changed title from Cant select Reroute nodes (always spawns context menu) in Geometry Nodes editor (Shader Editor is fine) to Regression: Can't select Reroute nodes 2023-09-25 15:21:57 +02:00
Iliya Katushenock added the
Interest
Geometry Nodes
Interest
Nodes & Physics
labels 2023-09-25 15:22:01 +02:00
Member

Additionally:

  • I can right click select reroute socket in shader editor
  • Right click on foldable ui lists in a shader node will also give me an "Edit Source" menu instead of selecting a node.

图片

Additionally: - I can right click select reroute socket in shader editor - Right click on foldable ui lists in a shader node will also give me an "Edit Source" menu instead of selecting a node. ![图片](/attachments/a54d6c03-a51f-421c-acf0-175f442e6bd9)
Iliya Katushenock changed title from Regression: Can't select Reroute nodes to Nodes: Can't select Reroute nodes 2023-09-25 22:08:11 +02:00

If it's not urgent I would try to make sense of it. I'm new to the codebase, probably will take some time.

If it's not urgent I would try to make sense of it. I'm new to the codebase, probably will take some time.

I reproduced it yesterday.
It is also reproducable for release version: 3.6.1, branch: blender-v3.6-release, commit date: 2023-07-17 12:50, hash: 8bda729ef4dc, type: release

But after pulling latest changes from main branch issue dissapeared. Please confirm its gone?

I reproduced it yesterday. It is also reproducable for release `version: 3.6.1, branch: blender-v3.6-release, commit date: 2023-07-17 12:50, hash: 8bda729ef4dc, type: release` But after pulling latest changes from main branch issue dissapeared. Please confirm its gone?
Author
Member

Nope, I can still repro.
Maybe your Preferences changed? (or were not correctly copied from 4.0 to 4.1?)
Please check again with the repro steps (these include stuff in Preferences)

Nope, I can still repro. Maybe your Preferences changed? (or were not correctly copied from 4.0 to 4.1?) Please check again with the repro steps (these include stuff in Preferences)

yep, still reproducible for 4.1, its just preferences switched to default

yep, still reproducible for 4.1, its just preferences switched to default
Author
Member

It is caused by 271f34f77e

Since above commit we now have an invisible and disabled button over the sockets (for the tooltips), maybe we can leverage the fact that it is disabled and invisible, so that context menus are not spawned on them @JacquesLucke ?

It is caused by 271f34f77e056611e5e227b60823dd94f76340df Since above commit we now have an invisible and disabled button over the sockets (for the tooltips), maybe we can leverage the fact that it is disabled and invisible, so that context menus are not spawned on them @JacquesLucke ?
Member

Hm tricky, I think in general it should be possible to have context menus on sockets. We might need that at some point. Might be ok to have some special case here so that right click does not open the context menu when clicking the RMB, if RMB-selection is used.
For LMB-selection, the behavior shouldn't change.

Hm tricky, I think in general it should be possible to have context menus on sockets. We might need that at some point. Might be ok to have some special case here so that right click does not open the context menu when clicking the RMB, if RMB-selection is used. For LMB-selection, the behavior shouldn't change.
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#112856
No description provided.