[Webkit-unassigned] [Bug 276076] New: Disappearing tiles / content when rending Leaflet maps

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 1 08:28:06 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=276076

            Bug ID: 276076
           Summary: Disappearing tiles / content when rending Leaflet maps
           Product: WebKit
           Version: Other
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Minor
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sidwirb at gmail.com
                CC: bugs-noreply at webkitgtk.org

Steps to Reproduce:

    Create a GTK application embedding a WebKitGTK web view.
    Load a Leaflet map in the web view.
    Move the map around to trigger tile loading.
    Observe that some tiles fail to load and remain gray.

Expected Results:
Tiles should load correctly after a short delay, similar to the behavior observed in standard web browsers.

Actual Results:
Tiles go gray and do not load even after waiting for an extended period.

Additional Information:

    WebKitGTK Version: 2.44.2 (replace with your version)
    System: Ubuntu 24.04 LTS
    GTK Version: 3.24.41

   Error Messages:
        When enabling debug logs for WebKitGTK, no specific error messages are observed.

   Zooming out / in the map seems to reload tiles, but this should not be required. 

Example Code:
Here's a minimal example of the GTK application embedding the WebKitGTK web view:

#include <gtk/gtk.h>
#include <webkit2/webkit2.h>

static void activate(GtkApplication *app, gpointer user_data) {
    GtkWidget *window;
    GtkWidget *web_view;

    window = gtk_application_window_new(app);
    gtk_window_set_title(GTK_WINDOW(window), "Simple WebKitGTK App");
    gtk_window_set_default_size(GTK_WINDOW(window), 800, 600);

    web_view = webkit_web_view_new();
    webkit_web_view_load_uri(WEBKIT_WEB_VIEW(web_view), "https://www.openstreetmap.org/");

    gtk_container_add(GTK_CONTAINER(window), web_view);

    gtk_widget_show_all(window);
}

int main(int argc, char **argv) {
    GtkApplication *app;
    int status;

    app = gtk_application_new("org.gtk.example", G_APPLICATION_FLAGS_NONE);
    g_signal_connect(app, "activate", G_CALLBACK(activate), NULL);

    status = g_application_run(G_APPLICATION(app), argc, argv);
    g_object_unref(app);

    return status;
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240701/b6880654/attachment.htm>


More information about the webkit-unassigned mailing list