openmicroscopy/openmicroscopy — pull request #1545 by aleksandra-tarkowska (2013-09-25 08:54:56+00:00)
Title: 6850 loading tile in big image viewer (rebased onto dev_4_4)

This is the same as gh-1529 but rebased onto dev_4_4.

----

Test this PR on slower connections between web & server (perhaps development server is the best to test) with FF, IE, Chrome

1. Load a big image, grab red box in bird's eye, click and drag it around. Now, it should delay moving viewer until you stop moving mouse (you don't need to release mouse button). After 300ms viewer should move to the right location. See https://trac.openmicroscopy.org.uk/ome/ticket/6850
2. Previously every time user clicked zoom button or spin the mouse wheel all tiles were loaded. After many seconds if not a few minutes, final zoom level was eventually displayed. Now zooming event should be delayed by 300ms and only final level should request tiles.

All requests should be easily accessible on the webserver access log.

Currently delay time is set to 300 ms, but it could be changed if users see that too short.