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] Undecorated window is created in wrong size on Windows #11695

Closed
kanatapple opened this issue Nov 15, 2024 · 0 comments · Fixed by tauri-apps/tao#1017
Closed

[bug] Undecorated window is created in wrong size on Windows #11695

kanatapple opened this issue Nov 15, 2024 · 0 comments · Fixed by tauri-apps/tao#1017

Comments

@kanatapple
Copy link
Contributor

kanatapple commented Nov 15, 2024

Describe the bug

When you create undecorated windows with Tauri 2.1.0 (after tao 0.30.6), it will be created larger than the specified size.
There is no problem with Tauri 2.0.6 (tao 0.30.2), I think the problem is below.
tauri-apps/tao@06d109f

For this reason, in Tauri 2.1.0, even if you create a window the same size as the work area, it will be larger than the work area.

Reproduction

Run tauri dev in each repository

The windows are created at the same coordinates, but they have different sizes.

Expected behavior

The window must be created in the correct size.

Full tauri info output

[✔] Environment
    - OS: Windows 10.0.22631 x86_64 (X64)
    ✔ WebView2: 130.0.2849.80
    ✔ MSVC:
        - Visual Studio Professional 2017
        - Visual Studio Professional 2019
    ✔ 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 (default)
    - node: 22.11.0
    - yarn: 1.22.22
    - npm: 10.9.0

[-] Packages
    - tauri 🦀: 2.1.0
    - tauri-build 🦀: 2.0.3
    - wry 🦀: 0.47.0
    - tao 🦀: 0.30.8
    - @tauri-apps/api : 2.1.1
    - @tauri-apps/cli : 2.1.0

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

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

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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants