Bug 28025 - SWF.FileDialog does not show thumbnails for image files
Summary: SWF.FileDialog does not show thumbnails for image files
Status: RESOLVED FIXED
Alias: None
Product: Class Libraries
Classification: Mono
Component: Windows.Forms ()
Version: 3.4.0
Hardware: PC Linux
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-03-13 18:40 UTC by Stephen McConnel
Modified: 2015-03-24 07:32 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Stephen McConnel 2015-03-13 18:40:19 UTC
The Windows/.Net FileDialog shows thumbnail images for image files, making it easier to choose which one you want.  The Mono implementation uses a single icon for all files.  Image names are frequently not meaningful, making the thumbnail almost essential.

I have a working implementation that displays thumbnails, but it's a bit slow: it takes about 1 second for every 30 image files in the folder on my relatively fast developer machine.  When I'm happy with my code, I'll post a pull request (probably next week sometime).
Comment 1 Stephen McConnel 2015-03-17 12:06:24 UTC
My proposed fix has been submitted as https://github.com/mono/mono/pull/1634.
Comment 2 Stephen McConnel 2015-03-17 12:08:34 UTC
The proposed fix uses a background thread to generate the thumbnail images, so the slow rate of generation doesn't stop the user from seeing the list of files fairly quickly.  The thumbnails appear as they are created.