Closed jsuarezruiz closed 1 year ago
Thanks for the issue report @jsuarezruiz! This issue appears to be a problem with Visual Studio, so we ask that you use the VS feedback tool to report the issue. That way it will get to the routed to the team that owns this experience in VS.
If you encounter a problem with Visual Studio, we want to know about it so that we can diagnose and fix it. By using the Report a Problem tool, you can collect detailed information about the problem, and send it to Microsoft with just a few button clicks.
This issue will be automatically closed in 3 days if there are no further comments.
This issue is being closed due to inactivity. If this issue is still affecting you, please follow the steps above to use the VS Feedback Tool to report the issue.
This is probably related to the huge overhaul of the property setter specificity work as part of https://github.com/dotnet/maui/issues/11082
This issue should not be closed. tag partner/hot-reload-xaml is accurate as an item to be track in the MAUI debot
https://user-images.githubusercontent.com/898335/219333152-d4598005-af31-46a3-881c-0eda7d2f84e9.mp4
I am testing on the current net7.0 maui with the current VSMac.
Changes within the VisualState itself are not reflected. As far as I can see, we're not sending any XAML Actions for these changes, so the app doesn't have a chance to update it.
So if you change the individual value of the setter (Like the text color) nothing is sent to the application. If you change the entire list (As in, replace the entire VisualState or the VisualStateGroup) then it sends actions to replace the whole thing and then it reloads.
Having the style attached at all to a control shouldn't matter.
CC @etvorun.
Assigning myself to this for the moment so it's tracked, most likely this will be a XET issue but having this around is fine for visibility.
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.
Not sure how to reproduce exactly, but modifying content from a ContentView used as CollectionView ItemTemplate
https://github.com/jsuarezruiz/netmaui-skateboard-ecommerce-app-challenge
@jsuarezruiz I can't reproduce that on Android nor WinUI. I was able to make changes on the underlying ContentView and it showed fine. Was that on iOS? Do you have Logs?
Hi @jsuarezruiz. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version.
You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository.
This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
Verified this issue with Visual Studio Enterprise 17.7.0 Preview 2.0. Not repro on windows and android platform with sample project. netmaui-movies.zip
Description
I have noticed that updating VisualStates from a style https://github.com/jsuarezruiz/netmaui-movies-app-challenge/blob/main/src/MoviesApp/Views/MoviesView.xaml#L19, especially complex elements such as CarouselView or Border, stops XAML Hot Reload from working.
Updating VisualStates (without styles) does not update the changes. https://github.com/jsuarezruiz/netmaui-movies-app-challenge/blob/main/src/MoviesApp/Views/MoviesView.xaml#L146
Steps to Reproduce
Link to public reproduction project repository
https://github.com/jsuarezruiz/netmaui-movies-app-challenge
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android, Windows
Affected platform versions
Android 13
Did you find any workaround?
No response
Relevant log output
No response