UI Experiment: Image Sequence Collapse #119193

Open
Harley Acheson wants to merge 1 commits from Harley/blender:SequenceCollapse into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Member

Proof of concept (only) allowing image sequences to be collapsed.


An option to only show only the beginning of image sequences. Done in a way that makes it easy to see missing members. Thumbnails are not made for hidden items, which can make working with large numbers of related images easier and quicker.

SequenceCollapse.gif

This looks like more change than there really is, with most of it making filelist_readjob_list_dir traverse an already-sorted list top to bottom rather than reversed. Two integers added to FileListInternEntry, about 30 lines to find sequences, 18 to format the sequence start names correctly.

This proof of concept is just reusing the current "show hidden" filter. You'll have to imagine there being a separate toggle for this.

Proof of concept (only) allowing image sequences to be collapsed. --- An option to only show only the beginning of image sequences. Done in a way that makes it easy to see missing members. Thumbnails are not made for hidden items, which can make working with large numbers of related images easier and quicker. ![SequenceCollapse.gif](/attachments/688306c9-8617-4689-ada2-8a9fa4b46280) This looks like more change than there really is, with most of it making filelist_readjob_list_dir traverse an already-sorted list top to bottom rather than reversed. Two integers added to FileListInternEntry, about 30 lines to find sequences, 18 to format the sequence start names correctly. This proof of concept is just reusing the current "show hidden" filter. You'll have to imagine there being a separate toggle for this.
Harley Acheson added 1 commit 2024-03-08 03:14:29 +01:00
8c36612019 UI Experiment: Image Sequence Collapse
Proof of concept (only) allowing image sequences to be collapsed.
Harley Acheson added this to the User Interface project 2024-03-08 03:15:06 +01:00
First-time contributor

The functionality is awesome and in line with a lot of other apps that do it like this. This gives a much better overview of the rendered sequences in a folder and also makes selecting sequences a breeze.

"Show hidden" as the naming of that option is pretty bad though in my opinion, hidden files are usually something else in a file browser.
Most other apps use something along the lines of "Show Sequences" or "Show sequences as single lines"

When there are missing files in a sequence you also might consider displaying it like this:
image_##.jpg ( 02–05 , 07–10 )

instead of splitting it into two lines:
image_##.jpg (02-05)
image_##.jpg (07-10)

The functionality is awesome and in line with a lot of other apps that do it like this. This gives a much better overview of the rendered sequences in a folder and also makes selecting sequences a breeze. "Show hidden" as the naming of that option is pretty bad though in my opinion, hidden files are usually something else in a file browser. Most other apps use something along the lines of "Show Sequences" or "Show sequences as single lines" When there are missing files in a sequence you also might consider displaying it like this: image_##.jpg ( 02–05 , 07–10 ) instead of splitting it into two lines: image_##.jpg (02-05) image_##.jpg (07-10)
First-time contributor

Great, that's super welcome. Saves space, makes missing files obvious, informs you of the frame range immediately. Maybe use a slightly different icon, to spot sequences at a glance ?

SequenceCollapse.png

I'm not sure there is something fitting on the icon sheet yet, is there ?

I tried making an icon... see attachments. It's a copy of the compositor icon, with the "top layer" taken from the image file icon.

Great, that's super welcome. Saves space, makes missing files obvious, informs you of the frame range immediately. Maybe use a slightly different icon, to spot sequences at a glance ? ![SequenceCollapse.png](/attachments/a53d113e-b2f8-4fbb-8682-5ba0ab04d9fc) I'm not sure there is something fitting on the icon sheet yet, is there ? I tried making an icon... see attachments. It's a copy of the compositor icon, with the "top layer" taken from the image file icon.
Author
Member

"Show hidden" as the naming of that option is pretty bad though in my opinion, hidden files are usually something else in a file browser.
Most other apps use something along the lines of "Show Sequences" or "Show sequences as single lines"

For sure. I tried to mention in the first comment that this is just temporary, as an easy way to see it working without extra work, but I might not have been clear enough.

More importantly, I only just noticed that we deal with sequences by selecting all of them rather than just the first of them. This would mean that I would need to maintain this sequence information "higher up" so that selecting a sequence parent (when collapsed) will select all in the children.

But this also exposes another problem. If selecting the parent also selects the (hidden) children, then you'd get a list that is ordered by your current browser sort order (by date, size, etc).

I'll keep giving this some thought, but this is just an evening/weekend thing, so might close this if solutions don't become apparent quickly.

> "Show hidden" as the naming of that option is pretty bad though in my opinion, hidden files are usually something else in a file browser. > Most other apps use something along the lines of "Show Sequences" or "Show sequences as single lines" For sure. I tried to mention in the first comment that this is just temporary, as an easy way to see it working without extra work, but I might not have been clear enough. More importantly, I only just noticed that we deal with sequences by selecting all of them rather than just the first of them. This would mean that I would need to maintain this sequence information "higher up" so that selecting a sequence parent (when collapsed) will select all in the children. But this also exposes another problem. If selecting the parent also selects the (hidden) children, then you'd get a list that is ordered by your current browser sort order (by date, size, etc). I'll keep giving this some thought, but this is just an evening/weekend thing, so might close this if solutions don't become apparent quickly.
Author
Member

Current road blocker is that the current file list operated on for selection is after filtering. So how to select and return items that are filtered? Needs thought.

Current road blocker is that the current file list operated on for selection is after filtering. So how to select and return items that are filtered? Needs thought.
This pull request has changes conflicting with the target branch.
  • source/blender/editors/space_file/filelist.cc

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u SequenceCollapse:Harley-SequenceCollapse
git checkout Harley-SequenceCollapse
Sign in to join this conversation.
No reviewers
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
3 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#119193
No description provided.