Skip to content

[bug] Double-click data-tauri-drag-region to toggle "maximize" status of windows without decorations not working correctly #3220

@xuchaoqian

Description

@xuchaoqian

Describe the bug

Screen.Recording.2022-01-15.at.5.20.27.PM.mov

Reproduction

  1. Checkout next brunch of tauri
  2. Run API example
  3. Click "Window" on the left sidebar
  4. Uncheck "Has decorations" option
  5. Double-click data-tauri-drag-region

Expected behavior

No response

Platform and versions

Operating System - Mac OS, version 11.6.1 X64

Node.js environment
  Node.js - 14.18.1
  @tauri-apps/cli - 1.0.0-beta.10
  @tauri-apps/api - 1.0.0-beta.8

Global packages
  npm - 6.14.15
  pnpm - Not installed
  yarn - 1.22.17

Rust environment
  rustc - 1.56.1
  cargo - 1.56.0

Rust environment
  rustup - 1.24.3
  rustc - 1.56.1
  cargo - 1.56.0
  toolchain - stable-x86_64-apple-darwin (environment override by RUSTUP_TOOLCHAIN)

App directory structure
/dist
/node_modules
/public
/src-tauri
/src

App
  tauri.rs - 1.0.0-beta.8
  build-type - bundle
  CSP - default-src blob: data: filesystem: ws: wss: http: https: tauri: asset: customprotocol: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'
  distDir - ../dist
  devPath - http://localhost:5000/
  framework - Svelte

Stack trace

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions