VM

application/pdf button popping up the whole document

Bug #741164 reported by Uday Reddy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VM
Fix Released
High
Uday Reddy

Bug Description

When a button is meant to be displayed for application/pdf, the whole document is being displayed in a separate window! The backtrace shows

  vm-decode-mime-layout(#<overlay from 5697 to 5698 in test-mime Presentation> t)
  vm-mime-display-generic(#<overlay from 5697 to 5698 in test-mime Presentation>)
  vm-mime-frob-image-xxxx(#<overlay from 5697 to 5698 in test-mime Presentation> "-thumbnail" "80x80")
  vm-mime-display-button-image([("image/png") ("application/pdf" "name=\"College newsletter - contributor guidance.doc.pdf\"") "base64" nil "College newsletter - contributor guidance.doc.pdf" ("attachment" "filename=College newsletter - contributor guidance.doc.pdf" "size=96184" "creation-date=Mon, 20 Dec 2010 13:01:23 GMT" "modification-date=Mon, 20 Dec 2010 13:01:23 GMT") ("attachment" "filename=\"College newsletter - contributor guidance.doc.pdf\"" "size=96184" "creation-date=\"Mon, 20 Dec 2010 13:01:23 GMT\"" "modification-date=\"Mon, 20 Dec 2010 13:01:23 GMT\"") #<marker at 1844131 in test-mime> #<marker at 1844532 in test-mime> #<marker at 1844533 in test-mime> #<marker at 1974469 in test-mime> nil <<c>> <<m>> nil nil nil])
* vm-mime-display-button-application/pdf([("image/png") ("application/pdf" "name=\"College newsletter - contributor guidance.doc.pdf\"") "base64" nil "College newsletter - contributor guidance.doc.pdf" ("attachment" "filename=College newsletter - contributor guidance.doc.pdf" "size=96184" "creation-date=Mon, 20 Dec 2010 13:01:23 GMT" "modification-date=Mon, 20 Dec 2010 13:01:23 GMT") ("attachment" "filename=\"College newsletter - contributor guidance.doc.pdf\"" "size=96184" "creation-date=\"Mon, 20 Dec 2010 13:01:23 GMT\"" "modification-date=\"Mon, 20 Dec 2010 13:01:23 GMT\"") #<marker at 1844131 in test-mime> #<marker at 1844532 in test-mime> #<marker at 1844533 in test-mime> #<marker at 1974469 in test-mime> nil <<c>> <<m>> nil nil nil])

Tags: 7.19 8.0 mime

Related branches

Revision history for this message
Uday Reddy (reddyuday) wrote :

This problem is not there in 8.1.93a.

Revision history for this message
Uday Reddy (reddyuday) wrote :

The problem may be with images in general. All images seem to be getting auto-displayed.

Revision history for this message
Uday Reddy (reddyuday) wrote :

It works in 8.1.93a by accident. It is assumed there that the internal display of the image will work. If it doesn't, nothing more is done, whereas an external viewer should be tried.

Uday Reddy (reddyuday)
Changed in vm:
importance: Medium → High
Revision history for this message
Uday Reddy (reddyuday) wrote :

The function vm-mime-display-generic used for displaying thumbnails tries both internal and external viewers.

Fixed in revision 1159.

Changed in vm:
status: Triaged → Fix Committed
Uday Reddy (reddyuday)
tags: added: 7.19 8.0
Uday Reddy (reddyuday)
Changed in vm:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.