Package: iceweasel
Version: 3.0.6-1
Severity: normal

When saving automatically generated documents, the save as dialog
recognizes the type, probably from the Content-Type HTTP header and
displays the filter filter correctly (the list above the Save button
that contains, for example, "PDF document" or "All Files.") However, in
some cases, NO files at all will be shown in the list of files--just
directories, if any, even if there are files that match the filter (in
this case, .pdf files).

If you change the file filter to "All Files," then the .pdf files are
shown.

I believe this happens if the URL for an automatically generated document
does not end in .pdf as in the following hypothetical example:

  https://www.bank.com/statements?account=12345&statement=12345

Perhaps it is also the lack of or a faulty Content-Disposition header
field which triggers the problem as well.

My guess is that the file filter is built with extension of the URL or
the filename parameter of the Content-Disposition header field and in
these examples, the extension is absent.

When the extension is absent, the extension should be determined from
/etc/mime.types given the media type in the Content-Type header field. I
don't think this should be the default behavior, however. If an
extension is present in a suggested filename, it should be used.

By the way, the case in "PDF document" and "All Files" is inconsistent.
"All Files" should probably be "All files" according to the HIG:

http://library.gnome.org/devel/hig-book/stable/controls-option-menus.html.en

-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (600, 'stable'), (80, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages iceweasel depends on:
ii  debianutils             2.30             Miscellaneous utilities specific t
ii  fontconfig              2.6.0-3          generic font configuration library
ii  libc6                   2.7-18           GNU C Library: Shared libraries
ii  libglib2.0-0            2.16.6-2         The GLib library of C routines
ii  libgtk2.0-0             2.12.12-1~lenny1 The GTK+ graphical user interface 
ii  libnspr4-0d             4.7.1-4          NetScape Portable Runtime Library
ii  libstdc++6              4.3.2-1.1        The GNU Standard C++ Library v3
ii  procps                  1:3.2.7-11       /proc file system utilities
ii  psmisc                  22.6-1           Utilities that use the proc filesy
ii  xulrunner-1.9           1.9.0.11-0lenny1 XUL + XPCOM application runner

iceweasel recommends no packages.

Versions of packages iceweasel suggests:
pn  latex-xft-fonts <none>                   (no description available)
ii  libkrb53        1.6.dfsg.4~beta1-5lenny1 MIT Kerberos runtime libraries
pn  mozplugger      <none>                   (no description available)
pn  ttf-mathematica <none>                   (no description available)
pn  xfonts-mathml   <none>                   (no description available)
pn  xprint          <none>                   (no description available)
ii  xulrunner-1.9-g 1.9.0.11-0lenny1         Support for GNOME in xulrunner app

-- no debconf information

-- 
Bill Wohler <[email protected]>  http://www.newt.com/wohler/  GnuPG ID:610BD9AD



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to