Bug 15499 - Resizing window causes parts of this SVG to disappear
Summary: Resizing window causes parts of this SVG to disappear
Status: RESOLVED DUPLICATE of bug 9582
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://dev.openlayers.org/sandbox/crs...
Keywords: NeedsReduction
Depends on:
Blocks:
 
Reported: 2007-10-13 23:48 PDT by Eric Seidel (no email)
Modified: 2007-10-14 06:21 PDT (History)
1 user (show)

See Also:


Attachments
HTML after page is fully loaded. (8.29 KB, text/html)
2007-10-14 00:23 PDT, Christopher Schmidt
no flags Details
html after switching to satellite (9.19 KB, text/html)
2007-10-14 00:24 PDT, Christopher Schmidt
no flags Details
HTML after switching back. (9.19 KB, text/html)
2007-10-14 00:24 PDT, Christopher Schmidt
no flags Details
closest thing i have to a reduction so far (5.08 KB, text/html)
2007-10-14 02:01 PDT, Christopher Schmidt
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2007-10-13 23:48:34 PDT
Resizing window causes parts of this SVG to disappear

http://dev.openlayers.org/sandbox/crschmidt/osm/examples/osm-layer.html

Resize the window and the map tiles disappear.

We're also repainting the entire window even though we don't need to (this is due to not respecting clips during layout I expect).
Comment 1 Eric Seidel (no email) 2007-10-13 23:49:42 PDT
Author suggests this might be similar to this report in his system:
http://trac.openlayers.org/ticket/758
Comment 2 Eric Seidel (no email) 2007-10-13 23:50:58 PDT
crschmidt>essentially, it seems like when we re-set the image.src attribute, if it's already loaded, it doesn't redrw the images
[1:49am] <crschmidt>Interrogating the interface via JS indicates that the src is correct, and a 'load' event fires
[1:50am] <crschmidt>but no image is visible
Comment 3 Christopher Schmidt 2007-10-14 00:22:27 PDT
Okay. I don't know if this is entirely related to the problem described in this ticket, but I think (based on behavior) it might be.

On http://crschmidt.net/projects/lite.html -- let all images load. Click 'satellite'. Let all images load. Click back to 'WMS'. No images are displayed.

Drag map. See nothing. Switch to satellite. Still nothing. Switch back to WMS, and images show up.

Attaching HTML, exported from Firebug, of the HTML that the browser should be displaying for each stage of the failing case.
Comment 4 Christopher Schmidt 2007-10-14 00:23:52 PDT
Created attachment 16658 [details]
HTML after page is fully loaded.

This is the HTML after the page is loaded, but before any other action is taken.
Comment 5 Christopher Schmidt 2007-10-14 00:24:18 PDT
Created attachment 16659 [details]
html after switching to satellite

HTML after switching to satellite.
Comment 6 Christopher Schmidt 2007-10-14 00:24:49 PDT
Created attachment 16660 [details]
HTML after switching back.

HTML after switching back to WMS. This is the first case where the failure occurs.
Comment 7 Christopher Schmidt 2007-10-14 02:01:02 PDT
Created attachment 16663 [details]
closest thing i have to a reduction so far

This is the closest thing i have to a reduction so far. The tiles get turned 'off' in the moveTo, and then they don't turn back on in the spiraltileload that calls draw().
Comment 8 Christopher Schmidt 2007-10-14 06:19:29 PDT
This is a duplicaae of #9582.
Comment 9 Mark Rowe (bdash) 2007-10-14 06:21:18 PDT

*** This bug has been marked as a duplicate of 9582 ***