Closed vipul-21 closed 4 years ago
I have tested on rbk-dev
with:
chaise_pull_checkout annotation-list
openseadragon_pull_checkout Screenshot
chaise_install
openseadragon_install
I have tested a czi
and a tif
file.
In both I see the Show Annotations
and Show Channels
menus disabled. Is it intentionally?
The Take a Screenshot
for the tif
file does not work (the file is not saved). It adds just the watermark as you can see in:
For the czi
file, the file can be saved:
I'm not sure if the position of the watermark in both the tif
and czi
files is the right one.
@svoinea Updated the PR. 1) The Show Annotations and Show Channels menus were disabled because there were no annotations or channels to show for. 2) I have fixed tiff screenshot. 3) The position of watermark is also fixed. Also, since there are no available annotation on the dev server currently, this is the link for the screenshot with svg overlay.
I have tried again the test on rbk-dev
with the chaise annotation-list
and openseadragon Screenshot
branches.
For the *.tiff
files, the download still seems not working.
The watermark should be placed on the bottom left corner of the viewer
. As far as I know, that was a requirement. See in the below screenshots the differences between the watermark on rbk-dev
and rbk-www
:
Also, it seems that the scalebar
has disappeared from the screenshot.
I don't know what you mean by no channels
. The .czi
file with the RID=14-47WE
has for example a channel.
Also, if there are no annotations
, should it not be an option to create new annotations?
@svoinea I am trying to fix the screenshot issue. Can we please try and merge this PR. This PR does not have the new screenshot feature.
@svoinea I've updated the code. Following are the links which were tested:
The screenshot for the above mentioned scenarios is working fine.
Regarding other issues mentioned in above comments:
1) Channel list visibility issue- resolved in this PR.
2) Scale bar not present in the screenshot - resolved in this updated PR.
3) @hongsudt If there are no annotations
, should it not be an option to create new annotations ?
Please double check with @hongsudt:
My understanding is:
viewer
and not to the screen
.Take a Screenshot
button.@svoinea Can you please share the details of the browser and OS you're seeing the issue for second example. In my browser(chrome Version 79.0.3945.130), it is working fine.
@vipul-21 It happens on Linux
with Firefox
version 68
.
I'm not sure why on my MAC
with Chrome
version 79
, I'm getting a Network error
while clicking the Take a Screenshot
button.
Mac
works fine for chrome, Firefox and Safari.Windows
works fine for chrome and Firefox. Edge
is showing the same behavior as mentioned by Serban i.e. Second example leaves the watermark on the screen once you click the Take a Screenshot button.
The reason is Edge and IE don't support dataURL as the href of an anchor tag. While performing regressing testing(https://github.com/informatics-isi-edu/chaise/wiki/Viewer-regression-tests#thumbnail-should-be-visible-based-on-file-type) on this branch I had some doubts and issue. Need some help with these:
Thumbnail
Test Case 4,5 - what is a thumbnail?
A thumbnail is a miniature of the image and it appears usually in the upper right corner for the *.czi
files. See case 5 when you hover towards the upper right corner (remove ~vipul
from the URL)
Scale bar
what does it look like? It would be better to have a sample image which shows what it is.
In case 4 you can see a scalebar in the bottom right corner of the viewer. Usually it is NOT present in the *.tiff
files. For the *.czi
files it is taken from the ImageProperties.xml
file.
In order to build some test cases, manual modifications were made on rbk-dev
database and the ImageProperties.xml
file. After a production release (that was done pretty recently) we forward the content of the database and files to the rbk-dev
. So don't worry if the manual modifications were overwritten and some test cases are not working any more.
Test Case 8 - The testcase states that the should not show whereas it is showing.
Test Case 9 - the scale shows 1µm instead of 50µm which is stated in the testcase
Test Case 12 - scalebar show 1 mm instead of 2mm which is stated in the testcase.
Test Case 13 - unclear what is mean?
The scalebar can be taken from the ImageProperties.xml
file and can be overwritten by the value of the url
that is sent to the OpenseaDragon
Screenshot
what is attribution?
Attribution is the watermark (usually the value is GUDMAP
). It should appear only on the screenshot on the right bottom corner of the VIEWER
. So, it is relative to the VIEWER
. Once you move the VIEWER
, the watermark will follow it.
Test Case 17,18,19 - "zoom all out and move the image to occupy the upper right quarter of the canvas", what does it mean? How do you zoom out and show the move the image to the upper right quarter?
After you zoom, while holding the mouse on the VIEWER
, you move the mouse.
Test Case 21,24 - scale not coming in the screenshot, whereas the testcase states that it should.
Test Case 28 - scale is shown in the screenshot, whereas the testcase states that it would not be.
Multi-channels Test Case 29, 30 - the links mentioned to test it are not working with my username (404 error). Need to change the link from www to dev Test Case 32 - does annotation button mean show/hide annotation, need a link for an image with no annotations Issue - click on show annotation -> click on highlight annotation -> click on hide annotation ==> the highlight annotation is still active. Should the highlight annotation be deselected? Test Case 34 - "Under all Display = All situation, when users click the hide button of an item, the annotation should disappear on the openseadragon-viewer and the item should remain emphasized and the eye icon should be crossed out" what does this mean? Test Case 39 - the 'X' button which empties the search box is not placed properly, i.e. it is displayed below the search content outside the searchbox Test Case 41 - Issue - click show all -> hide anyone of the annotations ==> should the "show all" still be ticked?
Links used by me along with testcase numbers Test Case 1 - https://dev.rebuildingakidney.org/~brastogi/chaise/viewer/#2/Gene_Expression:Image/id=16-1ZYT?waterMark=gudmap.org Test Case 2 - https://dev.rebuildingakidney.org/~brastogi/chaise/record/#2/Gene_Expression:Image/RID=14-3RDT Test Case 3 - https://dev.gudmap.org/~brastogi/chaise/record/#2/Gene_Expression:Image/RID=16-2GYG Test Case 4 - https://dev.rebuildingakidney.org/~brastogi/chaise/viewer/#2/Gene_Expression:Image/id=16-2GN8?waterMark=rebuildingakidney.org&meterScaleInPixels=3624000 Test Case 5 - https://dev.gudmap.org/~brastogi/chaise/viewer/#2/Gene_Expression:Image/id=16-2GM0?waterMark=gudmap.org Test Case 6 - https://dev.rebuildingakidney.org/~brastogi/chaise/record/#2/Gene_Expression:Image/RID=14-47YP Test Case 7 - https://dev.rebuildingakidney.org/~brastogi/chaise/record/#2/Gene_Expression:Image/RID=14-3RDT Test Case 8 - https://dev.rebuildingakidney.org/~brastogi/chaise/record/#2/Gene_Expression:Image/RID=16-2GN8 Test Case 9 - https://dev.rebuildingakidney.org/~brastogi/chaise/record/#2/Gene_Expression:Image/RID=14-47ZM Test Case 10 - https://dev.rebuildingakidney.org/~brastogi/chaise/record/#2/Gene_Expression:Image/RID=16-2H5C Test Case 11 - https://dev.rebuildingakidney.org/~brastogi/chaise/record/#2/Gene_Expression:Image/RID=16-2GN8 Test Case 12 - https://dev.gudmap.org/~brastogi/chaise/record/#2/Gene_Expression:Image/RID=16-2GM0 Test Case 13 - https://dev.rebuildingakidney.org/~brastogi/chaise/record/#2/Gene_Expression:Image/RID=14-47ZA Test Case 14 - https://dev.gudmap.org/~brastogi/chaise/record/#2/Gene_Expression:Image/RID=16-2GM0 Test Case 15 - https://dev.rebuildingakidney.org/~brastogi/chaise/record/#2/Gene_Expression:Image/RID=14-3RDT Test Case 16 - https://dev.gudmap.org/~brastogi/chaise/record/#2/Gene_Expression:Image/RID=16-2GYG Test Case 17 - https://dev.gudmap.org/~brastogi/chaise/record/#2/Gene_Expression:Image/RID=16-2GM0 Test Case 18 - https://dev.rebuildingakidney.org/~brastogi/chaise/record/#2/Gene_Expression:Image/RID=14-3RDT Test Case 19 - https://dev.gudmap.org/~brastogi/chaise/record/#2/Gene_Expression:Image/RID=16-2GYG Test Case 20 - https://dev.gudmap.org/~brastogi/chaise/record/#2/Gene_Expression:Image/RID=16-2GM0 Test Case 21 - https://dev.rebuildingakidney.org/~brastogi/chaise/record/#2/Gene_Expression:Image/RID=16-2H5C Test Case 22 - https://dev.gudmap.org/~brastogi/chaise/record/#2/Gene_Expression:Image/RID=16-2GYG Test Case 23 - https://dev.gudmap.org/~brastogi/chaise/record/#2/Gene_Expression:Image/RID=16-2GM0 Test Case 24 - https://dev.rebuildingakidney.org/~brastogi/chaise/record/#2/Gene_Expression:Image/RID=16-2H5C Test Case 25 - https://dev.gudmap.org/~brastogi/chaise/record/#2/Gene_Expression:Image/RID=16-2GYG Test Case 26 - https://dev.rebuildingakidney.org/~brastogi/chaise/record/#2/Gene_Expression:Image/RID=14-47YP Test Case 27 - https://dev.rebuildingakidney.org/~brastogi/chaise/record/#2/Gene_Expression:Image/RID=14-3RDT Test Case 28 - https://dev.rebuildingakidney.org/~brastogi/chaise/record/#2/Gene_Expression:Image/RID=16-2GN8 Test Case 29 - https://dev.gudmap.org/~brastogi/chaise/record/#2/Gene_Expression:Image/RID=16-2GM0 Test Case 30 - https://dev.gudmap.org/~brastogi/chaise/record/#2/Gene_Expression:Image/RID=16-2GYG Test Case 31 - https://dev.rebuildingakidney.org/~brastogi/chaise/record/#2/Gene_Expression:Image/RID=14-3RDT Test Case 32 - https://dev.rebuildingakidney.org/~brastogi/chaise/viewer/#2/Gene_Expression:Image/id=16-2EC6?url=/iiif/2/https%3A%2F%2Fderiva-imaging.isi.edu%2Fimages%2F20160707-hKDCS19_133-JAM-0-30-000-3.tif/info.json&url=/~vipul/chaise-demo/data/20160707-hKDCS19-133-JAM-0-30-00_scene3_fixed.svg&channelName=TL%20Brightfield&meterScaleInPixels=455504&waterMark=GUDMAP.org
Scale bar is something we have had issues with before and configuration will depend on correct metadata. Would be good to sort through and make sure that is it behaving properly in all cases, and to be clear what it means to behave properly. So view this all with some suspicion!
Carl
Dr. Carl Kesselman Dean’s Professor, Epstein Department of Industrial and Systems Engineering Fellow, Information Sciences Institute Viterbi School of Engineering Professor,
Preventive Medicine Keck School of Medicine
University of Southern California 4676 Admiralty Way, Suite 1001, Marina del Rey, CA 90292-6695 Phone: +1 (310) 448-9338 Email: carl@isi.edu Web: http://www.isi.edu/~carl On May 20, 2020, 3:19 PM -0700, Bhavya Rastogi notifications@github.com, wrote:
While testing this branch I had some doubts and issue. Need some help with these: 4,5 - what is a thumbnail Scalebar - what does it look like? 8 - the scalebar is showing where as the testcase says that it shouldn't 9 - the scale shows 1µm instead of 50µm 12 - scalebar show 1 mm instead of 2mm 13- unclear what is mean? what is attribution? 17,18,19 - what does it mean? 21,24 - scale not coming in the screenshot 28 - scale shown 29, 30 - not working with my username (404 error) 32 - does annotation button mean show/hide annotation, need a link for an image with no annotations Issue - show annotation -> highlight annotation -> hide annotation ==> the highlight annotation is still active. Should the highlight annotation be deselected? "Under all Display = All situation, when users click the hide button of an item, the annotation should disappear on the openseadragon-viewer and the item should remain emphasized and the eye icon should be crossed out" what does this mean? 39 - the 'X' button is not placed properly 41 - Issue - click show all -> hide anyone of the annotations ==> should the "show all" still be ticked?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/informatics-isi-edu/openseadragon-viewer/pull/9#issuecomment-631757958, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA3OGXSZTOWTP3Z4BRI3VJ3RSRJNNANCNFSM4J64SBLA.
This PR includes the screenshot of the scene with the svg overlay. @svoinea The code for adding the watermark at the bottom left of the screenshot and the scale has been modified. I have commented some part of it. Please do take a look at it.