MixinNetwork / MixinNetwork/flutter-plugins

WebKitWebView returned by WebKitWebView::create signal was not created with the related WebKitWebView

Open
#376 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
512
Forks
292
Avg merge
15h 8m
Merged PRs (30d)
7

Description

In flutter desktop_webview_window package I m running my project on ubuntu 20 it works fine now I upgrade to 24 and there's issue like in web page there's Google logo when user clicks on it then the dummy site https://google_login_click.com/ loaded from web side and when I detect it I stop that dummy url to redirect and redirect to chrome for Google login but in ubuntu24 when I run project and click on logo it logs line like wwbkitwebview:: create signal not created or may be generated not remember exactly so how to fix this issue so project login works

`Launching lib/main.dart on Linux in debug mode...
Building Linux application...

(Moon_HRM:36145): Gtk-WARNING **: 13:55:55.885: Error loading icon from file 'assets/images/app_icon_linux.png':
Failed to open file “assets/images/app_icon_linux.png”: No such file or directory

**(Moon_HRM:36145): Gdk-CRITICAL : 13:55:55.912: gdk_window_get_state: assertion 'GDK_IS_WINDOW (window)' failed
Debug service listening on ws://127.0.0.1:33103/nlRKA0YGpIc=/ws

Syncing files to device Linux...
method call InitSystemTray
SystemTray::set_system_tray_info title: , icon_path: /home/jeet/Documents/moon-hrm-flutter/build/linux/x64/debug/bundle/data/flutter_assets/assets/images/system_tray_icon_mac.png, toolTip: (null)
method call SetSystemTrayInfo
SystemTray::set_system_tray_info title: (null), icon_path: (null), toolTip: Moon HRM
method call SetSystemTrayInfo
SystemTray::set_system_tray_info title: (null), icon_path: /home/jeet/Documents/moon-hrm-flutter/build/linux/x64/debug/bundle/data/flutter_assets/assets/images/system_tray_icon_mac.png, toolTip: (null)
method call CreateContextMenu
value_to_menu_item type:label, label:Show
value_to_menu_item type:checkbox, label:Open at Login
value_to_menu_item type:label, label:Google Login
value_to_menu_item type:label, label:Quit
method call SetContextMenu
[GETX] Instance "GetMaterialController" has been created
[GETX] Instance "GetMaterialController" has been initialized
[GETX] GOING TO ROUTE /dashboardScreen

**(Moon_HRM:36145): Gdk-CRITICAL : 13:55:58.644: gdk_window_get_state: assertion 'GDK_IS_WINDOW (window)' failed
[GETX] Instance "DashboardController" has been created
flutter: CHECK==> ""
[GETX] Instance "DashboardController" has been initialized

**** (WebKitWebProcess:36244): WARNING : 13:55:59.958: The GStreamer FDK AAC plugin is missing, AAC playback is unlikely to work.
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method InitSystemTray on channel flutter/system_tray/tray)
#0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:320:7)

#1 SystemTray.initSystemTray (package:system_tray/src/tray.dart:47:18)

#2 Utils.initSystemTray (package:moon_hrm/utils/utils.dart:463:7)

#3 main (package:moon_hrm/main.dart:74:3)

flutter: CHECK==> "hrm_flutter_platform=flutter; login_platform=linux; flutter_app_version=1.3; isTimerLocation=true; crisp-client%2Fsession%2F88be2798-9db6-4bef-b465-c8554e654ef7=session_c5e2b7b6-ca3e-48ea-ba00-7cc1d919fd0c"
flutter: Pointer: address=0x0

**(Moon_HRM:36145): GLib-GObject-CRITICAL : 13:58:26.444: ../../../gobject/gsignal.c:2685: instance '0x60b8a1987b40' has no handler with id '603'
~WebviewWindow
**** (Moon_HRM:36145): WARNING **: 14:03:00.248: WebKitWebView returned by WebKitWebView::create signal was not created with the related WebKitWebView
** (Moon_HRM:36145): WARNING **: 14:03:00.248: WebKitWebView returned by WebKitWebView::create signal was not created with the related WebKitWebView
**
`

how to fix this issue.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the flutter desktop_webview_window package and compare the reported Ubuntu 20 and Ubuntu 24 behavior. Review the logged WebKitWebView::create warning alongside the related GTK and plugin errors, then establish a minimal reproduction for the Google-login redirect flow. Done means the redirect works on Ubuntu 24 without the warning or an associated failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.