https://bugs.kde.org/show_bug.cgi?id=478292

            Bug ID: 478292
           Summary: Search almost unusable with multiple files open
    Classification: Applications
           Product: kdevelop
           Version: 5.12.230803
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: UI: general
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: aar...@doofus.org
  Target Milestone: ---

Created attachment 164031
  --> https://bugs.kde.org/attachment.cgi?id=164031&action=edit
Screen shot showing it screwing up when I hit F3. Note that I was editing in
the 3rd window but it is searching in the 1st (left) window. Both are the same
file. It is also searching the wrong word.

SUMMARY
I have four files open side-by-side in Kdevelop and in one of the editors I
type ^F then type what I want to search for and the search happens in a
different editor context, the only way I can search in the window I want to
search is to click the mouse on the proper window afterwards and press F3. It
keeps trying to search the wrong file. What is even more infuriating is it will
often search a previous search term, not the one that is in the Find dialog.
For example, I'm searching for "Product ID" in the 3rd of 4 windows but it is
searching for "create" when I hit F3 in the first window even though it shows
Product ID in the Find dialog.

STEPS TO REPRODUCE
1. Open multiple files (or even the same file) in multiple editor contests
2. Select a particular file/editor window
3. Type ^F
4. Type in the text to search
5. Watch it search the wrong context as it jumps to a different context than
the one that was being edited

OBSERVED RESULT
Often when I do this it does not search the editor context that was active but
will jump to a different file/context and search that window instead.
When this happens, it will happen consistently, always jumping to the same
window. The only way to search the correct window is to then click on the
proper window and press F3. Even with F3, it will sometimes jump back to the
wrong window.

This doesn't happen every time, and in fact it may not happen for quite a
while, but when it does it will consistently jump to the wrong window to search
rather than the one that was being edited.

EXPECTED RESULT
I expect search to always occur in the currently selected window.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
In the current case where it is happening, I have four windows. From left to
right, the first window is a Python file, the 2nd is a YAML file, the 3rd is
the same Python file, and the 4th is a Makefile. I am trying to search in the
3rd window but it keeps searching the 1st window instead.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to