Skip to content

[release/10.0.1xx-sr7] [Windows] Fix COMException when restoring a ScrollView as ContentPage.Content after swapping it out#35427

Merged
PureWeen merged 2 commits into
release/10.0.1xx-sr7from
backport/pr-35360-to-release/10.0.1xx-sr7
May 15, 2026
Merged

[release/10.0.1xx-sr7] [Windows] Fix COMException when restoring a ScrollView as ContentPage.Content after swapping it out#35427
PureWeen merged 2 commits into
release/10.0.1xx-sr7from
backport/pr-35360-to-release/10.0.1xx-sr7

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Backport of #35360 to release/10.0.1xx-sr7

/cc @kubaflo @Vignesh-SF3580

…d set it back later in mainthread on Windows
@PureWeen
Copy link
Copy Markdown
Member

/azp run maui-pr-uitests, maui-pr-devicetests

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 2 pipeline(s).

@github-actions
Copy link
Copy Markdown
Contributor Author

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 35427

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 35427"

@sheiksyedm
Copy link
Copy Markdown
Contributor

/azp run maui-pr-uitests, maui-pr-devicetests

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 2 pipeline(s).

@PureWeen PureWeen merged commit 11f7011 into release/10.0.1xx-sr7 May 15, 2026
163 of 168 checks passed
@PureWeen PureWeen deleted the backport/pr-35360-to-release/10.0.1xx-sr7 branch May 15, 2026 13:55
@github-actions github-actions Bot added this to the .NET 10 SR7 milestone May 15, 2026
kubaflo pushed a commit that referenced this pull request May 19, 2026
<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->

### Description of Change

 <!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!


Cherry-picks test fixes and snapshot additions from multiple backport
PRs:

- **PR #35434** — Fixed CI failure (removed flaky test attributes from
Bugzilla40333) and removed Issue9095 test
- **PR #35426** — Added mac and Windows snapshots for
`VerifySearchBarHeightRequestValues`, updated iOS snapshots
- **PR #35427** — Resolved device test failures in
`ScrollViewHandler.Windows.cs`
- **PR #35424** — Added mac and Windows snapshots for
`LinearGradientBrushTransparentStopsShouldNotBeOpaque`
- **PR #35425** — Removed failing test: "Missing ControlTemplate with
exception handler should throw" (`StaticResourceTests.cs`)

## Changes

| File | Change |
|------|--------|
| `Bugzilla40333.cs` | Removed 2 lines (CI fix) |
| `Issue9095.cs` | Deleted |
| `ScrollViewHandler.Windows.cs` | Fixed device test failures |
| `StaticResourceTests.cs` | Deleted |
| SearchBar snapshots (mac/windows/iOS) | Added/updated |
| LinearGradientBrush snapshots (mac/windows) | Added |

---------

Co-authored-by: Dhivya-SF4094 <127717131+Dhivya-SF4094@users.noreply.github.com>
Co-authored-by: devanathan-vaithiyanathan <114395405+devanathan-vaithiyanathan@users.noreply.github.com>
Co-authored-by: Vignesh-SF3580 <102575140+Vignesh-SF3580@users.noreply.github.com>
PureWeen pushed a commit that referenced this pull request Jun 2, 2026
<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->

### Description of Change

 <!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!


Cherry-picks test fixes and snapshot additions from multiple backport
PRs:

- **PR #35434** — Fixed CI failure (removed flaky test attributes from
Bugzilla40333) and removed Issue9095 test
- **PR #35426** — Added mac and Windows snapshots for
`VerifySearchBarHeightRequestValues`, updated iOS snapshots
- **PR #35427** — Resolved device test failures in
`ScrollViewHandler.Windows.cs`
- **PR #35424** — Added mac and Windows snapshots for
`LinearGradientBrushTransparentStopsShouldNotBeOpaque`
- **PR #35425** — Removed failing test: "Missing ControlTemplate with
exception handler should throw" (`StaticResourceTests.cs`)

## Changes

| File | Change |
|------|--------|
| `Bugzilla40333.cs` | Removed 2 lines (CI fix) |
| `Issue9095.cs` | Deleted |
| `ScrollViewHandler.Windows.cs` | Fixed device test failures |
| `StaticResourceTests.cs` | Deleted |
| SearchBar snapshots (mac/windows/iOS) | Added/updated |
| LinearGradientBrush snapshots (mac/windows) | Added |

---------

Co-authored-by: Dhivya-SF4094 <127717131+Dhivya-SF4094@users.noreply.github.com>
Co-authored-by: devanathan-vaithiyanathan <114395405+devanathan-vaithiyanathan@users.noreply.github.com>
Co-authored-by: Vignesh-SF3580 <102575140+Vignesh-SF3580@users.noreply.github.com>
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