SUMMARY *** When closing an inactive tab by middle mouse button, the active tab changes. When closing by the close button, the active tab is maintained. I don't know if it's a bug but can't think of why it would behave differently in those cases. *** STEPS TO REPRODUCE 1. Middle button on an inactive tab OBSERVED RESULT See active tab change EXPECTED RESULT Active tab is maintained SOFTWARE/OS VERSIONS Linux/KDE Plasma: Debian Sid KDE Plasma Version: none KDE Frameworks Version: none Qt Version: 5.15.2
Easily reproducible. This should not be happening. Most likely it's a regression in master branch.
The bug is present in the "master" branch, the "stable" branch and even in the classic Krusader 2.4.0-beta3 from almost ten years ago. This bug ends up having its difficulties and requiring long investigations...
(In reply to Toni Asensi Esteve from comment #2) > The bug is present in the "master" branch, the "stable" branch and even in > the classic Krusader 2.4.0-beta3 from almost ten years ago. This bug ends up > having its difficulties and requiring long investigations... Thanks for checking, Toni!
Hi, I just noticed something similar when dragging a tab towards the other panel with the mouse. After the drag is complete, the active tab in the original panel changes to the next leftward tab, which is sometimes not the original tab. This is not a bug and I guess the only way to avoid that would be to differentiate a click+dragging tab action from a click alone. I can open a separate feature request for this if it's preferred