tauri-apps / tauri

Build smaller, faster, and more secure desktop and mobile applications with a web frontend.
https://tauri.app
Apache License 2.0
83.75k stars 2.51k forks source link

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

Open hatched opened 3 days ago

hatched commented 3 days ago

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

Expected behavior

It to render as in the PR: https://github.com/tauri-apps/tauri/pull/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

ahqsoftwares commented 1 day ago

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

hatched commented 18 hours ago

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

ahqsoftwares commented 17 hours ago

Its the multiwebview example right? I have a windows machine

ahqsoftwares commented 17 hours ago

image windows works

ahqsoftwares commented 17 hours ago

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

ahqsoftwares commented 17 hours ago

Lemme share the full experience

ahqsoftwares commented 17 hours ago

https://github.com/user-attachments/assets/efe4794d-9485-42f7-a987-daf7c2343b53