https://bugs.kde.org/show_bug.cgi?id=434287
Bug ID: 434287 Summary: Bug in search in files panel Product: kate Version: unspecified Platform: unspecified OS: Other Status: REPORTED Severity: minor Priority: NOR Component: search Assignee: kwrite-bugs-n...@kde.org Reporter: matthew.li...@gmail.com Target Milestone: --- SUMMARY When double clicking on a search result in the "search in files" results panel, it always activates the first unsaved document instead of the one which have the search results. STEPS TO REPRODUCE 1. Have two (or more) unsaved documents, and select any other tab which is not created firstly. 2. Open the "Edit->Search in files" 3. Select "in Current File" 4. Populate the result list (tree) by filling the search field and clicking on the search button 5. Double click on a search result OBSERVED RESULT The first unsaved document get activated, and the caret jumps to the line where the result was found in the document. (Regardless if there is any mach on the first document) EXPECTED RESULT The document should activated which the search results belongs to, and the caret should jump to the proper line. SOFTWARE/OS VERSIONS I'm using version 21.03.70 (flatpak release: 20.12.2) on Ubuntu KDE Frameworks 5.78.0 Qt 5.15.2 ADDITIONAL INFORMATION I was not able to reproduce it on the Windows (10) store version of Kate (20.08.2) -- You are receiving this mail because: You are watching all bug changes.