Bug 19362 - Folders in solution explorers aren't sorted
Summary: Folders in solution explorers aren't sorted
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: F# Add-in ()
Version: 5.0
Hardware: PC Mac OS
: High normal
Target Milestone: 5.0
Assignee: Dave Thomas
URL:
: 19475 ()
Depends on:
Blocks:
 
Reported: 2014-04-29 06:46 UTC by Rolf Bjarne Kvinge [MSFT]
Modified: 2014-05-05 14:02 UTC (History)
6 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 Developer Community or GitHub 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:
VERIFIED FIXED

Description Rolf Bjarne Kvinge [MSFT] 2014-04-29 06:46:54 UTC
See: https://www.dropbox.com/s/3nm8x6euk0i3mxa/Screenshot%202014-04-29%2012.45.36.png

This makes it hard to find a particular folder when there are many.

Xamarin Studio
Version 5.0 (build 725)
Installation UUID: 81203a58-4d25-40de-a95a-bc6c250df204
Runtime:
	Mono 3.4.0 ((no/585aa54)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 304000201

Apple Developer Tools
Xcode 5.1.1 (5085)
Build 5B1008

Xamarin.iOS
Version: 7.2.99.33 (Business Edition)

Xamarin.Mac
Xamarin.Mac: Not Installed

Xamarin.Android
Not Installed

Build Information
Release ID: 500000725
Git revision: 1c04181c9318b2beb490053d013131ea9ccca2d2
Build date: 2014-04-22 15:37:35-04
Xamarin addins: df1b37d137609c2d5a731772a7a34bd0701860ec

Operating System
Mac OS X 10.9.2
Darwin Rolfs-Mac-Pro.local 13.1.0 Darwin Kernel Version 13.1.0
    Wed Apr  2 23:52:02 PDT 2014
    root:xnu-2422.92.1~2/RELEASE_X86_64 x86_64
Comment 1 Mohit Kheterpal 2014-04-29 11:23:23 UTC
I have checked this issue and getting same behavior as shown in screencast : http://screencast.com/t/m50ZpgcqOO
Comment 2 Lluis Sanchez 2014-04-30 11:27:10 UTC
The F# add-in is messing up item ordering
Comment 3 Lluis Sanchez 2014-05-02 06:10:12 UTC
*** Bug 19475 has been marked as a duplicate of this bug. ***
Comment 4 Dave Thomas 2014-05-02 08:39:20 UTC
Fixed in fsharpbinding master: https://github.com/fsharp/fsharpbinding/commit/c1ff483ce0b3aaf22e613ddc6a7f365f6c0f34cc

needs fsharpbinding submodule bumping in monodevelop.
Comment 5 Lluis Sanchez 2014-05-02 09:26:58 UTC
Can you cherry pick this fix to vnext-release? Thanks!
Comment 6 Dave Thomas 2014-05-02 09:37:44 UTC
Done, hash:   1d340241e02124ff7e221a2c9fa74b29ce0a5d0d
Comment 7 Lluis Sanchez 2014-05-02 10:43:23 UTC
Should be fixed in 5.0.0.837
Comment 8 Akhilesh kumar 2014-05-05 01:59:43 UTC
I have checked this issue with following builds:

X.S 5.0(Build 839)
Git revision: ea6a454f1af1af09dd11b1441507fae2dc0a8414

I am still getting same behavior, Folders are not sorted. This is the screencast for the same: http://www.screencast.com/t/v21TxZrktEF

Hence reopening this issue.
Comment 9 Lluis Sanchez 2014-05-05 06:34:18 UTC
That's the expected behavior for F# projects (but only for F#). In F#, file and folder ordering has an effect on how the project is compiled, so we can't sort by name for those projects.
Comment 10 Mohit Kheterpal 2014-05-05 08:21:58 UTC
I have checked this issue with XS 5.0 (build 839), Now I have created an Android C# project and this issue does not exist as shown in screencast : http://screencast.com/t/3Lm64ftKsG4
i.e. all folders added in sorted manner.

Hence, closing this issue.
Comment 11 Paul Johnson 2014-05-05 11:48:30 UTC
I've created a fresh project (I don't have any of the F# stuff installed at all). The directory listings down the side a *not* alphabetical - makes no difference if it's imported from old or from new, iOS or Android, the project directories are not alphabetical
Comment 12 Lluis Sanchez 2014-05-05 13:28:43 UTC
Paul, the fix is not included in the alpha release. F# support is now included by default in XS, it doesn't have to be installed separately.
Comment 13 Paul Johnson 2014-05-05 14:02:12 UTC
Ah, OK.