Skip to content

qt: fix selective title gradients and add per-selection shadows - #1348

Merged
j-b-m merged 4 commits into
mltframework:masterfrom
klg90:fix/selective-title-gradients-shadows
Oct 27, 2026
Merged

j-b-m merged 4 commits into
mltframework:masterfrom
klg90:fix/selective-title-gradients-shadows

Conversation

@klg90

@klg90 klg90 commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Fix selective gradients so the full color transition covers the formatted text range independently of neighboring text.

Add selection-only shadows with save/reopen persistence and matching typewriter rendering. Preserve existing whole-object gradient and shadow behavior, and increase the kdenlivetitle producer capability from 8 to 9.

Also make shadow masks consistent across raster targets and add rendering regression tests.

Companion Kdenlive MR:
https://invent.kde.org/multimedia/kdenlive/-/merge_requests/1056

Validation:

  • All 8 selected MLT suites passed on Fedora with stock Qt 6.11.2.
  • The paired Kdenlive build passed all 47 Titler and 8 gradient-widget cases.
  • Both rebased candidates were rebuilt and tested before pushing.
  • Native Windows MLT validation remains pending CI.

The separate Qt outline fix is not included or required.

klg90 added 3 commits October 21, 2026 16:47
Match Kdenlive's QTextLayout-based range geometry for selective title
gradients. Keep legacy whole-object gradients and existing saved metadata
compatible, including typewriter rendering.

Add image regressions for positioned ranges, multiple styles, alignment,
multiline and bidi text. Relevant native MLT suites passed.
Read validated per-character shadow overrides while preserving legacy
object shadows. Match Kdenlive's glyph, decoration and outline masks,
including bidi text, transparency, mixed fonts and typewriter reveals.
Advertise the new capability through producer version 9.

Add native image, metadata and typewriter regressions. Relevant native
MLT suites passed; 192 legacy frame comparisons were byte-identical.
Preserve selective gradient and shadow rendering across platforms,
keep backend-dependent tests explicit, and complete source attribution.

Validated locally with stock Qt 6.11.2 before publication preparation.
Fresh post-rebase Linux validation is required before pushing.

@j-b-m j-b-m left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor change request, otherwise the changes pass our test suite so I think should be good

@ddennedy ddennedy added this to the v7.44.0 milestone Oct 23, 2026
@klg90
klg90 requested a review from j-b-m October 24, 2026 20:29
@j-b-m
j-b-m merged commit eca4e32 into mltframework:master Oct 27, 2026
15 checks passed
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.

3 participants