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

[Windows] Fix default item min height in CollectionView #12811

Merged
merged 3 commits into from
Jan 25, 2023
Merged

Conversation

jsuarezruiz
Copy link
Contributor

@jsuarezruiz jsuarezruiz commented Jan 20, 2023

Description of Change

Fix default item min height in Windows CollectionView. With this changes we align the behavior between Windows and the rest of the platforms.

image

image

Issues Fixed

Fixes #12495
Fixes #4520
Fixes #15241

@jsuarezruiz jsuarezruiz added t/bug Something isn't working platform/windows 🪟 area-controls-collectionview CollectionView, CarouselView, IndicatorView labels Jan 20, 2023
@hartez hartez merged commit 46e88f0 into main Jan 25, 2023
@hartez hartez deleted the fix-12495 branch January 25, 2023 15:54
@samhouts samhouts added backport/suggested The PR author or issue review has suggested that the change should be backported. partner/cat 😻 this is an issue that impacts one of our partners or a customer our advisory team is engaged with labels Aug 15, 2023
@hartez hartez added the backport/approved After some discussion or review, this PR or change was approved to be backported. label Aug 23, 2023
@PureWeen
Copy link
Member

/backport to net7.0

@github-actions
Copy link
Contributor

Started backporting to net7.0: https://github.com/dotnet/maui/actions/runs/6003780301

@github-actions
Copy link
Contributor

@PureWeen backporting to net7.0 failed, the patch most likely resulted in conflicts:

$ git am --3way --ignore-whitespace --keep-non-patch changes.patch

Applying: Fix default item min height in Windows CollectionView
Using index info to reconstruct a base tree...
M	src/Controls/src/Core/Handlers/Items/StructuredItemsViewHandler.Windows.cs
M	src/Controls/tests/DeviceTests/TestCategory.cs
Falling back to patching base and 3-way merge...
Auto-merging src/Controls/tests/DeviceTests/TestCategory.cs
CONFLICT (add/add): Merge conflict in src/Controls/tests/DeviceTests/Elements/CollectionView/CollectionViewTests.iOS.cs
Auto-merging src/Controls/tests/DeviceTests/Elements/CollectionView/CollectionViewTests.iOS.cs
CONFLICT (add/add): Merge conflict in src/Controls/tests/DeviceTests/Elements/CollectionView/CollectionViewTests.cs
Auto-merging src/Controls/tests/DeviceTests/Elements/CollectionView/CollectionViewTests.cs
CONFLICT (add/add): Merge conflict in src/Controls/tests/DeviceTests/Elements/CollectionView/CollectionViewTests.Windows.cs
Auto-merging src/Controls/tests/DeviceTests/Elements/CollectionView/CollectionViewTests.Windows.cs
Auto-merging src/Controls/src/Core/Handlers/Items/StructuredItemsViewHandler.Windows.cs
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 Fix default item min height in Windows CollectionView
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Error: The process '/usr/bin/git' failed with exit code 128

Please backport manually!

@github-actions
Copy link
Contributor

@PureWeen an error occurred while backporting to net7.0, please check the run log for details!

Error: git am failed, most likely due to a merge conflict.

hartez added a commit that referenced this pull request Aug 30, 2023
* Fix default item min height in Windows CollectionView

* Fixed build error
rmarinho pushed a commit that referenced this pull request Aug 30, 2023
)

* Fix default item min height in Windows CollectionView

* Fixed build error
@github-actions github-actions bot locked and limited conversation to collaborators Dec 13, 2023
@samhouts samhouts added the fixed-in-8.0.0-preview.1.7762 Look for this fix in 8.0.0-preview.1.7762! label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView backport/approved After some discussion or review, this PR or change was approved to be backported. backport/suggested The PR author or issue review has suggested that the change should be backported. fixed-in-8.0.0-preview.1.7762 Look for this fix in 8.0.0-preview.1.7762! partner/cat 😻 this is an issue that impacts one of our partners or a customer our advisory team is engaged with platform/windows 🪟 t/bug Something isn't working
Projects
None yet
4 participants