Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[web][bug] incorrect aspect ratio and missing image "explorer" window in preview tab #6014

Open
rgozim opened this issue Apr 22, 2019 · 2 comments

Comments

@rgozim
Copy link
Member

rgozim commented Apr 22, 2019

Original forum post : https://www.openmicroscopy.org/community/viewtopic.php?f=4&t=8728

For a public user without rendering settings for an image, the preview pane aspect ratio is incorrect and the navigation thumbnail window is missing.

Steps to reproduce:

  • create public user group
  • add an admin and a non-admin user to the public group
  • with the admin user import an image with an odd aspect ratio, choosing to skip thumbnail generation
  • using OMERO.web, login as public user and view the imported image in the preview pane
  • note the aspect ratio of the preview image under user settings

Screenshot 2019-04-22 at 13 44 48

@will-moore
Copy link
Member

Interestingly, I don't see the same issue if I import the image normally (without --skip thumbnails).

If I import 1 image with --skip thumbnails and 1 normally, then delete rendering defs on both images with omero delete Image/RenderingDef:79953. Then view them as public user as above, this forces the public user to create rdef and thumbnail, but ONLY the thumbnail for image imported with --skip thumbnails shows the problem above.

@will-moore
Copy link
Member

Also, if I delete RenderingDefs, then the Owner of the image is the first to view it (and create thumbs etc), now I can no-longer create the wrong-sized thumbnail for public user, even by deleting the RenderingDefs again and viewing the image first as public user as I did above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants