Comp Group nodes don't retain name #29139

Closed
opened 2011-11-03 07:54:05 +01:00 by david mcsween · 11 comments

%%%If I name a group node I cannot search for it by name, as only the default name appears in the add dropdown menu eg. Nodegroup.001 etc.

When I try to append the node group from the node tree of a .blend all I see are the default names. I have tried this on other PCs but not other OS.

Win XP 32bit 2.6 r41259%%%

%%%If I name a group node I cannot search for it by name, as only the default name appears in the add dropdown menu eg. Nodegroup.001 etc. When I try to append the node group from the node tree of a .blend all I see are the default names. I have tried this on other PCs but not other OS. Win XP 32bit 2.6 r41259%%%
Author

Changed status to: 'Open'

Changed status to: 'Open'

%%%It works for me, I think perhaps you are changing the wrong name? There is the name of the node, and the name of the node group used by that node. The former you can edit in the Active Node panel, while the latter is edited by opening the group node (tab) and edit the name that shows at the top.%%%

%%%It works for me, I think perhaps you are changing the wrong name? There is the name of the node, and the name of the node group used by that node. The former you can edit in the Active Node panel, while the latter is edited by opening the group node (tab) and edit the name that shows at the top.%%%
Author

%%%I see, but the name IS reflected in the active node properties panel. Leading me to think that, that is where I should edit the value.

But if you change it there (in properties), it does not change the name in the actual group node. It is not intuitive to edit the name field on the group node itself, as all the other nodes must be edited in the properties panel.

I agree it is not broken but could be a UI bug.%%%

%%%I see, but the name IS reflected in the active node properties panel. Leading me to think that, that is where I should edit the value. But if you change it there (in properties), it does not change the name in the actual group node. It is not intuitive to edit the name field on the group node itself, as all the other nodes must be edited in the properties panel. I agree it is not broken but could be a UI bug.%%%
Author

%%%Sorry I meant to say that the default name IS reflected in the Active node panel. Making it seem that, that would be where to alter it. You just can't edit it there.%%%

%%%Sorry I meant to say that the default name IS reflected in the Active node panel. Making it seem that, that would be where to alter it. You just can't edit it there.%%%

%%%David, when you're trying to link group node into scene, name of node tree belongs to group node is displayed there. It can be renamed from group node header when it's in edit mode. Also here's patch which makes it able to edit name of editing tree from panel.

Lukas, what do you think about this change?%%%

%%%David, when you're trying to link group node into scene, name of node tree belongs to group node is displayed there. It can be renamed from group node header when it's in edit mode. Also here's patch which makes it able to edit name of editing tree from panel. Lukas, what do you think about this change?%%%

%%%Sergey, I'd use uiTemplateID here, instead of just the name.%%%

%%%Sergey, I'd use uiTemplateID here, instead of just the name.%%%

%%%Brecht, in this case uiTemplateIDBrowse would make more sense because you don't want this tree be unlinked. Uploading updated patch.%%%

%%%Brecht, in this case uiTemplateIDBrowse would make more sense because you don't want this tree be unlinked. Uploading updated patch.%%%

%%%I'd leave out the label, we don't generally use this for datablock selectors, but otherwise just commit I think.%%%

%%%I'd leave out the label, we don't generally use this for datablock selectors, but otherwise just commit I think.%%%

%%%Just wasn't sure it's clear what exactly this id browser does, that's why added label. Removed label and commited to rev41523.
Thanks for the report and review, closing now.%%%

%%%Just wasn't sure it's clear what exactly this id browser does, that's why added label. Removed label and commited to rev41523. Thanks for the report and review, closing now.%%%

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member

%%%Ok, from the bug description it sounds like you are renaming the group node, but actually want to rename the node tree itself. The situation with node names is confusing (partly due to my own changes) and needs cleanup. There are three different naming strings involved:

  1. The node name: Unique string to identify the node, but usually not usable as ui display string, because it has .001, etc. appendix after each node duplication.
  2. The displayed label: is now instead generated by a label callback. Usually takes just the node type name (e.g. "Add", "Color Balalnce"). This label can also be overridden by specifying a custom label string in the node props panel. It does not have to be unique, but each node still has its own custom label (not shared between nodes of same type).
  3. The group tree ID block name: Groups nodes use a different default label function to display the name of the internal tree datablock instead. So their display name can actually be changed by either the custom label or by changing the group tree name. Also the tree datablock is only displayed in edited groups. Sergey's patch just exposes this as part of the group node again, so shortcuts the name and label strings (not bad at all, just doesn't really solve the problem)

The goal with introducing the label callback was to allow nicer and more meaningful ui string display ("Add" instead of "Math.003"). The disadvantage is that the node name string is not directly visible in the ui, except the active node panel. It should only be used for identifying the node (e.g. in scripting).

A possible solution could be removing the custom node label string again. Previously the node name was registering change of the initial string with a flag (can't remember what exactly this was used for), we could roll back to that behavior to avoid confusion. Disadvantage would be getting name extensions on duplicated nodes in the ui again, but may be worth it to reduce complexity.
%%%

%%%Ok, from the bug description it sounds like you are renaming the group node, but actually want to rename the node tree itself. The situation with node names is confusing (partly due to my own changes) and needs cleanup. There are three different naming strings involved: 1) The node name: Unique string to identify the node, but usually not usable as ui display string, because it has .001, etc. appendix after each node duplication. 2) The displayed label: is now instead generated by a label callback. Usually takes just the node _type_ name (e.g. "Add", "Color Balalnce"). This label can also be overridden by specifying a custom label string in the node props panel. It does not have to be unique, but each node still has its own custom label (not shared between nodes of same type). 3) The group tree ID block name: Groups nodes use a different default label function to display the name of the internal tree datablock instead. So their display name can actually be changed by either the custom label or by changing the group tree name. Also the tree datablock is only displayed in edited groups. Sergey's patch just exposes this as part of the group node again, so shortcuts the name and label strings (not bad at all, just doesn't really solve the problem) The goal with introducing the label callback was to allow nicer and more meaningful ui string display ("Add" instead of "Math.003"). The disadvantage is that the node name string is not directly visible in the ui, except the active node panel. It should only be used for identifying the node (e.g. in scripting). A possible solution could be removing the custom node label string again. Previously the node name was registering change of the initial string with a flag (can't remember what exactly this was used for), we could roll back to that behavior to avoid confusion. Disadvantage would be getting name extensions on duplicated nodes in the ui again, but may be worth it to reduce complexity. %%%
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#29139
No description provided.