[Bugs] #4471 Browse UNSP: Can't close saved pdf in re-opened browse session
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Sat Mar 23 04:24:11 EDT 2013
#4471: Can't close saved pdf in re-opened browse session
------------------------------------------+---------------------------------
Reporter: carrott | Owner: manuq
Type: defect | Status: new
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team
Component: Browse | Version: Unspecified
Severity: Unspecified | Keywords:
Distribution: OLPC | Status_field: Unconfirmed
------------------------------------------+---------------------------------
Description changed by carrott:
Old description:
> 13.2.0 Build 1, XO-4, Browse 149.1
>
> Open Browse[[BR]]
> Navigate to a PDF such as [[BR]]
> Click save to journal[[BR]]
> Close Browse[[BR]]
> Reopen Browse[[BR]]
> Observe that PDF tab cannot be closed and the below error in the
> log[[BR]]
>
> {{{
> Traceback (most recent call last):
> File "/home/olpc/Activities/Browse.activity/browser.py", line 307, in
> __tab_close_cb
> tab_page.cancel_download()
> File "/home/olpc/Activities/Browse.activity/pdfviewer.py", line 415, in
> cancel_download
> self._download.cancel()
> AttributeError: 'PDFTabPage' object has no attribute '_download'
> }}}
>
> This doesn't happen if you do not save the pdf to the journal or you
> close the pdf tab before closing browse.
New description:
13.2.0 Build 1, XO-4, Browse 149.1
Open Browse[[BR]]
Navigate to a PDF such as
http://www.beehive.govt.nz/sites/all/files/Novopay_Technical_Review.pdf
[[BR]]
Click save to journal[[BR]]
Close Browse[[BR]]
Reopen Browse[[BR]]
Observe that PDF tab cannot be closed and the below error in the log[[BR]]
{{{
Traceback (most recent call last):
File "/home/olpc/Activities/Browse.activity/browser.py", line 307, in
__tab_close_cb
tab_page.cancel_download()
File "/home/olpc/Activities/Browse.activity/pdfviewer.py", line 415, in
cancel_download
self._download.cancel()
AttributeError: 'PDFTabPage' object has no attribute '_download'
}}}
This doesn't happen if you do not save the pdf to the journal or you close
the pdf tab before closing browse.
--
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/4471#comment:1>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list