Skip to content

[desktop][bug] The current URL is saved when app closed and restored when opened #4934

@RichardWGNR

Description

@RichardWGNR

Problem

I use dx serve --target i686-pc-windows-msvc --watch false --hot-reload false.

And often when I press the R button (rebuild app), I wait for a while for the program to build, and then the program opens, but it doesn't start from the beginning, it continues from where it left off but resets the state that does not belong to dioxus.

Before that, I used dioxus-cli 0.6.3 and didn't have this problem.

UPD. 16.11.2015

The same problem occurs even if you don't use dioxus-cli, but not as often.
That is, I can run the program itself (.exe file), but it will not open from the beginning.
After cleaning AppData/Local/Temp, the problem disappears

Screenshots
After first start
Image

Before rebuild
Image

After rebuild

Image

Environment:

  • Dioxus version: 0.7.0, 0.7.1
  • Rust version: 1.91
  • OS info: Win 11
  • App platform: desktop, webview

Questionnaire

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcliRelated to the dioxus-cli program

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions