Bug 202028

Summary: Inconsistent tab switching behavior on close
Product: [Applications] konsole Reporter: Jacob Welsh <jwelsh>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jacob Welsh 2009-07-30 20:38:44 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

When I close a tab either by exiting the shell, or ctrl+shift+w, it advances to what had been the next tab, as expected. But if the last tab was closed, it wraps to the first tab, which I find a bit surprising.

But, if I use the "close tab" button instead, I get the "expected" behavior: move to the next tab, unless the last tab is closed, in which case stay on the now last tab.

This was not affected by the fix to #183483 - that just reversed the directions (before, shell exit would go to the previous tab and wrap to the end from the first; the close button would go to the previous tab unless the first was closed). So I agree with the fix for that bug, and this is a separate issue.

I'll submit a patch if I can figure it out.
Comment 1 Kurt Hindenburg 2010-01-05 18:16:25 UTC
The reporter's behavior is how trunk works now.
Comment 2 Georg 2010-08-31 16:39:59 UTC
Will the WIP switch to KTabWidget solve this automatically?
Comment 3 Kurt Hindenburg 2010-10-26 05:42:34 UTC
This  was   recently fixed.