AcademySoftwareFoundation / AcademySoftwareFoundation/OpenRV

[Bug]: Monitor color profile not applied when player window changes monitors MacOS

Open
#637 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
764
Forks
246
Avg merge
6d 12h
Merged PRs (30d)
13

Description

### What happened?

When running RV on a Mac with multiple monitors connected that use different color profiles RV does not change profiles when the window is dragged to another monitor. The profile only seems to update once the window is resized.

We noticed this when dragging windows between built in Apple monitors and a calibrated sRGB monitor. For testing purposes, the behavior is most apparent when you use two monitors that have significantly different profiles. I set my second monitor to use the ACEScg Linear profile for testing and it makes it very apparent when the profile in use changes.

To reproduce:
- In System Settings -> Displays change the color profile of an attached monitor to ACES CG Linear or other profile that is visually different from your primary display
- Open RV
- Open attached color/framing chart.
![leader reticule cmp def_framing_chart out 003 _L 0005](https://github.com/user-attachments/assets/057bb3e9-d6fe-4f8a-97c1-975b0a63f069)

- This is what I see at this point:
color_chart_on_primary_monitor
- Drag the player window to your secondary display
- Resize the window, you should see a color shift on resize
- Drag the window back to the primary monitor. This is what I see at this point:
color_chart_on_primary_monitor_after_resize_on_secondary
- If you resize the window again at this point the image reverts back to normal

Expected behavior - I would expect RV to adjust color when the window changes monitors rather than once a resize occurs.

### List all the operating systems versions where this is happening

MacOS Sonoma, Ventura and Monterey

### On what computer hardware is this happening?

Multiple Macbook and iMac modles

### Relevant console log output

_No response_

### Environment variables

_No response_

### Extra information

Behavior reproduces in RV 2023 and several older versions. We are still working on getting a functional MacOS build of OpenRV to confirm the behavior happens there as well.

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in RV on macOS with two monitors using visibly different color profiles, following the window-drag and resize steps in the report. Confirm the player window updates its color handling when moved between displays without requiring a resize; no source file or test is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, macos
Domain
computer-graphics, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.