Bug 106093 - [GTK] Images don't appear if the web view is shown while they're being loaded
Summary: [GTK] Images don't appear if the web view is shown while they're being loaded
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-04 07:54 PST by Alberto Garcia
Modified: 2014-05-26 15:11 PDT (History)
1 user (show)

See Also:


Attachments
Patch to reproduce the bug with GtkLauncher (759 bytes, patch)
2013-01-04 07:54 PST, Alberto Garcia
no flags Details | Formatted Diff | Diff
Patch for MiniBrowser (1.67 KB, patch)
2013-01-05 07:30 PST, Alberto Garcia
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alberto Garcia 2013-01-04 07:54:48 PST
Created attachment 181302 [details]
Patch to reproduce the bug with GtkLauncher

We found this in Epiphany, but it turns out that the problem is not there.

Here's the original bug report: https://bugzilla.gnome.org/show_bug.cgi?id=690159

How to reproduce the bug:

- Load an image in a WebKitWebView widget that is hidden.
- Show it while the image is being loaded (e.g. at WEBKIT_LOAD_COMMITTED)

The image will not show up on the screen. However, it will appear if
you resize the window.

This can be easily reproduced with GtkLauncher using the attached
patch:

Programs/GtkLauncher http://lorempixel.com/400/200/sports/
Programs/GtkLauncher file:///path/to/image.jpg

Note that the bug is reproducible with images, not with HTML pages.
Comment 1 Alberto Garcia 2013-01-05 07:30:22 PST
Created attachment 181439 [details]
Patch for MiniBrowser

I can't reproduce this problem with WebKit2.

Here's the patch for MiniBrowser that does the same, but you can see that everything works fine there.
Comment 2 Alberto Garcia 2014-05-26 15:11:18 PDT
This doesn't happen in webkit2 so I'm closing it.