tauri-apps/tauri

[bug] multiwebview appears to only render the last child.

hatched opened this issue · 8 comments

Describe the bug

Running the multiwebview example with cargo run --example multiwebview --features unstable presents me with an application window where only the last child is rendered.

Screenshot 2024-10-15 at 2 58 44 PM

Reproduction

  • git clone git@github.com:tauri-apps/tauri.git && cd tauri
  • cargo run --example multiwebview --features unstable

Expected behavior

It to render as in the PR: #8280

img

Full tauri info output

[✔] Environment
    - OS: Mac OS 14.6.1 arm64 (X64)
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.81.0 (eeb90cda1 2024-09-04)
    ✔ cargo: 1.81.0 (2dbb1af80 2024-08-20)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 18.20.3
    - pnpm: 9.9.0
    - npm: 10.7.0

[-] Packages
    - tauri 🦀: 2.0.4
    - tauri-build 🦀: 2.0.1
    - wry 🦀: 0.46.1
    - tao 🦀: 0.30.2
    - @tauri-apps/api : not installed!
    - @tauri-apps/cli : 2.0.3

[-] Plugins
    - tauri-plugin-log 🦀: 2.0.0-rc.2
    - @tauri-apps/plugin-log : not installed!

[-] App
    - build-type: bundle
    - CSP: default-src 'self'; connect-src ipc: http://ipc.localhost
    - frontendDist: ["index.html"]
    - bundler: Rollup

Stack trace

No response

Additional context

No response

Can you confirm if the same occurs on windows and linux along with mac?

Sorry I do not have a Linux or Windows machine available at this time.

Its the multiwebview example right? I have a windows machine

image
windows works

but initial load didn't work, window had to be resized for the webviews to be shown

Lemme share the full experience

20241018_224049.mp4

This issue is non existent in wry upstream. I am looking out for a fix