From 2dc0e29647d3c1532a54a3514c72de8562c53ddf Mon Sep 17 00:00:00 2001 From: Jacob Bakarich Date: Wed, 20 Nov 2024 14:07:26 -0700 Subject: [PATCH 1/9] Remove displayRegion transform ref #2612 - Remove display region transform in `setFlip()` as it is not needed for flipping and was overriding existing rotation transforms. --- src/navigator.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/navigator.js b/src/navigator.js index 3329ed14..0a984ab3 100644 --- a/src/navigator.js +++ b/src/navigator.js @@ -347,7 +347,6 @@ $.extend( $.Navigator.prototype, $.EventSource.prototype, $.Viewer.prototype, /* }, setDisplayTransform: function(rule) { - setElementTransform(this.displayRegion, rule); setElementTransform(this.canvas, rule); setElementTransform(this.element, rule); }, From 04211fbb27928251bca67cf00a5fae683f8c9880 Mon Sep 17 00:00:00 2001 From: Ian Gilman Date: Thu, 21 Nov 2024 09:58:12 -0800 Subject: [PATCH 2/9] Changelog for #2619 --- changelog.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/changelog.txt b/changelog.txt index f8d2cfec..5f91b0a1 100644 --- a/changelog.txt +++ b/changelog.txt @@ -8,6 +8,7 @@ OPENSEADRAGON CHANGELOG * Fixed: If you switched from WebGL drawer to canvas drawer, it didn't clean up properly (#2570 @pearcetm) * Fixed: TiledImage.setClip would sometimes leave tiles unloaded (#2590 @pearcetm) * Fixed: The WebGL drawer didn't support viewportMargins (#2600, #2606 @pearcetm) +* Fixed: If you set viewport rotation before flip, the navigator display region would be drawn wrong (#2619 @jbakarich) 5.0.0: From 5438fd65e135a88305814d32a5ed17bc2da56e80 Mon Sep 17 00:00:00 2001 From: sbarex Date: Tue, 26 Nov 2024 23:38:13 +0100 Subject: [PATCH 3/9] Update webgldrawer.js Fixed a bug that caused a completely white image to be rendered when two-pass rendering mode was requested (required when multiple images, using transparency, or in debug mode). --- src/webgldrawer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webgldrawer.js b/src/webgldrawer.js index fa61afbc..52c4d109 100644 --- a/src/webgldrawer.js +++ b/src/webgldrawer.js @@ -449,7 +449,7 @@ gl.bindBuffer(gl.ARRAY_BUFFER, this._secondPass.bufferTexturePosition); gl.vertexAttribPointer(this._secondPass.aTexturePosition, 2, gl.FLOAT, false, 0, 0); gl.bindBuffer(gl.ARRAY_BUFFER, this._secondPass.bufferOutputPosition); - gl.vertexAttribPointer(this._firstPass.aOutputPosition, 2, gl.FLOAT, false, 0, 0); + gl.vertexAttribPointer(this._secondPass.aOutputPosition, 2, gl.FLOAT, false, 0, 0); // Draw the quad (two triangles) gl.drawArrays(gl.TRIANGLES, 0, 6); From 9b96707decbac98463c4deb43146f495e86f3b30 Mon Sep 17 00:00:00 2001 From: Ian Gilman Date: Mon, 2 Dec 2024 09:51:24 -0800 Subject: [PATCH 4/9] Changelog for #2620 --- changelog.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/changelog.txt b/changelog.txt index 5f91b0a1..88739b12 100644 --- a/changelog.txt +++ b/changelog.txt @@ -9,6 +9,7 @@ OPENSEADRAGON CHANGELOG * Fixed: TiledImage.setClip would sometimes leave tiles unloaded (#2590 @pearcetm) * Fixed: The WebGL drawer didn't support viewportMargins (#2600, #2606 @pearcetm) * Fixed: If you set viewport rotation before flip, the navigator display region would be drawn wrong (#2619 @jbakarich) +* Fixed: In some cases, the WebGL drawer would draw the image in white (#2620 @sbarex) 5.0.0: From a5987db8d594fe0dbb3fb61f6ec692c3245352dd Mon Sep 17 00:00:00 2001 From: Tom Date: Wed, 4 Dec 2024 16:41:24 -0500 Subject: [PATCH 5/9] fix #2623 --- src/viewer.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/viewer.js b/src/viewer.js index a5ad1921..2102100b 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -2551,8 +2551,7 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype, var currentPixelDensityRatio = $.getCurrentPixelDensityRatio(); if (previusPixelDensityRatio !== currentPixelDensityRatio) { $.pixelDensityRatio = currentPixelDensityRatio; - this.world.resetItems(); - this.forceRedraw(); + this.forceResize(); } }, From 1843bbd89c91f70d22bb44f1a8492a7a4922a5ad Mon Sep 17 00:00:00 2001 From: Tom Date: Wed, 4 Dec 2024 16:42:25 -0500 Subject: [PATCH 6/9] update docs --- src/viewer.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/viewer.js b/src/viewer.js index 2102100b..e1ca0a1a 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -2542,8 +2542,7 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype, }, /** - * Update pixel density ratio, clears all tiles and triggers updates for - * all items if the ratio has changed. + * Update pixel density ratio and forces a resize operation. * @private */ _updatePixelDensityRatio: function() { From e9dd9e9dfcaf2ae7741271a86b4a514318c46352 Mon Sep 17 00:00:00 2001 From: Ian Gilman Date: Fri, 6 Dec 2024 09:32:44 -0800 Subject: [PATCH 7/9] Changelog for #2627 --- changelog.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/changelog.txt b/changelog.txt index 88739b12..ce2558d9 100644 --- a/changelog.txt +++ b/changelog.txt @@ -10,6 +10,7 @@ OPENSEADRAGON CHANGELOG * Fixed: The WebGL drawer didn't support viewportMargins (#2600, #2606 @pearcetm) * Fixed: If you set viewport rotation before flip, the navigator display region would be drawn wrong (#2619 @jbakarich) * Fixed: In some cases, the WebGL drawer would draw the image in white (#2620 @sbarex) +* Fixed: If the user changed the page zoom or moved the window a different monitor, the image would disappear (#2627 @pearcetm) 5.0.0: From 480de92d0a13f932d5b6879c8ba85d6593da5417 Mon Sep 17 00:00:00 2001 From: Ian Gilman Date: Mon, 9 Dec 2024 09:31:27 -0800 Subject: [PATCH 8/9] Version 5.0.1 --- CITATION.cff | 4 ++-- changelog.txt | 2 +- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index 4704b183..a24373b9 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -35,5 +35,5 @@ keywords: - high-resolution - iiif license: BSD-3-Clause -version: 5.0.0 -date-released: 2024-08-14 +version: 5.0.1 +date-released: 2024-11-09 diff --git a/changelog.txt b/changelog.txt index ce2558d9..02be9ba8 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,7 +1,7 @@ OPENSEADRAGON CHANGELOG ======================= -5.0.1: (in progress...) +5.0.1: * Improved overlay handling so it plays better with other libraries (#2582 @BeebBenjamin) * WebGLDrawer now supports the imageSmoothingEnabled option (#2615 @pearcetm) diff --git a/package.json b/package.json index 728ee569..7489ea2d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "openseadragon", - "version": "5.0.0", + "version": "5.0.1", "description": "Provides a smooth, zoomable user interface for HTML/Javascript.", "keywords": [ "image", From c8c7b481b8c12e168f20ee3b32aaeafb734b1165 Mon Sep 17 00:00:00 2001 From: Ian Gilman Date: Mon, 9 Dec 2024 09:37:19 -0800 Subject: [PATCH 9/9] Started on version 6 --- changelog.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/changelog.txt b/changelog.txt index 02be9ba8..7635b993 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,6 +1,8 @@ OPENSEADRAGON CHANGELOG ======================= +6.0.0: (in progress...) + 5.0.1: * Improved overlay handling so it plays better with other libraries (#2582 @BeebBenjamin)