The Name dropdown on the WP Action shows names from all slugs, not just those in the selected slug.
For example, in the screenshot below, the only names that should show for the given path/slug template-parts/layout/layout
should be ‘contained,’ ‘fullwidth,’ and ‘sidebar.’ Instead, it’s showing all available names, including those with different paths and slugs.
This appears to be a display/convenience issue only and doesn’t seem to affect functionality.