Bug 55674 - Using a navigation page in UWP changes the tabbed bar's colour
Summary: Using a navigation page in UWP changes the tabbed bar's colour
Status: RESOLVED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Windows ()
Version: 2.3.4
Hardware: PC Windows
: Normal major
Target Milestone: ---
Assignee: Jimmy [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2017-04-27 09:49 UTC by Daryl
Modified: 2018-02-01 17:32 UTC (History)
7 users (show)

Tags: uwp navbar color tabbedpage ac, fr
Is this bug a regression?: No
Last known good build:


Attachments
Attached bug replication solution (165.15 KB, application/zip)
2017-04-27 09:50 UTC, Daryl
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Daryl 2017-04-27 09:49:08 UTC
# Steps to reproduce

- In the attached solution, navigate to the second page. This will then change the tab bar and title bar colour. At every instance it is specified as white, and when it loads the main page as new, it is white again.

# Expected behavior
- Should stay as the initial colour, or the colour set

# Actual behavior
- changes the colour

# Supplemental info (logs, images, videos)
- attached solution

# Test environment (full version information)
VS 2015
XF 2.3.4.224
Comment 1 Daryl 2017-04-27 09:50:19 UTC
Created attachment 21841 [details]
Attached bug replication solution
Comment 2 Daryl 2017-04-27 10:03:12 UTC
Solution amended and slimmed down so one tab has been removed - down from 4 to 3.

Now this is on the third tab, NOT the second. 

The second tab says "third page" even though it is the second, I just forgot to change that label.
Comment 3 Jimmy [MSFT] 2017-04-27 17:02:51 UTC
Thank you for filing this report! I'm seeing the issue when I run the attached project. As described, once the navbar appears for one of the children pages its background color is applied to the tab bar for every page. I'm confirming this report and the team will investigate further.

### Version Test
2.3.6.88    BAD
2.3.5-pre2  BAD
2.3.4.231   BAD
Comment 4 Paul DiPietro [MSFT] 2017-05-15 16:31:24 UTC
https://github.com/xamarin/Xamarin.Forms/pull/922
Comment 5 Rui Marinho 2018-01-11 12:38:15 UTC
Should be fixed on 2.6.0-pre1
Comment 6 Samantha Houts [MSFT] 2018-02-01 17:32:27 UTC
https://github.com/xamarin/Xamarin.Forms/pull/1327