[Bug 51284] New: shell32:shellpath fails on Windows 8.1 when there is more than on CD drive

WineHQ Bugzilla wine-bugs at winehq.org
Fri Jun 18 07:41:15 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=51284

            Bug ID: 51284
           Summary: shell32:shellpath fails on Windows 8.1 when there is
                    more than on CD drive
           Product: Wine
           Version: 6.10
          Hardware: x86-64
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: shell32
          Assignee: wine-bugs at winehq.org
          Reporter: fgouget at codeweavers.com

shell32:shellpath fails on Windows when there is more than on CD drive:

https://test.winehq.org/data/patterns.html#shell32:shellpath

shellpath.c:380: Test failed: Full path
L"C:\\Users\\winetest\\AppData\\Local\\Microsoft\\Windows\\Burn\\Burn1" does
not end with relative path L"Microsoft\\Windows\\Burn\\Burn"

For now these failures happen on the Windows 8.1 cw-rx460 and cw-gtx560
machines. That's because these machines have both Burn\Burn and Burn\Burn1
folders.

Paradoxically these don't have a CD drive at all. However they are connected to
a KVM which can serve ISOs in the form of a USB CD drive. I suspect that with
ISO changes, connection/disconnections Windows 8.1 ended up thinking there were
two USB CD drives and thus created one folder for each drive.

I have confirmed that adding two drives to a recent Windows 10 VM gives the
same result so this is not something specific to Windows 8.1 or the cw-*
machines.

Incidentally the failing test was introduced by the commit below:

commit 73c08fb638938ac6f903ad91d5ef2c93ae18a971
Author:     Andrew Eikum <aeikum at codeweavers.com>
AuthorDate: Thu May 27 13:38:16 2021 -0500

    shell32/tests: Add tests to show relative known folder paths match
SHGetKnownFolderPath.

    Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard at winehq.org>

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list