rafatosta / zapzap

WhatsApp desktop application written in Pyqt6 + PyQt6-WebEngine.
https://rtosta.com/zapzap-web/
GNU General Public License v3.0
86 stars 2 forks source link

Feature request: setting to open downloaded files directly #86

Closed herzenschein closed 2 years ago

herzenschein commented 2 years ago

My mother, who isn't quite tech literate, has been using the web version of Whatsapp on her Kubuntu machine for a while and I tried introducing ZapZap to her.

Her main complaint is that its behavior upon clicking a downloadable file is different: via web browser, a click downloads e.g. a PDF and automatically opens it in Okular; with ZapZap, she gets a Save File dialog instead, which she doesn't know how to handle very well yet.

Would be nice if there was a setting I could enable for her so that clicking downloadable files would open them instead of asking where to save them. I understand the security implications of such a feature.

From a brief search it seems the right Qt API for this would be QDesktopServices.

rafatosta commented 2 years ago

Com certeza estará na próxima versão.

A ideia que tive foi:

A forma de abrir mencionado já utilizo para abrir links no navegador padrão do sistema.