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] Hello world app, title bar problem (macOS) #3801

Closed
vtu-dog opened this issue Mar 29, 2022 · 2 comments
Closed

[bug] Hello world app, title bar problem (macOS) #3801

vtu-dog opened this issue Mar 29, 2022 · 2 comments

Comments

@vtu-dog
Copy link

vtu-dog commented Mar 29, 2022

Describe the bug

Hello,
When I focus a hello world app and mouse over the title bar, the bar expands downwards by a very slight margin and changes in colour. I recorded the issue using QuickTime. When the window is out of focus, mousing over it does nothing out of the ordinary.

Reproduction

  1. Create a new hello world app with default settings using yarn create tauri-app.
  2. Run cargo tauri dev and focus the window.
  3. Move the mouse onto the title bar. It should expand and change in colour. When you move the mouse anywhere else, the bug disappears until you move the mouse back onto the bar.

Expected behavior

The title bar should neither expand nor change in colour.

Platform and versions

Operating System - Mac OS, version 12.3.0 X64

Node.js environment
  Node.js - 17.7.1
  @tauri-apps/cli - 1.0.0-rc.6
  @tauri-apps/api - 1.0.0-rc.2

Global packages
  npm - 8.5.2
  pnpm - 6.11.0
  yarn - 1.22.17

Rust environment
  rustup - 1.24.3
  rustc - 1.59.0
  cargo - 1.59.0
  toolchain - stable-aarch64-apple-darwin

App directory structure
/dist
/src-tauri
/.git

App
  tauri - 1.0.0-rc.4
  tauri-build - 1.0.0-rc.4
  tao - 0.6.4
  wry - 0.13.3
  build-type - bundle
  CSP - unset
  distDir - ../dist
  devPath - ../dist

Stack trace

No response

Additional context

No response

@vtu-dog vtu-dog changed the title [bug] Hello world app, title bar problem [bug] Hello world app, title bar problem (macOS) Mar 29, 2022
@probablykasper
Copy link
Member

Uploaded the video:

title-bar.mov

Not seeing this bug in my apps on macOS 10.15, so I assume this bug is specific to macOS 11+.

@lucasfernog
Copy link
Member

Can't believe you noticed this lol good eyes. Opened a PR in wry. Thanks for the detailed report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants