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 740569 - Allow setting a vertical orientation for the GTK File Chooser's preview widget
Allow setting a vertical orientation for the GTK File Chooser's preview widget
Status: RESOLVED WONTFIX
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
3.15.x
Other Linux
: Normal enhancement
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
: 157342 (view as bug list)
Depends on:
Blocks: 650806 682886
 
 
Reported: 2014-11-23 03:58 UTC by Jean-François Fortin Tam
Modified: 2016-06-20 02:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot (125.26 KB, image/png)
2014-11-23 03:58 UTC, Jean-François Fortin Tam
Details

Description Jean-François Fortin Tam 2014-11-23 03:58:19 UTC
Created attachment 291291 [details]
screenshot

Generally, the filechooser is not really as nice as it could be to pick among pictures or video files since the thumbnails are minuscule (bug #141154).

In Pitivi we made our own multimedia preview widget that handles audio files, pictures and video files. The problem is that its design is limited by what  gtk_file_chooser_set_preview_widget() allows us to do (bug #650806) since you can only tell it to set a given widget as the preview pane, and then bump the width by forcing the width of the children widgets.

The thing is that the vast majority of videos nowadays are in widescreen aspect ratio, and most images are too... which means that showing that preview in a "column" on the right of the file list (as shown in the attached screenshot) sucks big time, because you're not making efficient use of the available space: you're wasting a ton of vertical empty space, you're squeezing the filenames in the listview, and you lack enough horizontal space to expand the video preview to a comfortable size.

So I'd like to request some simple ability/API for app developers to set_preview_widget_orientation. It would then look like


----------------------------------------
| shortcuts  | pathbar                 |
| sidebar    |--------------------------
|            | files list              |
|            |                         |
|            |                         |
|            |                         |
|            |                         |
|            |                         |
|            |-------------------------|
|            | preview widget area     |
|            |                         |
|            |                         |
----------------------------------------
| "extra widgets" area                 |
----------------------------------------
Comment 1 Jean-François Fortin Tam 2014-11-23 03:59:55 UTC
*** Bug 157342 has been marked as a duplicate of this bug. ***
Comment 2 Matthias Clasen 2016-06-20 02:26:00 UTC
I don't think we will allow applications to influence the file chooser layout in that way.