Skip to content

fix: correct HEVC previews and toolbar window dragging - #223

Merged
66HEX merged 5 commits into
masterfrom
test/issue-211-and-175
Nov 1, 2026
Merged

66HEX merged 5 commits into
masterfrom
test/issue-211-and-175

Conversation

@66HEX

@66HEX 66HEX commented Nov 1, 2026 •

Copy link
Copy Markdown
Owner

HEVC exports to MP4/MOV could not be previewed in macOS Quick Look, and pressing toolbar controls could move the whole window. This fixes both behaviors while preserving stream-copy output, toolbar actions, and dragging from empty titlebar space.

  • Write hvc1 for newly encoded HEVC MP4/MOV output from libx265, VideoToolbox, and NVENC. Other codecs, containers, and copy/remux mode keep their existing arguments.
  • Respect consumed button presses, clear pending drags on release, and require a held left button before starting a window move. On macOS, disable AppKit's automatic titlebar dragging and explicitly preserve the system double-click action.
  • Add rendered GPUI regression coverage for toolbar buttons, tabs, disabled controls, missed releases, and keyboard activation, plus HEVC argument and real-media tests. Update both entries under Unreleased / Fixed in the changelog.

Validation:

  • cargo xtask ci passed locally: 933 tests, formatting, Clippy, generated workflow checks, and script syntax checks. The eight existing opt-in app tests remain ignored by the default gate.
  • Real libx265 and macOS VideoToolbox exports passed for MP4/MOV in 8-bit and 10-bit formats, including hvc1, audio, dimensions, pixel format, and full decoding checks. NVENC is covered by argument tests; no NVIDIA hardware was available locally.
  • Manual macOS checks covered export and Finder Quick Look, toolbar clicks and keyboard navigation, and the native titlebar double-click action. The repository owner confirmed all manual scenarios passed, including dragging from controls versus empty titlebar space.
  • GitHub checks passed for 9ae523503714295bcc751d4c0d06dab45de4a4a7: the full Linux gate, 38 media tests and 4 conversion-runner tests, macOS and Windows compilation, CodeQL, dependency review, and GitGuardian. Native Windows/Linux UI testing was not performed locally.
  • cargo xtask workflows --check and git diff --check pass for the final branch.

Closes #211.
Closes #175.

@66HEX
66HEX merged commit 77dff1d into master Nov 1, 2026
7 checks passed
@66HEX
66HEX deleted the test/issue-211-and-175 branch November 1, 2026 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant