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] The window border is not displayed correctly #11538

Closed
noy1993 opened this issue Oct 30, 2024 · 1 comment · Fixed by tauri-apps/tao#993
Closed

[bug] The window border is not displayed correctly #11538

noy1993 opened this issue Oct 30, 2024 · 1 comment · Fixed by tauri-apps/tao#993
Labels
status: needs triage This issue needs to triage, applied to new issues type: bug

Comments

@noy1993
Copy link

noy1993 commented Oct 30, 2024

Describe the bug

I want to display a window without a title bar on Windows 10, but only the top border appears. Based on the documentation, there should be borders all around. Is this behavior correct, or is it supposed to be this way?
E1D7BE8C-1D1D-49fa-BFA9-88158A881BDA

    "windows": [
      {
        "title": "test",
        "width": 800,
        "height": 600,
        "decorations": false
      }
    ],

Reproduction

No response

Expected behavior

I would like to have either all four borders appear or have an option for no borders at all.

Full tauri info output

Environment
    - OS: Windows 10.0.19045 x86_64 (X64)
    ✔ WebView2: 130.0.2849.56
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.82.0 (f6e511eec 2024-10-15)
    ✔ cargo: 1.82.0 (8f40fc59f 2024-08-21)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (environment override by RUSTUP_TOOLCHAIN)
    - node: 20.13.1
    - pnpm: 9.12.2
    - yarn: 1.22.22
    - npm: 10.8.1

[-] Packages
    - tauri 🦀: 2.0.6
    - tauri-build 🦀: 2.0.2
    - wry 🦀: 0.46.3
    - tao 🦀: 0.30.5
    - tauri-cli 🦀: 2.0.2
    - @tauri-apps/api : 2.0.3
    - @tauri-apps/cli : 2.0.2 (outdated, latest: 2.0.4)

[-] Plugins
    - tauri-plugin-shell 🦀: 2.0.2
    - @tauri-apps/plugin-shell : 2.0.1

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../build
    - devUrl: http://localhost:1420/
    - framework: Svelte
    - bundler: Vite

Stack trace

No response

Additional context

No response

@noy1993 noy1993 added status: needs triage This issue needs to triage, applied to new issues type: bug labels Oct 30, 2024
@amrbashir
Copy link
Member

amrbashir commented Oct 30, 2024

should be fixed by tauri-apps/tao#993 and all side will have correct border (if you want them all removed, you will need to also disable shadows)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage This issue needs to triage, applied to new issues type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants