https://bugs.kde.org/show_bug.cgi?id=412806
Bug ID: 412806 Summary: [KDevelop]: "sorted list of open documents" should include more parent directories and projectname when necessary Product: kdevelop Version: 5.4.2 Platform: Other OS: All Status: REPORTED Severity: normal Priority: NOR Component: UI: IDEAl Assignee: kdevelop-bugs-n...@kde.org Reporter: rjvber...@gmail.com Target Milestone: --- SUMMARY The "sorted list of open documents" drop-down menu includes the parent folder name when multiple files with identical names are open. This doesn't help if those files have the same parent directory name. One trivial case in which this can happen is if you have 2 projects open that each hold a working copy of the same software project, for instance a tinker version and a stock version, or differing in build parameters. STEPS TO REPRODUCE 1. Open a personal "scratchpad" copy of some software project in a KDevelop session 2. Open another, "stock" copy of the same project 3. Open a given file, once from each project 4. Open the "sorted list of open documents" drop-down OBSERVED RESULT No idea which is which in the drop-down list EXPECTED RESULT Identifiable entries. ADDITIONAL INFORMATION The current algorith that includes the parent directory for duplicates should add as many parent dirs. as required until one that is different is found (or the toplevel project dir. is reached). This path can probably be elided to save some space. In case this still gives 2 identical strings (= when the toplevel dir was reached) the project name should be included (also elided?). If per-project colours are being used a tag of the project colour could be added too. -- You are receiving this mail because: You are watching all bug changes.