tw93 / Pake

🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 利用 Rust 轻松构建轻量级多端桌面应用
MIT License
32.99k stars 5.72k forks source link

[Bug] 部分页面跳转白屏 #555

Closed amiaoapp closed 1 year ago

amiaoapp commented 1 year ago

Search before asking

Pake version

2.3.2

System version

macos 13.5

Node.js version

18

Minimal reproduce step

image

这个网址:https://imagestool.com/zh_CN/

打包后,双击抬头的图标,跳转一次,再双击,跳转就白屏

What did you expect to see?

这是个点击跳转首页,应该可以无限点击

What did you see instead?

现在点两次就白屏了

Anything else?

No response

Are you willing to submit a PR?

amiaoapp commented 1 year ago
image

很容易复现

amiaoapp commented 1 year ago

频繁点击,也会出现。刚在操作压缩图,在切换抬头菜单的其他功能时,又出现白屏,只能关掉再打开

amiaoapp commented 1 year ago
image

在打包好的客户端出现处理失败的情况,但是在网页端没事,有点难搞奥。操作:压缩图片到指定大小 - 一个3M大小的截图压缩到200KB以下

tw93 commented 1 year ago

这两个问题看起来是这个网站和 wkwebview 容器的兼容问题,你可以试试用Safari去调试,应该会是一样的效果,等到Safari使用ok了,Pake 这边应该默认就好了