GNOME Bugzilla – Bug 300884
Preview of image in the File selector when choosing picture of a contact.
Last modified: 2013-09-13 00:55:54 UTC
It would be great to add a preview of images in the Gtk file chooser when you are looking for an image to add to a contact. (click on the head icon in the contact editor) Other information: I'm running Ubuntu Hoary with Evo 2.2.
is the a gtk issue (it would be a NOTGNOME issue then and has to be closed) or is it that evolution explicitly must tell the file chooser dialog to make an instance with a preview window included?
very related to bug 302388
Apologies for any spam... cc'ing usability-maint on all Evolution usability bugs. Filter on EVO-USABILITY-SPAM to ignore.
Please file a bug with gtk under gtkfilechooser component.
then why IS this already possible when opening files in gimp? don't tell me this is a gtk issue... :-/
Fix committed to cvs head. File selector now shows the preview of the image.
hi devashish, great stuff, but i doubt that it is HIG-compliant: if you use the arrow up/down buttons and have both images and non-image files in the folder, the buttons at the buttom ("cancel", "open", "no image") jump left and right, which is a hig-violation: "Always show a window as soon as possible, but make sure your window is the correct size before displaying it. Resizing a window after it is visible is disorienting and gives an unpolished look to your application." so evolution shows *all* files in the folder list and "dynamic" preview, whilst gimp shows only image files and "static" preview. hmm. sorry that i have to reopen it (because i am *really* happy to have that in), but it's a hig-violation. :-(
ok, my quote is plain wrong as it refers to visibility of windows, but i'm still pretty afraid that we're violating the hig.
I'd agree it certainly falls into the "undesirable" category, even if there's nothing specifically in the HIG that says "don't do it". (I suspect there might be somewhere, but I don't know where off-hand.)
Created attachment 60461 [details] [review] Patch Now it shows a static preview widget and a custom image when the image cant be shown. Please see if this can be committed.
Fix committed to cvs head