Created attachment 144655 [details] Project Plugin after Open Folder is cancelled. STEPS TO REPRODUCE 1. Open Kate (with project plugin active) 2. File -> Open Folder -> Cancel OBSERVED RESULT Your current project folder becomes the root EXPECTED RESULT Project plugin stays at its initial state as nothing has been chosen. SOFTWARE/OS VERSIONS macOS 11.6 ADDITIONAL INFORMATION This behavior is also replicated in an older version of Kate running on Windows.
Git commit 4cae287c774de7d3424b8be23b57b6ccce4f9fb2 by Christoph Cullmann. Committed on 18/12/2021 at 18:47. Pushed by cullmann into branch 'master'. do nothing if use canceled project open M +8 -4 addons/project/kateprojectpluginview.cpp https://invent.kde.org/utilities/kate/commit/4cae287c774de7d3424b8be23b57b6ccce4f9fb2
Git commit 405efcee1d74423dd22e1606a5dabb85e147cb7b by Waqar Ahmed, on behalf of Christoph Cullmann. Committed on 21/12/2021 at 14:47. Pushed by waqar into branch 'release/21.12'. do nothing if use canceled project open (cherry picked from commit 4cae287c774de7d3424b8be23b57b6ccce4f9fb2) M +8 -4 addons/project/kateprojectpluginview.cpp https://invent.kde.org/utilities/kate/commit/405efcee1d74423dd22e1606a5dabb85e147cb7b