According to a comment in the code, {nav Open With} was never supposed to show up for folders in the first place, but a bug prevented this from working: the value of `firstItem.url().isLocalFile()` was also checked,This patch returns the {nav Open With} items for folders to the way it was before D11569: with all entries shown in a sub-menu. but this always returns true for local directoriesThis should make the context menu more relevant since most of the time when you right click on a folder, not just local files. Removing that check--and the code supporting it--fixes the issueit's not to open it in some app.
The top app is still displayed inline for the app context menu--just not for folders.
**Alternatively,** We could simply return to the way it was for folders before D11569According to a comment in the code, {nav Open With} was never supposed to show up for folders in the first place, but a bug prevented this from working: the value of `firstItem.url().isLocalFile()` was also checked, but this always returns true for local directories, not just local files. We could fix that issue and remove the {nav Open With} context menu items for folders, the way the comment suggested was intended:
{F5807966}35}