Description
This issue has been upstreamed from tauri-apps/tauri#5115
Describe the bug
if we await appWindow.setDecorations(false)
at first,
then we await appWindow.setFullscreen(true)
,
and call await appWindow.setFullscreen(false)
after a few seconds,
still can see the 'decorations' in these time.
Reproduction
reproduction code is here.
please use fullscreen branch
and run the app to see the effect.
Expected behavior
No response
Platform and versions
Environment
› OS: Mac OS 11.4.0 X64
› Node.js: 17.0.1
› npm: 8.1.0
› pnpm: Not installed!
› yarn: 1.22.17
› rustup: 1.25.1
› rustc: 1.63.0
› cargo: 1.63.0
› Rust toolchain: stable-aarch64-apple-darwin
Packages
Error only one package mangager should be used, but found npm and yarn
Cargo.tmol
[build-dependencies]
tauri-build = { version = "1.0.4", features = [] }
[dependencies]
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
tauri = { version = "1.0.5", features = ["api-all"] }
Stack trace
No response
Additional context
No response
Metadata
Metadata
Assignees
Type
Projects
Status