Skip to content

[bug] On linux with GTK when opening new popup it panics #1663

Open

Description

@Ughuuu

Describe the bug
When opening a new popup from vscode.dev (to login) it causes a panic.

Steps To Reproduce
Open a popup from vscode.dev.

Expected behavior
Opens a new popup (on mac it works)

Screenshots

Image

Platform and Versions (please complete the following information):
OS: Ubuntu 24.04 LTS
Rustc: Stable(latest)

Additional context

This is the repo where I build it: https://github.com/appsinacup/godot_wry

I then use it inside Godot.

new window req: https://github.com/login/oauth/authorize?client_id=01ab8ac9400c4e429b23&redirect_uri=https://vscode.dev/... NewWindowFeatures { size: None, position: None, opener: NewWindowOpener { webview: WebView { inner: TypedObjectRef { inner: 0x346f4080, type: WebKitWebView } } } }
ERROR: [panic /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wry-0.54.1/src/webkitgtk/mod.rs:504]  called `Result::unwrap()` on an `Err` value: Widget { inner: TypedObjectRef { inner: 0x345caa80, type: GtkWindow } }
   at: godot_core::private::set_gdext_hook::{{closure}} (/home/runner/.cargo/git/checkouts/gdext-067f4b88e7bd088f/8854ed8/godot-core/src/private.rs:352)
   GDScript backtrace (most recent call first):
       [0] _process (res://addons/godot_vscode_ide/plugin.gd:108)

ERROR: [panic library/core/src/panicking.rs:225]  panic in a function that cannot unwind
   at: godot_core::private::set_gdext_hook::{{closure}} (/home/runner/.cargo/git/checkouts/gdext-067f4b88e7bd088f/8854ed8/godot-core/src/private.rs:352)
   GDScript backtrace (most recent call first):
       [0] _process (res://addons/godot_vscode_ide/plugin.gd:108)

thread caused non-unwinding panic. aborting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions