Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Bug] Path not rendered on page reload #12844

Closed
GarryPSmith opened this issue Nov 13, 2020 · 1 comment · Fixed by #13284
Closed

[Bug] Path not rendered on page reload #12844

GarryPSmith opened this issue Nov 13, 2020 · 1 comment · Fixed by #13284
Assignees
Labels
a/shapes a/shell 🐚 in-progress This issue has an associated pull request that may resolve it! t/bug 🐛
Projects

Comments

@GarryPSmith
Copy link

Description

Using a Path to provide a shaped background on a page in a Shell app. The Path is correctly rendered on the initial page load but when you switch to another page then back to that page the Path is not rendered.

Steps to Reproduce

  1. Create a new project from the Mobile App (Xamarin Forms) template.
  2. Update the project to the Xamarin Forms v5 Nuget package and change Android Target Framework to 10.
  3. Replace the contents of the ItemsPage.xaml with the Path as below.

<Path
    Aspect="Fill"
    Data="m 0,0 h 100 v 41.910828 c 0,0 -14.861996,6.878981 -50,0 -35.138004,-6.878981 -50,0 -50,0 z"
    StrokeThickness="0">
    <Path.Fill>
        <SolidColorBrush Color="DarkBlue" />
    </Path.Fill>
</Path>

Expected Behavior

Path is displayed on the page.

Actual Behavior

Path is displayed on initial page load but when you navigate to the About page and back to the Browse page it is not rendered.

Basic Information

  • Version with issue: 5.0.0.1558-pre3
  • Last known good version: ?
  • IDE: Visual Studio 2019
  • Platform Target Frameworks:
    • iOS: not tested
    • Android: v10
    • UWP: not tested
  • Android Support Library Version:
  • Nuget Packages: Xamarin.Forms (5.0.0.1558-pre3), NETStandard.Library (2.0.3)
  • Affected Devices:

Screenshots

Initial load of page:
Screenshot_1605302650

After navigating away from page and back to it:
Screenshot_1605302657

@GarryPSmith GarryPSmith added s/unverified New report that has yet to be verified t/bug 🐛 labels Nov 13, 2020
@samhouts samhouts added this to New in Triage Nov 13, 2020
@rachelkang
Copy link
Contributor

Hi, @GarryPSmith - thanks for submitting this issue!
Confirming that I'm able to repro Issue12844.zip and that we'll be looking into this further.

cc @jsuarezruiz

@rachelkang rachelkang moved this from New to Needs Estimate in Triage Nov 13, 2020
@jsuarezruiz jsuarezruiz self-assigned this Nov 14, 2020
@jsuarezruiz jsuarezruiz added a/shapes a/shell 🐚 and removed s/unverified New report that has yet to be verified labels Nov 14, 2020
@jsuarezruiz jsuarezruiz added the in-progress This issue has an associated pull request that may resolve it! label Nov 18, 2020
Triage automation moved this from Needs Estimate to Closed Jan 15, 2021
rmarinho pushed a commit that referenced this issue Jan 15, 2021
…o renderer creation (#13284) fixes #12245 fixes #13225 fixes #12911 fixes #13096 fixes #13164 fixes #11924 fixes #11656 fixes #12844 fixes #12521 fixes #13407

* UI Test

* Render Shape if it has an initial size already set

* - fix ui tests

* Unified issues with the same fix.

Co-authored-by: Javier Suárez Ruiz <javiersuarezruiz@hotmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a/shapes a/shell 🐚 in-progress This issue has an associated pull request that may resolve it! t/bug 🐛
Projects
Triage
  
Closed
3 participants