https://bugs.winehq.org/show_bug.cgi?id=39467
Bug ID: 39467 Summary: Steam file chooser displays files out of order Product: Wine Version: 1.7.53 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: trivial Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: abolte@systemsaviour.com Distribution: ---
Created attachment 52598 --> https://bugs.winehq.org/attachment.cgi?id=52598 steam_locate_your_backup_files-windows_7_screenshot.png
In Steam, it is possible to bring up a file chooser dialog box called "Locate your Backup Files" (by clicking Steam -> Backup and Restore Games... -> Restore a previous backup -> Next -> BROWSE...).
This feature is used regularly in Wine testing, as I often want to create a clean Steam installation in a new Wine prefix and restore a fresh copy of a game from a backup directory.
While Steam lists directories in order under Windows, they are always in a random order in Wine. This makes finding a game to restore from hundreds of backups a very time consuming process, and reduces the time I have for testing.
Hopefully it's an easy fix.
https://bugs.winehq.org/show_bug.cgi?id=39467
--- Comment #1 from Adam Bolte abolte@systemsaviour.com --- Created attachment 52599 --> https://bugs.winehq.org/attachment.cgi?id=52599 steam_locate_your_backup_files-wine_screenshot.png
Screenshot as viewed from Wine 1.7.53, with directories all out of order. I believe this happens regardless of using a 32-bit or 64-bit prefix, and regardless of Windows version selected.
https://bugs.winehq.org/show_bug.cgi?id=39467
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #2 from super_man@post.com --- Do you get any console output while you are restoring a game?
https://bugs.winehq.org/show_bug.cgi?id=39467
--- Comment #3 from Adam Bolte abolte@systemsaviour.com --- This is the output I see just as the file chooser window in the attached screen shot opens:
fixme:appbar:handle_appbarmessage SHAppBarMessage(ABM_GETTASKBARPOS, hwnd=(nil)): stub fixme:appbar:SHAppBarMessage unknown msg: 4 fixme:appbar:handle_appbarmessage SHAppBarMessage(ABM_GETSTATE): stub fixme:appbar:handle_appbarmessage SHAppBarMessage(ABM_GETAUTOHIDEBAR, hwnd=(nil), edge=3): stub fixme:appbar:handle_appbarmessage SHAppBarMessage(ABM_GETAUTOHIDEBAR, hwnd=(nil), edge=1): stub fixme:appbar:handle_appbarmessage SHAppBarMessage(ABM_GETAUTOHIDEBAR, hwnd=(nil), edge=0): stub fixme:appbar:handle_appbarmessage SHAppBarMessage(ABM_GETAUTOHIDEBAR, hwnd=(nil), edge=2): stub
https://bugs.winehq.org/show_bug.cgi?id=39467
Michael McGuire spoon0042@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |spoon0042@hotmail.com
--- Comment #4 from Michael McGuire spoon0042@hotmail.com --- On a hunch I tried the patch from bug 34122 (Civ5 crashes due to expecting FindFirstFile/FindNextFile to be sorted) and not too surprisingly the list in Steam is now sorted. I can't verify though if case matters, here I get 0-9, then A-Z, and then a-z.
https://bugs.winehq.org/show_bug.cgi?id=39467
--- Comment #5 from super_man@post.com --- I was thinking of that patch too, but didnt want to cause noice because nothing really indicated into that direction.
This is basically duplicate then.
Now someone should review the patch and ask the author to submit it. There are now 2 different applications tested that work with the patch.
https://bugs.winehq.org/show_bug.cgi?id=39467
Adam Bolte abolte@systemsaviour.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Debian
--- Comment #6 from Adam Bolte abolte@systemsaviour.com --- I can confirm that the patch from bug 34122 is a massive help. It gets us 99% of the way there.
As you say, it doesn't yet behave identically to Windows. The attached Windows 7 screenshot shows the "Backups" directory listed after "appcache", whereas the attached patch causes Wine to list "Backups" first (before "amf").
https://bugs.winehq.org/show_bug.cgi?id=39467
Adam Bolte abolte@systemsaviour.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE
--- Comment #7 from Adam Bolte abolte@systemsaviour.com --- I agree it's a duplicate of bug 34122.
*** This bug has been marked as a duplicate of bug 34122 ***
https://bugs.winehq.org/show_bug.cgi?id=39467
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Austin English austinenglish@gmail.com --- Closing.