Xamarin.forms: [Bug] Hot Reload: TabbedPage adds a new copy of tabs when reloaded

Created on 30 Sep 2019  路  10Comments  路  Source: xamarin/Xamarin.Forms

Description

Steps to Reproduce

  1. Create new tabbed project in VS 2019
  2. Enable Hot Reload
  3. Run app in debugger (on Android, at least)
  4. Edit and save MainPage.xaml, observe page reloads in debugger
  5. Observe page now has four tabs

Expected Behavior

Old tabs would be cleared

Actual Behavior

Old tabs are retained alongside new tabs

Basic Information

  • Version with issue: 4.2.0.815419
  • Last known good version: Unknown
  • IDE: VS 2019 16.3
  • Platform Target Frameworks:

    • Android: 9.0

  • Android Support Library Version: 28.0.0.3
  • Nuget Packages:
  • Affected Devices: Android emulators

Reproduction Link

Can provide repro on demand. It's very easy to observe with VS-generated tabbed project.

VS bug #1089352

external-hotreload bug

Most helpful comment

why is this closed? the bug is always here... alive and kickin!!!

All 10 comments

this is fixed in newer versions of HR

Thanks, @StephaneDelcroix. Would the fix be part of an XF release, or part of VS?

This issue still remains on reacent VS2019. Any suggention?

Still facing this issue in VS 2019 with the currently latest version of Xamarin.Forms installed :(

"this is fixed in newer versions of HR" false still facing this issue

still relevant, VS2019

why is this closed? the bug is always here... alive and kickin!!!

Any workaround for this?

The bug is still there in 16.6.4, also the Hot Reload Option "Only view changes" (Forms > 4.5.0.17) did'nt work with tabbed pages.

the fix is coming to us :) They finally fixed in in their internal build: https://developercommunity.visualstudio.com/comments/1120409/view.html

Was this page helpful?
0 / 5 - 0 ratings