- In Projects, a single file or folder (but not project) is selected. - I modify and save a file belonging to this project. - Result: now also the project is selected, in addition to the file that was selected (two items are selected, as if I ctrl-clicked on the project). This is quite annoying. For example if I try to right-click on the previously (and still) selected item to use "find and replace", the option will not be there. Similarly if I want to build the project by right-clicking on it and choosing Build, the Build option will be absent. This is a regression from 5.0.4 to 5.1.0.
Reproducible with 5.1.1. There has to be exactly one project open, with more projects none are selected in this case.
Reverting c818000 "Fix project tree state not being saved" prevents this.
Thanks for the investigation Francis. I'll notify Janek, the author of the patch.
I'll have a look
Please check out this fix: https://phabricator.kde.org/D6019
Git commit da4c0fdfcf21dc2a8f48a2b1402213a32effd47a by Kevin Funk, on behalf of Janek Bevendorff. Committed on 05/06/2017 at 12:00. Pushed by kfunk into branch '5.1'. Fix selection when only one project is in projects view FIXED-IN: 5.1.2 Differential Revision: https://phabricator.kde.org/D6019 (cherry picked from commit 10eb177efb28da476e5b948b886a894039085c02) M +0 -10 plugins/projectmanagerview/projecttreeview.cpp https://commits.kde.org/kdevplatform/da4c0fdfcf21dc2a8f48a2b1402213a32effd47a