Yeah, digging a little more, neither the startDownload signal or
function exists.  Looks like code copied and pasted from Browser.qml.
But webapps don't need the same download support (they just care about
exporting to a ContentHub peer rather than internally downloading).

I tried to hack a fix together, but I couldn't make it work.  I don't
know ContentHub very well.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1629466

Title:
  Can't open a PDF from a webapp

Status in webbrowser-app package in Ubuntu:
  New

Bug description:
  And potentially any Content Hub file?

  When trying to open pdfs in the fastmail or reddit webapps, I get the
  following and the pdf never opens:

  
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Content/ContentPeerPicker13.qml:194:
 TypeError: Cannot read property 'peers' of null
  file:///usr/share/webbrowser-app/webcontainer/WebappWebview.qml:219: 
ReferenceError: startDownload is not defined

  I'm assuming it's the second message that is fatal, so I've opened
  against webbrowser-app.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1629466/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to