The new projectile-dispatch command doesn't behave properly when called from projectile-switch-project. After selecting a project, the dispatch menu opens, but commands chosen from the menu run with the current buffer’s default-directory instead of the selected project’s directory.
This appears to happen because the selected project is only available through the temporary default-directory binding in projectile-switch-project-by-name. Since transient suffixes run later, that binding has already unwound by the time a command like projectile-find-file is invoked.
The new
projectile-dispatchcommand doesn't behave properly when called fromprojectile-switch-project. After selecting a project, the dispatch menu opens, but commands chosen from the menu run with the current buffer’sdefault-directoryinstead of the selected project’s directory.This appears to happen because the selected project is only available through the temporary
default-directorybinding inprojectile-switch-project-by-name. Since transient suffixes run later, that binding has already unwound by the time a command likeprojectile-find-fileis invoked.