ayselafsar / dicomviewer

DICOM Viewer in Nextcloud
https://apps.nextcloud.com/apps/dicomviewer
GNU Affero General Public License v3.0
230 stars 53 forks source link

DICOMViewer doesn´t open on iOS #116

Open mafi85 opened 5 months ago

mafi85 commented 5 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to Nextcloud shared folder on Mobile Device (Iphone)
  2. Click on Open DICOM

Expected behavior The DICOMViewer doesn't open on mobile Device like an iPhone. Only a blank black site is visible

Screenshots

Client details:

**DICOM viewer app version: 2.1.1

**Nextcloud version: 28

PReichetanz commented 2 months ago

Hi @mafi85, I've encountered a similar issue. In our case, DICOMViewer wanted to open the DICOM file with a popup, but Safari was automatically blocking popups from being opened. Unfortunately, there was no hint (or only a very hidden one) from Safari that there is a popup being blocked.

Going to the iPhone settings and allowing Safari to open popups fixed the issue for us here.

Anyway, I don't think that we want our users to allow popups in general just to make our application work, so there should be another way: either not using popups at all or making Safari informing the user and asking whether to open the popup or not.

I would be happy to hear how you approached this.