dioxus icon indicating copy to clipboard operation
dioxus copied to clipboard

Desktop UI disappears when reloading

Open WilliamRagstad opened this issue 1 year ago • 1 comments

Problem

When I reload the page in my desktop application, all UI disappears and cannot be restored.

Steps To Reproduce

Steps to reproduce the behavior:

  • Initialize a new desktop project
  • Run with dx serve
  • F5 or CTRL+R to refresh the page

Expected behavior

The UI to instantly be re-rendered.

Screenshots

image

Environment:

  • Dioxus version: v0.5.4
  • Rust version: 1.78.0
  • OS info: Windows 11
  • App platform: desktop

Questionnaire

  • [ ] I'm interested in fixing this myself but don't know where to start
  • [ ] I would like to fix and I have a solution
  • [ ] I don't have time to fix this right now, but maybe later

WilliamRagstad avatar Jun 12 '24 17:06 WilliamRagstad

This was fixed in https://github.com/DioxusLabs/dioxus/pull/939, but it looks like that change got reverted at some point. (Wry upgrades?)

ealmloff avatar Jun 13 '24 18:06 ealmloff