Skip to content

[BUG] entering the Debug Mode in WebAssembly served on Server (startup Proj) messes up Navigation #3

Description

@DevTKSS

Description

Entering Debug mode using Shift+Alt+D on Login Page sets the BrowserTab Name to Main + opens the Debug Address on MainPage instead of LoginPage

Changing back to the non debug tab, will still show Login screen but the changed Tab Name of Main.

  • Startup project Server
  • application url in props has been added by https of 5001
  • server urls has been changed in order so the https is the first one
  • Server base setup guide has been followed for https allowance of "insecure contents"

470009411-c26333a3-9045-4bd0-b7b2-af10bb6f01cf.png

470008835-8c5be1e2-f99b-4867-a2a5-e8d0f731a888.png

470007877-7412864a-a9a5-4f8d-90ca-66bf1642f265.png

Image

🤔 inspecting Blazor Host setup, they are Mapping the framework debug path in:

if (app.Environment.IsDevelopment())
{
    app.UseWebAssemblyDebugging(); //<-- look Decompilation

do not see anything like this in the included Uno Package that would do the same.
Does it miss on this?

Steps to Reproduce

  • Use this result of the before described issue: UnoApp5 (2).zip
  • Make sure you select Server as Startup Project and you did set https://localhost:5002 to allow unsafe contents
  • start in Debug using F5 (Browser Chrome)
  • If you did not set the unsafe contents setting for this url so far, you will get a Error Pop up, thats caused by Mixed Contents and no Cors setup, DO NOT CLICK ANY BUTTON OF IT! otherwhise the debug session will just end.
  • opening developer tools in Chrome browser
  • Use Shift + Alt + D to enter your App in Debug Tab (will maybe need 2 attempts why ever)
  • Tab should open fine but your route is now "Main" instead of the Login Screen where you should have been
  • The non-Debug tab is still showing login, but the tab title is showing "Main"

Platform with bug

Server startup -> Wasm served on Server Project

Affected platforms

WebAssembly?

Did you find any workaround?

Not sure if it results in actual problems

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    Status
    Tackle me!

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions