https://bugs.kde.org/show_bug.cgi?id=477050
Bug ID: 477050 Summary: Auto-reload Projects sidebar Classification: Applications Product: kate Version: 23.04.3 Platform: NixOS OS: Linux Status: REPORTED Severity: wishlist Priority: NOR Component: general Assignee: kwrite-bugs-n...@kde.org Reporter: a.beer_...@live.ca Target Milestone: --- SUMMARY It's very annoying to have to manually click the reload button in the Projects sidebar whenever the folder layout changes. STEPS TO REPRODUCE 1. Enable the Projects plugin. 2. Show the Projects sidebar. 3. Open a Git project. 3. Open a file in that project. 4.a) Right-click on the file's tab and rename it. b) Rename the file outside of Kate. OBSERVED RESULT The Projects sidebar still shows the file under its old name. EXPECTED RESULT If there's a filesystem event listener system that would allow the Projects sidebar to immediately know whenever a directory tree changes without just polling the filesystem, then it should use that to immediately reload the view of the current project whenever its contents change. If there is no such system, then: a) The Projects sidebar should automatically reload the view of the current project whenever a file within it gets created/renamed/deleted in Kate. b) The Projects sidebar should automatically reload the view of the current project every so often, in order to catch changes from outside of Kate. If you're concerned about performance, then set the period to something huge like 10 seconds, pause the feature while the window isn't focused, and immediately reload whenever the window gains focus. And either way, whenever the user switches the current project, it should reload the newly selected one. SOFTWARE/OS VERSIONS KDE Plasma Version: 5.27.9 KDE Frameworks Version: 5.106.0 Qt Version: 5.15.10 ADDITIONAL INFORMATION I'm experimenting with replacing some uses of VSCodium with Kate, and this lack of functionality struck me as downright bizarre. KDevelop has it, and with a period that appears to be about 1 second, including when the window isn't focused. Is there a specific benefit to having the reload be only manual? -- You are receiving this mail because: You are watching all bug changes.