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] Cannot resize window with custom titlebar when "unstable" feature is enabled on Windows #12207

Open
Sakamitsu opened this issue Jan 4, 2025 · 1 comment
Labels
scope: unstable flag Issue only occures with "unstable" feature flag enabled status: needs triage This issue needs to triage, applied to new issues type: bug

Comments

@Sakamitsu
Copy link

Describe the bug

This issue probably reopened this one (#8519), also look at the recent comments for additional context.

Reproduction

  1. pnpm create tauri-app
  2. Duplicate code from here and update permissions
  3. Change tauri.conf.json
"windows": [
      {
        "title": "resize-bug",
        "width": 800,
        "height": 600,
        "decorations": false,
        "transparent": true,
        "shadow": false
      }
    ],
  1. Now if you run pnpm tauri dev resize will work.
  2. Update Cargo.toml
tauri = { version = "2", features = ["unstable"] }
  1. Now resize doesn't work.

Expected behavior

The application is able to be resize when "unstable" feature is enabled and "decorations": false.

Full tauri info output

[✔] Environment
    - OS: Windows 10.0.19045 x86_64 (X64)
    ✔ WebView2: 128.0.2739.67
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.79.0 (129f3b996 2024-06-10)
    ✔ cargo: 1.79.0 (ffa9cf99a 2024-06-03)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 20.15.0
    - pnpm: 9.5.0
    - npm: 10.7.0

[-] Packages
    - tauri 🦀: 2.2.0
    - tauri-build 🦀: 2.0.4
    - wry 🦀: 0.48.0
    - tao 🦀: 0.31.1
    - @tauri-apps/api : 2.2.0
    - @tauri-apps/cli : 2.2.2

[-] Plugins

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

Stack trace

No response

Additional context

No response

@Sakamitsu Sakamitsu added status: needs triage This issue needs to triage, applied to new issues type: bug labels Jan 4, 2025
@FabianLars FabianLars added the scope: unstable flag Issue only occures with "unstable" feature flag enabled label Jan 4, 2025
@FabianLars
Copy link
Member

Maybe a duplicate of #9634 (the videos don't load for me anymore so not sure)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: unstable flag Issue only occures with "unstable" feature flag enabled status: needs triage This issue needs to triage, applied to new issues type: bug
Projects
None yet
Development

No branches or pull requests

2 participants