{"action":"created","issue":{"url":"https://api.github.com/repos/Windows-XAML/Template10/issues/1326","repository_url":"https://api.github.com/repos/Windows-XAML/Template10","labels_url":"https://api.github.com/repos/Windows-XAML/Template10/issues/1326/labels{/name}","comments_url":"https://api.github.com/repos/Windows-XAML/Template10/issues/1326/comments","events_url":"https://api.github.com/repos/Windows-XAML/Template10/issues/1326/events","html_url":"https://github.com/Windows-XAML/Template10/issues/1326","id":192778601,"number":1326,"title":"Back button in Title/Taskbar not showing up and not navigating to MainPage","user":{"login":"myokeeh","id":3663297,"avatar_url":"https://avatars.githubusercontent.com/u/3663297?v=3","gravatar_id":"","url":"https://api.github.com/users/myokeeh","html_url":"https://github.com/myokeeh","followers_url":"https://api.github.com/users/myokeeh/followers","following_url":"https://api.github.com/users/myokeeh/following{/other_user}","gists_url":"https://api.github.com/users/myokeeh/gists{/gist_id}","starred_url":"https://api.github.com/users/myokeeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myokeeh/subscriptions","organizations_url":"https://api.github.com/users/myokeeh/orgs","repos_url":"https://api.github.com/users/myokeeh/repos","events_url":"https://api.github.com/users/myokeeh/events{/privacy}","received_events_url":"https://api.github.com/users/myokeeh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-01T08:06:14Z","updated_at":"2016-12-01T16:42:14Z","closed_at":"2016-12-01T16:42:14Z","body":"I'm trying to update a project to the latest Template 10 (1.19) and I'm running into a couple issues.\r\n\r\n1. The Back button in Title/Taskbar doesn't show up regardless of setting. It defaults to page/header back button.\r\n2. NavigationService.NavigateAsync(typeof(Views.MainPage)) isn't working (...or something else). I can manually click on the Home button and it functions, but not at app startup.\r\n\r\nI started with a blank Hamburger (Template 10) project. I verified that the back button and navigation to MainPage worked without my code. When I copy all my code over, the two issues come back. My project is also currently working from an older version of Template 10. Back button in Title/Taskbar shows up it navigates to MainPage at startup."},"comment":{"url":"https://api.github.com/repos/Windows-XAML/Template10/issues/comments/264224591","html_url":"https://github.com/Windows-XAML/Template10/issues/1326#issuecomment-264224591","issue_url":"https://api.github.com/repos/Windows-XAML/Template10/issues/1326","id":264224591,"user":{"login":"myokeeh","id":3663297,"avatar_url":"https://avatars.githubusercontent.com/u/3663297?v=3","gravatar_id":"","url":"https://api.github.com/users/myokeeh","html_url":"https://github.com/myokeeh","followers_url":"https://api.github.com/users/myokeeh/followers","following_url":"https://api.github.com/users/myokeeh/following{/other_user}","gists_url":"https://api.github.com/users/myokeeh/gists{/gist_id}","starred_url":"https://api.github.com/users/myokeeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myokeeh/subscriptions","organizations_url":"https://api.github.com/users/myokeeh/orgs","repos_url":"https://api.github.com/users/myokeeh/repos","events_url":"https://api.github.com/users/myokeeh/events{/privacy}","received_events_url":"https://api.github.com/users/myokeeh/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T16:42:14Z","updated_at":"2016-12-01T16:42:14Z","body":"This had to be removed from the older Template 10 App.xaml.cs to fix the two issues.\r\n\r\n```\r\npublic override async Task OnInitializeAsync(IActivatedEventArgs args)\r\n        {\r\n            if (Window.Current.Content as ModalDialog == null)\r\n            {\r\n                // create a new frame \r\n                var nav = NavigationServiceFactory(BackButton.Attach, ExistingContent.Include);\r\n\r\n                // create modal root\r\n                Window.Current.Content = new ModalDialog\r\n                {\r\n                    DisableBackButtonWhenModal = true,\r\n                    Content = new Views.Shell(nav),\r\n                    ModalContent = new Views.Busy(),\r\n                };\r\n            }\r\n            await Task.CompletedTask;\r\n        }\r\n```"}}
{"actor":{"display_login":"myokeeh"}}