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] Window content extending over the boundary (macOS) #3794

Closed
vtu-dog opened this issue Mar 28, 2022 · 3 comments
Closed

[bug] Window content extending over the boundary (macOS) #3794

vtu-dog opened this issue Mar 28, 2022 · 3 comments

Comments

@vtu-dog
Copy link

vtu-dog commented Mar 28, 2022

Describe the bug

Hello,
I tried to create a wrapper for OvenPlayer and found some strange bugs related to windows. Here's a repository with sample code and videos showcasing the bugs.

In certain situations, a white stripe (approximately 1px wide) appears on the sides and / or at the bottom of a window, ignoring window boundaries. I had to record this bug using a camera, as using QuickTime somehow makes it not appear at all.

Reproduction

  1. Open this link, type wss://demo.ovenplayer.com:3333/app/test-input-stream?direction=send&transport=tcp in the WebRTC input URL and press Start. This step is necessary, as the application does not exhibit any strange behaviour when no videos are playing. You might want to disable your camera for that step.
  2. Clone the linked repository and run cargo tauri dev. You should see the stream that you started in the browser.
  3. Mouse over the title bar and wait for a few seconds. A white stripe should appear at the bottom of the window, just over the window boundary. It does not matter if the window is in focus or not.

Expected behavior

White stripes should not appear.

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

I tried to create a reproducible example where stripes appear on both sides of the window, but it only seems to work when I tune in to my friend's private stream. It's very fickle.

@JonasKruckenberg
Copy link
Member

As those are most likely unrelated bugs, can you please open a separate issue for the secondary one?

@vtu-dog
Copy link
Author

vtu-dog commented Mar 29, 2022

Done. The other issue can now be found here: #3801

@lucasfernog
Copy link
Member

Looks like this issue is fixed in the latest Tauri, you can try updating your project to see it. I believe it was fixed by #3915

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