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] Double-click data-tauri-drag-region to toggle "maximize" status of windows without decorations not working correctly #3220

Closed
xuchaoqian opened this issue Jan 15, 2022 · 6 comments
Labels
platform: macOS status: backlog Issue is ready and we can work on it type: bug

Comments

@xuchaoqian
Copy link
Contributor

xuchaoqian commented Jan 15, 2022

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

@amrbashir
Copy link
Member

It should be working, can you try a simple app instead of the api example? it might be broken only in the api example.

@xuchaoqian
Copy link
Contributor Author

It should be working, can you try a simple app instead of the api example? it might be broken only in the api example.

see this repo

with decorations

Screen.Recording.2022-01-16.at.12.47.30.PM.mov

without decorations

Screen.Recording.2022-01-16.at.12.49.46.PM.mov

@amrbashir
Copy link
Member

thanks. we will look into this. might be an issue at Tao.

@lucasfernog
Copy link
Member

@amrbashir can you check this one again or can I help somehow? I've seen this issue too.

@lucasfernog
Copy link
Member

/upstream tauri-apps/wry

@tauri-apps
Copy link

tauri-apps bot commented Jun 28, 2022

Upstream issue at tauri-apps/wry#622 has been closed.

@tauri-apps tauri-apps bot added status: backlog Issue is ready and we can work on it and removed status: upstream labels Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: macOS status: backlog Issue is ready and we can work on it type: bug
Projects
None yet
Development

No branches or pull requests

3 participants