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

[Bug] Android Shapes drawing Line disappears on page pop and returning back to the page won't draw again #11656

Closed
EmilAlipiev opened this issue Aug 4, 2020 · 8 comments · Fixed by #13284
Assignees
Labels
a/shapes e/2 🕑 2 in-progress This issue has an associated pull request that may resolve it! t/bug 🐛
Milestone

Comments

@EmilAlipiev
Copy link
Contributor

Description

Steps to Reproduce

  1. When I draw a simple line using like code below on contentview inside a contentpage (it could be the problem on contentview)
  2. I simply click backbutton to pop the page
  3. if I navigate to the page again Line is not drawn.
 <Line
                    x:Name="Line"
                    Stroke="#FF707070"
                    X1="55"
                    X2="150"
                    Y1="90"
                    Y2="120" />

Basic Information

  • Version with issue:

  • Last known good version:

  • IDE:

  • Platform Target Frameworks:

    • Android: Android 10
  • Android Support Library Version:

  • Nuget Packages: XF 4.7

  • Affected Devices: tested on emulator

@EmilAlipiev EmilAlipiev added s/unverified New report that has yet to be verified t/bug 🐛 labels Aug 4, 2020
@PureWeen
Copy link
Contributor

PureWeen commented Aug 4, 2020

@jsuarezruiz

@samhouts samhouts added this to New in Triage Aug 4, 2020
@jsuarezruiz jsuarezruiz moved this from New to Needs Info in Triage Aug 10, 2020
@jsuarezruiz jsuarezruiz added s/needs-info ❓ A question has been asked that requires an answer before work can continue on this issue. s/needs-repro ❔ This reported issue doesn't include a sample project reproducing the issue. Please provide one. labels Aug 10, 2020
@jsuarezruiz
Copy link
Contributor

@EmilAlipiev Could you attach a reproduction sample?. I have created a test trying to reproduce the problem, but without success.
issue11656

@EmilAlipiev
Copy link
Contributor Author

Hi @jsuarezruiz
I think that it happens on certain cases. For example, using masterdetail page. I have added a repro attached.
please run the project in Android.
there 2 pages on the menu.
Select Page1 from the list... you will see that red line was drawn. If you click back button you go back to mainpage and when you select page1 again, it is gone. instead of backbutton, if you select mainpage and reselect page1, still same problem. so not related to backbutton also.

ListViewXamarin.zip
lineproblem

@samhouts samhouts removed s/needs-repro ❔ This reported issue doesn't include a sample project reproducing the issue. Please provide one. s/needs-info ❓ A question has been asked that requires an answer before work can continue on this issue. labels Aug 27, 2020
@samhouts samhouts moved this from Needs Info to New in Triage Aug 27, 2020
@jsuarezruiz jsuarezruiz added e/2 🕑 2 and removed s/unverified New report that has yet to be verified labels Aug 28, 2020
@jsuarezruiz jsuarezruiz moved this from New to Ready For Work in Triage Aug 28, 2020
@samhouts samhouts added the in-progress This issue has an associated pull request that may resolve it! label Aug 28, 2020
@samhouts samhouts added this to In Progress in vNext+1 (5.0.0) Aug 28, 2020
@samhouts samhouts added this to To do in Other Ready For Work Aug 28, 2020
@samhouts samhouts removed this from Ready For Work in Triage Aug 28, 2020
@samhouts samhouts moved this from To do to In progress in Other Ready For Work Aug 28, 2020
@samhouts samhouts added this to the 5.0.0 milestone Aug 31, 2020
@oscarjaergren
Copy link

oscarjaergren commented Sep 3, 2020

1+ on this bug, just discovered it in my application
Using Shell as navigation

@RGBPlaza
Copy link

I am having this problem too and my app is very close to release (about 5 days). Would be very nice if this could be solved asap!

@PureWeen PureWeen modified the milestones: 5.0.0, 5.0.1 Nov 2, 2020
@PureWeen PureWeen added this to To do in v5.0.1 via automation Nov 2, 2020
@PureWeen PureWeen removed this from In Progress in vNext+1 (5.0.0) Nov 2, 2020
@samhouts samhouts added this to In Progress in vNext+1 (5.0.0) Nov 2, 2020
@PureWeen PureWeen removed this from In Progress in vNext+1 (5.0.0) Nov 5, 2020
@samhouts samhouts added this to In Progress in vNext+1 (5.0.0) Nov 5, 2020
@edmlbox
Copy link

edmlbox commented Nov 5, 2020

I have the exact same problem with line and ellipsis and path object. When navigating in shell.

@PureWeen PureWeen removed this from In Progress in vNext+1 (5.0.0) Nov 5, 2020
@edmlbox
Copy link

edmlbox commented Dec 2, 2020

Still an issue. After switching pages in Shell ellipse simply disappears.

@orimslala
Copy link

orimslala commented Jan 14, 2021

Equally hitting this problem. I have Ellipses in my main landing page. Noticed it when i integrated the AppShell with tab bar navigation into my app. The issue shows its ugly head when i navigate between tabs. once i return back to my main page, the ellipses have already disappeared :-(

Other Ready For Work automation moved this from In progress to Done Jan 15, 2021
v5.0.1 automation moved this from To do to Done 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 e/2 🕑 2 in-progress This issue has an associated pull request that may resolve it! t/bug 🐛
Projects
8 participants