Skip to content

Folder path not returned in IShellItemArray for directory background click when context menu has submenus and using classic context menu #42

@LesFerch

Description

@LesFerch

Setup:

Create an IExploreCommand context menu, with one or more submenus, using the provided sample code, that supports right-click on files (*), folder (Directory), and folder background (Directory/Background).

Problem:

Right-click on directory background returns nothing in IShellItemArray.

Conditions:

Occurs when IExploreCommand context menu has one or more submenus and user is accessing the classic context menu on Windows 10 or Windows 11 (i.e. Shift-Right-Click).

Please note that IShellItemArray is correctly populated with the path of the folder background that was clicked when there are no submenus or when using the modern context menu on Windows 11.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions