Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] appWindow.isDecorated() always true #518

Closed
tauri-bot opened this issue Aug 4, 2022 · 0 comments · Fixed by #508
Closed

[bug] appWindow.isDecorated() always true #518

tauri-bot opened this issue Aug 4, 2022 · 0 comments · Fixed by #508
Assignees
Labels
status: in progress Implementation is proceeding smoothly type: bug

Comments

@tauri-bot
Copy link

This issue has been upstreamed from tauri-apps/tauri#4859

Describe the bug

import { appWindow } from "@tauri-apps/api/window";
import { ref } from "@vue/reactivity";

let isDecoration = ref();

const getSysInfo = async () => {
appWindow.setDecorations(false);
isDecoration.value = await appWindow.isDecorated(); //always true
};

Reproduction

No response

Expected behavior

No response

Platform and versions

Environment
› OS: Mac OS 11.6.0 X64
› Node.js: 14.19.3
› npm: 8.14.0
› pnpm: Not installed!
› yarn: 1.22.19
› rustup: 1.25.1
› rustc: 1.62.1
› cargo: 1.62.1
› Rust toolchain: stable-x86_64-apple-darwin

Stack trace

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: in progress Implementation is proceeding smoothly type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants