If a tab is closed while it's not the currently active tab, Yakuake switches to the last tab. For example, open three tabs. In the third one, run "sleep 5; exit". Switch to the first tab. After 5 seconds, the third tab will close, and Yakuake will switch to the second tab instead of staying where it is.
Might be the same as bug 146639, which claims it got fixed in SVN r674139, but the problem definitely still occurs.
Reproducible with yakuake 3.0.5 on Arch Linux.
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
It's still reproducible on neon unstable. Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.26.80 KDE Frameworks Version: 5.101.0 Qt Version: 5.15.7 Graphics Platform: Wayland
A possibly relevant merge request was started @ https://invent.kde.org/utilities/yakuake/-/merge_requests/103
Git commit baaac15a8f52d044dc6a712c96e2c68fc4209315 by Nicolas Fella, on behalf of Teague Millette. Committed on 03/06/2023 at 22:41. Pushed by nicolasfella into branch 'release/23.04'. Prevent unnecessary tab switching on tab close (cherry picked from commit 5797a3fe00a859ad185c7b53c273e468db813b3f) M +3 -1 app/tabbar.cpp https://invent.kde.org/utilities/yakuake/-/commit/baaac15a8f52d044dc6a712c96e2c68fc4209315