After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 531654 - File Selection Dialog is too long to fit into screen.
File Selection Dialog is too long to fit into screen.
Status: RESOLVED DUPLICATE of bug 527499
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
2.12.x
Other All
: Normal minor
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
: 566784 (view as bug list)
Depends on: 554132
Blocks:
 
 
Reported: 2008-05-06 03:21 UTC by Ye Liu
Modified: 2009-01-14 20:36 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Screenshot of the problem (56.38 KB, image/png)
2008-06-21 00:28 UTC, Vinicius Depizzol
Details

Description Ye Liu 2008-05-06 03:21:35 UTC
In file selection dialog, make the window resizable or make "file types" combobox shorter in width. It's not necessary to list ALL the supported file types. If there are MANY file types/extensions, the dialog window will become too long/wide and can't fit in screen.

To do this, we can borrow the design from MS Windows. In Windows, I believe the file selection dialog is popped up with its preferred size initially and if there were too many file types that can't be fully shown in file types combobox/drop-down list, the dialog lists only few types like this (*.jpg; *.bmp; *.png;...) and if you move mouse pointer over it, the full list will be shown as tip text. This way keeps the dialog relatively small, so that it fits the screen well.

Other information:
I found this usability issue when I was trying to upload photos to flickr.com. To reproduce it, try the following:

1. Go to http://flickr.com and create a free flickr.com account if you don't have one.
2. Login to your account and click the link "Upload Photos and Videos".
3. and then click "Choose photos and videos". You will see a very long file selection dialog (~= 1556 pixels in width).
Comment 1 Vincent Untz 2008-05-06 07:16:42 UTC
Which application are you using for this?
Comment 2 Ye Liu 2008-05-06 07:35:04 UTC
Firefox 2/3.
Comment 3 Vinicius Depizzol 2008-06-21 00:28:35 UTC
Created attachment 113153 [details]
Screenshot of the problem
Comment 4 Cosimo Cecchi 2008-09-23 17:27:08 UTC
-> GtkFileChooser

This is really a bug in the application who sets such a long string. Anyway, maybe we could do something smart in GtkFileChooser to avoid this, moving.
Comment 5 Matthias Clasen 2008-09-28 04:40:29 UTC
To avoid this without ugliness, we'll need a max-width-chars property on GtkCellRendererText.
Comment 6 Matthias Clasen 2009-01-09 19:13:47 UTC
*** Bug 566784 has been marked as a duplicate of this bug. ***
Comment 7 Federico Mena Quintero 2009-01-14 20:36:04 UTC

*** This bug has been marked as a duplicate of 527499 ***