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

[MAUI][.NET8] Newly created recipes cannot be deleted. #16020

Open
jaosnz-rep opened this issue Jul 6, 2023 · 8 comments
Open

[MAUI][.NET8] Newly created recipes cannot be deleted. #16020

jaosnz-rep opened this issue Jul 6, 2023 · 8 comments
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter area-testing Unit tests, device tests csi-new platform/android 🤖 platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working testing-manual
Milestone

Comments

@jaosnz-rep
Copy link

jaosnz-rep commented Jul 6, 2023

Description

Newly created recipes cannot be deleted.

Steps to Reproduce

1.Deploy https://github.com/rachelkang/recipeSearch to Windows/Android
2.Click or tap on the 'My Recipes' tab to navigate to the 'My Recipes' page.
3.Click or tap on the 'New' button > Enter any text in the field 'Recipe Name'. (On Windows, you may have to first click on a '...')
4.Click or tap on the 'Save' button.
5.Click or tap on the new recipe you created to enter the recipe details page.
6.Click or tap on the 'Edit' button. (On Windows, you may have to first click on a '...')
7.Click or tap on the 'Delete' button.

Actual results:
The newly created recipe cannot be deleted, it is still in your recipes.
When you click Delete on Android, the app will crash and throw an exception.

Link to public reproduction project repository

https://github.com/rachelkang/recipeSearch

Version with bug

8.0.0-preview.6.8686

Affected platforms

Android, Windows

Affected platform versions

8.0.0-preview.6.8686

@jaosnz-rep jaosnz-rep added t/bug Something isn't working platform/windows 🪟 area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter platform/android 🤖 labels Jul 6, 2023
@jaosnz-rep jaosnz-rep changed the title [MAUI] Newly created recipes cannot be deleted. [MAUI][.NET8] Newly created recipes cannot be deleted. Jul 6, 2023
@PureWeen
Copy link
Member

PureWeen commented Jul 6, 2023

@jaosnz-rep I'm unable to reproduce your issue. Let me know if I'm doing one of the steps incorrectly here.

RecipesRecreate.mp4
RecipesRecreateAndroid.mp4

@rachelkang rachelkang added the area-controls-collectionview CollectionView, CarouselView, IndicatorView label Jul 6, 2023
@rachelkang
Copy link
Member

Confirming this is an issue, but not a regression.

Recently replaced CollectionView with a CarouselView to work around a different issue (layout resizing).
And now this issue which is present with CarouselView, but not CollectionView, has been made known to us.

@jsuarezruiz jsuarezruiz added this to the Backlog milestone Jul 14, 2023
@ghost
Copy link

ghost commented Jul 14, 2023

We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.

@QianaJiao
Copy link

Hi @PureWeen @rachelkang sorry for the late reply:
We verify that the issue is also repro on 8.0.0-preview.7.8814:
failed to delete

It is worth mentioning that creating a second project also seems to fail:
failed to crete second

This seems to be an issue with “My Recipes” page not being updated, please let me know if we need to create a separate bug.

@kevinxufei
Copy link

We verified this issue on 8.0.0-rc.1.9171 and made new findings.
The new recipe is not displayed after you create it, and will be displayed when you change the window size.
New recipes are not deleted when deleted and disappear when the window size is changed.
maui1

@XamlTest XamlTest added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Nov 27, 2023
@XamlTest
Copy link

Verified this on Visual Studio Enterprise 17.9.0 Preview 1(8.0.3). Repro on Windows 11 and Android 14.0-API34 with below Project:
WhatToEat.zip

@mattleibow mattleibow added area-testing Unit tests, device tests testing-manual labels Dec 13, 2023
@Zhanglirong-Winnie
Copy link

This issue also repro on VSM .NET 9 Preview 2 today, newly created recipe cannot be deleted.
image
16020

@plppp2001
Copy link

Check out this #19786

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter area-testing Unit tests, device tests csi-new platform/android 🤖 platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working testing-manual
Projects
None yet
Development

No branches or pull requests

10 participants