Bug 516077 - Keyboard focus incorrectly shifts to Terminal panel on mouse-over
Summary: Keyboard focus incorrectly shifts to Terminal panel on mouse-over
Status: REPORTED
Alias: None
Product: kate
Classification: Applications
Component: application (other bugs)
Version First Reported In: 23.08.5
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-16 10:38 UTC by thomas.oliveira
Modified: 2026-02-16 10:38 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description thomas.oliveira 2026-02-16 10:38:30 UTC
STEPS TO REPRODUCE

1. Open Kate and ensure the Terminal plugin/panel is visible (F4).
2. Click into the main text editor and type a few characters to confirm focus.
3. Move the mouse cursor from the editor area over the Terminal panel and then back to the editor area.
4. Attempt to continue typing in the editor immediately without clicking.

OBSERVED RESULT

The keyboard focus remains trapped in the Terminal panel. Keystrokes are sent to the shell/command line instead of the document, even though the user never clicked the terminal.

EXPECTED RESULT

The focus should remain in the text editor. Moving the mouse over the terminal should not trigger a focus change unless the user explicitly clicks the terminal panel.

SOFTWARE/OS VERSIONS

Operating System: Kubuntu 24.04
KDE Plasma Version: 5.27.12
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.8.0-100-generic (64-bit)

ADDITIONAL INFORMATION

The system Window Activation Policy is set to "Click to focus" (System Settings > Window Management > Window Behavior).