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

doubleclick top edge of the titlebar, the window is offset to the wrong position.[bug] #4070

Closed
Lucouse opened this issue May 7, 2022 · 2 comments
Labels
status: invalid This is not a valid issue type: bug

Comments

@Lucouse
Copy link

Lucouse commented May 7, 2022

Describe the bug

frameless window app, doubleclick top edge of the titlebar which has the attribute data-tauri-drag-region,the window is offset to the wrong position. ( sorry, because of network limitations, i can not upload pic of the bug)

Reproduction

  1. windows setting in tauri.conf.json decorations=false
  2. create a custom titlebar which has attribute data-tauri-drag-region
  3. doubleclick the top edge of titlebar

Expected behavior

The upper and lower edges of the window extend to the edge of the screen.

Platform and versions

Environment
  › OS: Windows 10.0.19042 X64
  › Webview2: 101.0.1210.32
  › MSVC:
      - Visual Studio 15 ���ɹ��� 2017
      - Visual Studio ���ɹ��� 2019
  › Node.js: 14.17.6
  › npm: 6.14.15
  › pnpm: Not installed!
  › yarn: Not installed!
  › rustup: 1.24.3
  › rustc: 1.60.0
  › cargo: 1.60.0
  › Rust toolchain: stable-x86_64-pc-windows-msvc

Packages
  › @tauri-apps/cli [NPM]: 1.0.0-rc.9
  › @tauri-apps/api [NPM]: 1.0.0-rc.4
  › tauri [RUST]: 1.0.0-rc.8,
  › tauri-build [RUST]: 1.0.0-rc.7,
  › tao [RUST]: 0.8.4,
  › wry [RUST]: 0.15.1,

App
  › build-type: bundle
  › CSP: unset
  › distDir: ../dist
  › devPath: http://localhost:8080/
  › framework: Vue.js (Vue CLI)    
  › bundler: Webpack

App directory structure
  ├─ .cid        
  ├─ .git        
  ├─ build       
  ├─ dist        
  ├─ doc
  ├─ node_modules
  ├─ src
  ├─ src-tauri   
  └─ test

Stack trace

No response

Additional context

No response

@amrbashir
Copy link
Member

Can't reproduce, can you send a screenshot of this or better a video recording. Also a minimal repro would be great.

@lumenian
Copy link

That's a duplicate of #2549, I believe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: invalid This is not a valid issue type: bug
Projects
None yet
Development

No branches or pull requests

4 participants