Comment 18 for bug 219385

Revision history for this message
Marcus Haslam (marcus-haslam) wrote : Re: [Bug 219385] Re: File filters can make file selection dialog too wide for screen

I'm out of the office until 1st August.

On 30 Apr 2011, at 19:06, Arek Olek <email address hidden> wrote:

> It is still there in Natty as well.
>
> --
> You received this bug notification because you are a member of
> Papercutters, which is subscribed to One Hundred Paper Cuts.
> https://bugs.launchpad.net/bugs/219385
>
> Title:
>  File filters can make file selection dialog too wide for screen
>
> Status in GTK+ GUI Toolkit:
>  Fix Released
> Status in One Hundred Paper Cuts:
>  Fix Committed
> Status in Ubuntu:
>  Invalid
> Status in “gtk+2.0” package in Ubuntu:
>  Fix Committed
> Status in “gtk+2.0” package in CentOS:
>  New
>
> Bug description:
>  Binary package hint: gnome-desktop-environment
>
>  This bug occurs in Firefox but is likely related to the generic Gnome
>  file-selection-dialog rather than application specific.
>
>  In this case our website is calling OS file dialog via Firefox and
>  JS/Flash, passing in a filter with a description (eg. "Photos and
>  Videos"), and file extension-matching pattern (eg.
>  "*.mov;*.mpg;*.avi;*.jpg")
>
>  Windows dialogs tend to truncate this list, and expand only the drop-
>  down when selected, open and active. Ubuntu/Gnome appears to make the
>  dialog width match the width of the filter drop-down, which is quite
>  long due to the number of file types and mixed-case scenarios (eg.
>  *.jpg;*.JPG)
>
>  Due to the amount of file formats we're filtering based on, the
> dialog
>  box can easily grow wider than the user's display permits.
>
>  See screenshot for illustration:
>  http://farm4.static.flickr.com/3215/2403694395_ca70740726.jpg
>
>  Expected behavior would be to truncate the file filter list display
>  past a certain point to prevent dialog box from growing too large.
>
>  Our testing confirms this behavior in both Ubuntu 7.10 and 8.04RC.
>
>  This bug prevents Ubuntu users from being able to use the advanced
>  upload tool on Flickr.com from Firefox.