Graph Editor Expand/Collapse Channels collapsing issue #81135

Open
opened 2020-09-24 15:42:36 +02:00 by Philipp Oeser · 13 comments
Member

System Information
Operating system: Linux-5.8.4-200.fc32.x86_64-x86_64-with-fedora-32-Thirty_Two 64 Bits
Graphics card: GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 450.66

Blender Version
Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-09-24 12:05, hash: 7ba30d35d1
Worked: never

Short description of error
Once Collapse/Expand Channels operator has been used with the All option turned OFF, then the All is turned ON again for Collapse, a following Expand Channels operation will not work anymore

Exact steps for others to reproduce the error
#80753.blend

  • Open above .blend
  • Collapse Channels, in the Redo Last Operation panel turn OFF All
  • Expand Channels, in the Redo Last Operation panel turn OFF All
  • Collapse Channels again, in the Redo Last Operation panel turn ON All again
  • Expand Channels will not expand to selected channel anymore
    T80753_bug.webm
**System Information** Operating system: Linux-5.8.4-200.fc32.x86_64-x86_64-with-fedora-32-Thirty_Two 64 Bits Graphics card: GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 450.66 **Blender Version** Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-09-24 12:05, hash: `7ba30d35d1` Worked: never **Short description of error** Once Collapse/Expand Channels operator has been used with the All option turned OFF, then the All is turned ON again for Collapse, a following Expand Channels operation will not work anymore **Exact steps for others to reproduce the error** [#80753.blend](https://archive.blender.org/developer/F8878187/T80753.blend) - Open above .blend - `Collapse Channels`, in the `Redo Last Operation` panel turn OFF `All` - `Expand Channels`, in the `Redo Last Operation` panel turn OFF `All` - `Collapse Channels` again, in the `Redo Last Operation` panel turn ON `All` again - `Expand Channels` will not expand to selected channel anymore [T80753_bug.webm](https://archive.blender.org/developer/F8878231/T80753_bug.webm)
Author
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Author
Member

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

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

Added subscriber: @Nisim

Added subscriber: @Nisim

Added subscriber: @dr.sybren

Added subscriber: @dr.sybren

I did some digging, and it turns out that expand/collapse, visible/invisible, active/inactive, those are all handled in pretty much the same way. When collapsing with "All" disabled, Blender interprets it as "selected elements only", where "elements" are the rows of the dope sheet/graph editor. The problem here is that the row for the object itself is selected whenever the object is selected, and thus the entire object row collapses.

Similarly, when expanding Blender only expands those channels with "data visible", which means "nothing" when everything has been collapsed.

Fixing this will likely require writing specialised code to handle proper collapsing and expanding, instead of trying to reuse the generic code.

I did some digging, and it turns out that expand/collapse, visible/invisible, active/inactive, those are all handled in pretty much the same way. When collapsing with "All" disabled, Blender interprets it as "selected elements only", where "elements" are the rows of the dope sheet/graph editor. The problem here is that the row for the object itself is selected whenever the object is selected, and thus the entire object row collapses. Similarly, when expanding Blender only expands those channels with "data visible", which means "nothing" when everything has been collapsed. Fixing this will likely require writing specialised code to handle proper collapsing and expanding, instead of trying to reuse the generic code.

Added subscriber: @sergiorojas

Added subscriber: @sergiorojas

This comment was removed by @sergiorojas

*This comment was removed by @sergiorojas*

I would like to work on this

I would like to work on this

Excellent! Just claim the task ("Add Action..." box above the comment textarea) and get cracking :)

Excellent! Just claim the task ("Add Action..." box above the comment textarea) and get cracking :)

I claim the task

I claim the task

Added subscriber: @LucianoMunoz

Added subscriber: @LucianoMunoz

yes! thanks @sergiorojas !

yes! thanks @sergiorojas !
Sergio Rojas was assigned by Sybren A. Stüvel 2021-06-18 15:19:09 +02:00

@sergiorojas I'll assign the task to you. Next time you want to claim a task, feel free to use this option and the system will assign it to you automatically:

image.png

(it's a bit hidden, I know)

@sergiorojas I'll assign the task to you. Next time you want to claim a task, feel free to use this option and the system will assign it to you automatically: ![image.png](https://archive.blender.org/developer/F10180080/image.png) (it's a bit hidden, I know)
Philipp Oeser removed the
Interest
Animation & Rigging
label 2023-02-09 14:36:10 +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
5 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#81135
No description provided.