SUMMARY Quick Open (Ctrl+Alt+O) has a disrupting behavior that wasn't seen in previous versions of Kate. STEPS TO REPRODUCE 1. Open several documents. 2. Press Ctrl+Alt+O. 3. Type a letter which is common to the name of several documents. 4. See that only several documents are listed, and that one is selected. 5. Press Enter. See that the chosen document is opened. 6. Press Ctrl+Alt+O. 7. Type a letter which is in the name of only one document. 8. Press Enter. But see that a new document is opened... OBSERVED RESULT A new document is opened. EXPECTED RESULT The only document which is listed should be opened. This is what happened using Kubuntu 18.04, with an older version of Kate. SOFTWARE/OS VERSIONS Linux version: Kubuntu 20.04 KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.68 Qt Version: 5.12.8 ADDITIONAL INFORMATION Note: This is not the same bug as "Bug 407103 - Quick Open useless in kate 18.12.3" (https://bugs.kde.org/show_bug.cgi?id=407103) though there is written: "No entry is selected by default. The second entry should be normally be selected by default. If you bring up "Quick Open" now and hit enter, it creates a new file. Every time. wat."
> This is not the same bug as "Bug 407103 - Quick Open useless > in kate 18.12.3" (https://bugs.kde.org/show_bug.cgi?id=407103) That is to say, the present problem is seen when there is only one file that meets the condition.
Confirmed on git master, if only one document is listed it should be selected automatically so when a user presses enter it is opened.
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kate/-/merge_requests/139
Git commit 48e29eed08e12ae373f713218e140b54da7cfb00 by Waqar Ahmed. Committed on 16/12/2020 at 14:45. Pushed by cullmann into branch 'master'. Select first item in quick-open if only one item in list M +1 -1 kate/katequickopen.cpp https://invent.kde.org/utilities/kate/commit/48e29eed08e12ae373f713218e140b54da7cfb00