The issue seems to be twofold:

 - the link to the PDF explicitly specifies target="_blank", this is a
bad practice regardless, which assumes that the PDF file will be
rendered in the tab itself (which should eventually be the case, see bug
#1331059)

 - state saving in the browser currently remembers the last visible URL
rather than the last committed URL, this will be fixed with bug #1353143

** Changed in: webbrowser-app (Ubuntu)
       Status: New => Confirmed

** Also affects: webbrowser-app
   Importance: Undecided
       Status: New

** Changed in: webbrowser-app
       Status: New => Confirmed

** Changed in: webbrowser-app
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
WebApps bug tracking, which is subscribed to webbrowser-app.
https://bugs.launchpad.net/bugs/1390529

Title:
  Browser remembers previous download and tries to visit on next start

Status in Web Browser App:
  Confirmed
Status in “webbrowser-app” package in Ubuntu:
  Confirmed

Bug description:
  I previously opened a pdf the last time I used the web browser, now
  some days later, opening the browser for the first time today it
  spawned content hub to read the pdf which I'd previously downloaded.

  Steps to reproduce.

  1) Install pdfjs from the store to enable you to open pdf files on
  device

  2) On the device visit this page in the browser http://www.powerpc-
  notebook.org/2014/10/presentation-slides-used-at-linux-day-2014/
  (short url http://bit.ly/1u6DRQu )

  3) Click the link "download LinuxDay 2014 Milan presentation slides"
  which is http://www.powerpc-notebook.org/wp-
  content/uploads/2014/10/LinuxDay2014_Mi_presentation_pub_en.pdf (short
  url http://bit.ly/1GxC4ZX )

  4) At this point you get a content hub popup, choose pdfjs and happily
  view the pdf

  5) Time passes, reboot phone

  6) Open browser, look away for a few seconds, get a content hub
  dialog, be surprised that you don't get the browser.

  ProblemType: Bug
  DistroRelease: Ubuntu RTM 14.09
  Package: webbrowser-app 0.23+14.10.20141028~rtm-0ubuntu1
  Uname: Linux 3.4.67 armv7l
  ApportVersion: 2.14.7-0ubuntu8
  Architecture: armhf
  Date: Fri Nov  7 16:09:27 2014
  InstallationDate: Installed on 2014-11-07 (0 days ago)
  InstallationMedia: Ubuntu Utopic Unicorn (development branch) - armhf 
(20141107-030205)
  SourcePackage: webbrowser-app
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~ubuntu-webapps-bugs
Post to     : ubuntu-webapps-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-webapps-bugs
More help   : https://help.launchpad.net/ListHelp

Reply via email to