platform icon indicating copy to clipboard operation
platform copied to clipboard

Bug: PDF print preview doesn't load on front

Open AbigailDawson opened this issue 1 year ago • 6 comments

Steps to reproduce:

  1. Click print to PDF on any object

Actual Result

Print preview shows loading spiral, then goes straight to the download dialog with no other options.

Expected Result

Print preview should load with options to print, download, expand etc.

AbigailDawson avatar Feb 02 '25 16:02 AbigailDawson

Connected to Huly®: UBERF-9343

huly-github-staging avatar Feb 02 '25 16:02 huly-github-staging

Alexander Onnikov may that be due to the fact we are now using a separate datalake domain?

lexiv0re avatar Feb 03 '25 12:02 lexiv0re

Alexey Zinovyev probably this is due to content-disposition attachment header, instead of showing the file it downloads it.

aonnikov avatar Feb 03 '25 12:02 aonnikov

This header was added to fix problem with downloads from another domain, but in this place we want opposite behavior - show instead of downloading 😒

aonnikov avatar Feb 03 '25 13:02 aonnikov

Should we allow altering the default with a query parameter?

lexiv0re avatar Feb 03 '25 13:02 lexiv0re

yeah, maybe … it might be not easy to do because we use one URL for many purposes, will take a look a bit later

aonnikov avatar Feb 03 '25 13:02 aonnikov