Skip to content

fix(surfacebrush): check that the final size isn't empty before resizing images. - #17035

Merged
ramezgerges merged 2 commits into
unoplatform:masterfrom
ramezgerges:surfacebrush_resize_null
Jun 10, 2024
Merged

ramezgerges merged 2 commits into
unoplatform:masterfrom
ramezgerges:surfacebrush_resize_null

Conversation

@ramezgerges

Copy link
Copy Markdown
Contributor

GitHub Issue (If applicable): #17033
Let's see if this is the problem. My guess is that we might try to render the image right before a needed layout cycle. Looking at SkiaSharp's source, it returns null if you try to resize to a zero rectangle.

@github-actions github-actions Bot added the area/skia ✏️ Categorizes an issue or PR as relevant to Skia label Jun 7, 2024
@unodevops

Copy link
Copy Markdown
Contributor

@ramezgerges

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 2 pipeline(s).

@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

@ramezgerges
ramezgerges enabled auto-merge June 10, 2024 07:12
@ramezgerges
ramezgerges merged commit 1c16eb6 into unoplatform:master Jun 10, 2024
@ramezgerges
ramezgerges deleted the surfacebrush_resize_null branch June 10, 2024 09:10
@jeromelaban

Copy link
Copy Markdown
Member

@Mergifyio backport release/stable/5.3

@mergify

mergify Bot commented Jun 10, 2024 •

Copy link
Copy Markdown
Contributor

backport release/stable/5.3

✅ Backports have been created

Details

jeromelaban added a commit that referenced this pull request Jun 10, 2024
…5.3/pr-17035

fix(surfacebrush): check that the final size isn't empty before resizing images. (backport #17035)
jeromelaban added a commit to jeromelaban/uno that referenced this pull request Jun 25, 2024
…nal size isn't empty before resizing images"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/skia ✏️ Categorizes an issue or PR as relevant to Skia

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants