Bug 448368

Summary: Scrolling takes focus away from search text field
Product: [Applications] konsole Reporter: ratijas <me>
Component: historyAssignee: Konsole Developer <konsole-devel>
Status: CONFIRMED ---    
Severity: normal    
Priority: NOR    
Version: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description ratijas 2022-01-13 14:45:54 UTC
SUMMARY

Scrolling takes the focus away from the text field of the search bar. It is inconvenient and unexpected. It does not matter for konsole, which kind of screen output is being currently used: normal scrollback or an alternate (as in man/less/vim etc.) — it takes focus away in either case.

STEPS TO REPRODUCE
1. Open Konsole or Yakuake.
2. Open search bar (Ctrl+Shift+F).
3. Scroll with mouse or touchpad over the empty area.

OBSERVED RESULT

Focus is lost from the search bar, any keyboard input now goes straight to the terminal, including Enter/Shift+Enter keys (a.k.a. "find next match").

EXPECTED RESULT

Scrolling should not take the focus away. After all, when navigating the history through Enter and Shift+Enter keys you ain't loosing the focus immediately. So, why should you when correcting the scrollback with mouse?

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.15.13-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 970M/PCIe/SSE2