Repository navigation
Fix layer moves and video frame fallback - #706
Merged
Merged
Conversation
Member
Author
sofian
approved these changes
Dec 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Changes
Verification
Each commit built on macOS arm64 and passed the Qt suite with the offscreen platform. At the branch tip, Qt reported 654 passes, 0 failures and 62 skips. The new video regression also ran with a native desktop OpenGL context. It failed on the original code (the red quadrant was black) and passed with the fix.
The separate Python converter suite reported 22 passes and one failure. The same beta.1 reference-file mismatch reproduces on the base commit 34df076: the converter writes ColorLayer and its fixture expects TextureLayer.
Visibility measurements
On macOS arm64 with Qt 6.11.1, a release build drew overlapping quads using one shared source, all layers visible and solo off. The output editor repainted every 16 ms. Temporary instrumentation counted visibility inspections and timed each paint without synchronizing the GPU. A second build path skipped the solo search using the known state of this scene. Each timing below is a median of more than 450 paints after warm-up in a 955 × 350 viewport.
In a second run with the order reversed, the 100-layer pair used the same viewport and measured 2.702 ms and 2.618 ms respectively. The smaller scenes in that repeat used different viewport heights and are excluded from the comparison. The measurements confirm quadratic growth in inspections, with less than 0.1 ms between the 100-layer medians in both pairs on this machine. The PR keeps the existing visibility calculation.
A native main-window smoke test moved the middle layer to the top, undid and redid it, and attempted an invalid move. After each step the selected tree row and its layer id agreed with the project. The screenshot in the conversation shows the final selection.