Spreadsheet editor doesn't update when changing active object #90914
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#90914
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?
Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-08-24 18:38, hash:
5ef3afd87c
Worked: -
Short description of error
Spreadsheet editor is not updating when I change the active object if I use Viewer Node and have more than one geometry nodes editor open.
Exact steps for others to reproduce the error
Open:
missing-notifier.blend
Alternate selecting between the plane and the cube.
See how the spreadsheet doesn't update until you mouse hover it.
Added subscriber: @dfelinto
Changed status from 'Needs Triage' to: 'Confirmed'
Added subscriber: @PratikPB2123
Hi @dfelinto , I can not use this file with a little old blender versions.
Can say it does not update unless I hover over the Spreadsheet tab but this is something I am not able to reproduce with own created file
#90914.blend
Re-saved it uncompressed. As for your file you need to have a second geometry nodes editor for the bug to show.
Added subscriber: @lichtwerk
Was looking at this a bit (not sure it is a
Good First Issue
).Notifiers seem to be OK here. But the Spreadsheet does additional checks to determine if a redraw needs to take place.
Problem is that
ED_spreadsheet_context_path_is_active
can often return true (this results in the Spreadsheet not being redrawn) when it checks against stuff in Node Editors on screen [most important issnode->nodetree != root_node_tree
]. And this in turn is caused by the Node Editors possibly being updated/drawn after the Spreadsheet is drawn (check whensnode_set_context
is called) -- so the Node Editors might not be "up-to-date" in regards to their current nodetrees. This can even be the case if only one Node Editor is on screen.Of course we could force-update the Node Editors at the time of checking in the Spreadsheet, but I assume this could be a performance killer:
P2346: T90914_snippet
Dont think we can control the order of Editors being drawn (that could be another solution)?
Stepping with a Debugger can even show this on a single Node Editor.
Added subscriber: @Calra
Added subscriber: @JacquesLucke
The fundamental problem here is that Blender just has no system to handle these kinds of update chains correctly. While I'm not 100% sure, I think the same fundamental problem is the cause for this thread: https://devtalk.blender.org/t/responding-to-selection-changes/15813.
I'm inclined to call this a known issue.
Will change this to a known issue. Here are some more details of why this is a bit tricky:
We don't have a real system to handle such update chains correctly as mentioned in the previous post.
Can not reproduce this anymore in 3.4 and following version.
I'll find the resolving commit. Maybe we would be able to backport it
Changed status from 'Confirmed' to: 'Resolved'
Fixed with
c55d38f00b
Definitely we can not backport the commit so I'll just close this ticket :)
If anyone still able to reproduce this issue in latest master, please reopen it :)