https://bugs.kde.org/show_bug.cgi?id=465807
Bug ID: 465807
Summary: Closing tab sometimes switches to next split
Classification: Applications
Product: kate
Version: 22.12.2
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: application
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
If there are split views, the left (or top) view is focused, and I close a tab
in the left(/top) view (either the active tab or another one), in some cases
keyboard focus switches to the right(/bottom) side. I'm not sure under exactly
what circumstances this happens, but it seems to happen when the file that's in
the active tab on the left side the operation (i.e. tab that was switched to if
the active tab was closed, or just the already active tab if an inactive tab
was closed) happens to also be open on the right side. It doesn't seem to
happen in the other direction, i.e. focus switching from the right to the left.
Below I describe a series of steps that seem to reproduce the bug reliably.
STEPS TO REPRODUCE
1. Start Kate with an empty session.
2. Open file A.
3. Click Split Vertical. Now file A is open on both sides, and the right side
is focused.
4. Click in the editor on the left side to focus it.
5. Open file B. Now both A and B are open on the left side, with B being the
active tab and has keyboard focus; A is open on the right side.
6. Close B by clicking on the X button in the tab.
OBSERVED RESULT
File A remains open on both sides, and the cursor is blinking in the right side
view; it has keyboard focus.
EXPECTED RESULT
File A remains open on both sides, and the left side has keyboard focus.
SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230214
KDE Plasma Version: 5.27.0
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Graphics Platform: tried both X11 and Wayland; it doesn't matter
--
You are receiving this mail because:
You are watching all bug changes.