Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable] Fixes rendering text rotated 180 degrees #165080

Merged
merged 2 commits into from
Mar 13, 2025

Conversation

gaaclarke
Copy link
Member

cherry-pick of #165008

Impacted Users

Impeller users.

Impact Description

Text that is rotated 180 degrees exactly will render as if it is scaled by {-1, 1} instead of {-1, -1}.

Workaround

You can rotate text 180.001 degrees instead but the fidelity will be less.

Risk

If it's wrong it could break all text rendering. There are golden tests for it.

Test Coverage

Golden tests (which are not run on release branches)

Validation Steps

#164958 has reproduction code

@gaaclarke gaaclarke requested a review from jonahwilliams March 12, 2025 19:54
@gaaclarke gaaclarke added the cp: stable cherry pick this pull request to stable release candidate branch label Mar 12, 2025
@github-actions github-actions bot added a: text input Entering text in a text field or keyboard related problems engine flutter/engine repository. See also e: labels. e: impeller Impeller rendering backend issues and features requests and removed cp: stable cherry pick this pull request to stable release candidate branch labels Mar 12, 2025
@gaaclarke gaaclarke added the cp: review Cherry-picks in the review queue label Mar 12, 2025
Copy link
Member

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

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

LGTM

What a bug lol

@reidbaker
Copy link
Contributor

reidbaker commented Mar 12, 2025

@gaaclarke what platforms does this effect (affect?)?

@gaaclarke
Copy link
Member Author

@gaaclarke what platforms does this effect (affect?)?

All Impeller users (iOS, Android, some macOS)

@reidbaker reidbaker added the autosubmit Merge PR when tree becomes green via auto submit App label Mar 12, 2025
@reidbaker
Copy link
Contributor

@gaaclarke if you can get all the tests green and this merged tonight it will make the release. I will add a changelog for you in another pr and this will be the last cp for 3.29.2

Copy link
Contributor

auto-submit bot commented Mar 12, 2025

autosubmit label was removed for flutter/flutter/165080, because - The status or check suite Windows windows_host_engine has failed. Please fix the issues identified (or deflake) before re-applying this label.

  • The status or check suite Linux linux_host_engine has failed. Please fix the issues identified (or deflake) before re-applying this label.

@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Mar 12, 2025
@gaaclarke
Copy link
Member Author

@gaaclarke if you can get all the tests green and this merged tonight it will make the release. I will add a changelog for you in another pr and this will be the last cp for 3.29.2

Ah shoot, I forgot to edit the changelog. Thanks Reid.

@reidbaker
Copy link
Contributor

@gaaclarke if you can get all the tests green and this merged tonight it will make the release. I will add a changelog for you in another pr and this will be the last cp for 3.29.2

Ah shoot, I forgot to edit the changelog. Thanks Reid.

No worries, Can you get these tests all green. I will come back after EOD cali time and make sure this is landed put up a pr with the changelog for this and the dart version bump then work on the rest of the release tomorrow.

@gaaclarke
Copy link
Member Author

Yea, the failure right now isn't a flake. It's from the SkPoint -> DlPoint refactor, addressing it now.

@reidbaker reidbaker added the autosubmit Merge PR when tree becomes green via auto submit App label Mar 13, 2025
@auto-submit auto-submit bot merged commit 31b3a7d into flutter:flutter-3.29-candidate.0 Mar 13, 2025
150 checks passed
auto-submit bot pushed a commit that referenced this pull request Mar 13, 2025
Changelog for #165075, the dart stable change and for #165080
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 14, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 14, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a: text input Entering text in a text field or keyboard related problems autosubmit Merge PR when tree becomes green via auto submit App cp: review Cherry-picks in the review queue e: impeller Impeller rendering backend issues and features requests engine flutter/engine repository. See also e: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants