QupZilla / qupzilla

Cross-platform Qt web browser
http://www.qupzilla.com
GNU General Public License v3.0
1.12k stars 347 forks source link

download manager leaves tab open #2572

Open hhgoten opened 6 years ago

hhgoten commented 6 years ago

When I open a pdf document , there is a window that asks me wether to save or open the document. If i say : open , in my case (xubuntu ) it opens fine in qpdfview. But when I close the pdf-viewer, I am left with a open, empty browser-tab. I marked "close download-manager after success" , but have not find a way around, that this tab is closed. If I open some pdf documents for e.g. from my bank, I have a tab for every document. Please give some advice to configure . yours sincerely waldi

nowrep commented 6 years ago

It works on some pages, and on some it doesn't. Can you please post some url where it can be reproduced?

ghost commented 6 years ago

e.g. here go to https://yandex.fr/search/?text=rtl8723ae+pdf&lr=143 then click on any pdf icon

ghost commented 6 years ago

btw about download manager: Here is always "Remaining few seconds"

hhgoten commented 6 years ago

@nowrep You are right, works on most sites. I did not realize that some sites work, because my problem was nasty, when I go to the mailbox of comdirect (my bank account) . At the moment, I don't know, how to give you a link to the site ( my account would be nice ;-)) ) Maybe you can do with your own account, if you got one . Another bank (Targo) works fine. Maybe its just the comdirect. How can I give some hints ? code of the page ?

nowrep commented 6 years ago

@Diablopc On yandex it doesn't work because it redirects to different host and the logic that is used to detect which tab to close (because there is no API in QtWebEngine to get the page that initiated the download) just fails in that case.