Skip to content

feat(ocio): show the active color setup in the OCIO menu titles - #159

Merged
mcoliver merged 1 commit into
mainfrom
feat/ocio-menu-current-values
Oct 25, 2026
Merged

mcoliver merged 1 commit into
mainfrom
feat/ocio-menu-current-values

Conversation

@mcoliver

@mcoliver mcoliver commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

The quick win from #154. Each OCIO submenu title now shows what's applied, so users don't have to open each submenu and look for check marks:

Current Source
  File Color Space: Rec.2100-PQ - Display ▸
  Look: None ▸
All Sources
  File Color Space: Rec.2100-PQ - Display ▸     ("Mixed" when sources differ)
  Look: None ▸
Displays
  Built-in Retina Display: Rec.2100-PQ - Display · Video (colorimetric) ▸
  NDIVideoDevice: Built-in ▸

"Built-in" means UTV's own pipeline handles that step.

RV menu labels are fixed when the menu is built, so the menu is rebuilt (once per burst of changes, on a zero-delay timer) when:

  • an ocio.active, ocio.inColorSpace, ocio_display.display/view or ocio_look.look property changes;
  • the view changes;
  • the current source's values change on frame-changed or play-stop. This is skipped during playback.

Linked Issues

Part of #154, under #157.

Testing Done

  • macOS (Apple Silicon): today's dev build with this module swapped in, using a synthetic PQ test clip. Read the actual OCIO menu from the Qt menu bar before and after turning on Displays > device > Active and choosing Rec.2100-PQ - Display / Video (colorimetric). The display title changed from Built-in to Rec.2100-PQ - Display · Video (colorimetric) with no manual rebuild. With OCIO input and display set, all titles show the expected values.
  • Windows 10 / 11
  • Linux
  • Automated tests passed

The OCIO menu only showed what was active through check marks spread
over several submenus. Show the current value in each submenu title:
the current source's and all sources' file color space and look, and
each display's OCIO display and view ("Built-in" when UTV's own
pipeline handles that step). Rebuild the menu when one of those
properties changes, when the view changes, and when the current source
changes while not playing.

Part of #154

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Signed-off-by: Michael Oliver <mcoliver@gmail.com>
@mcoliver
mcoliver force-pushed the feat/ocio-menu-current-values branch from 7b1b523 to 05fe5d0 Compare October 25, 2026 04:20
@mcoliver
mcoliver merged commit 7ec6682 into main Oct 25, 2026
16 checks passed
@mcoliver
mcoliver deleted the feat/ocio-menu-current-values branch October 25, 2026 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant