Bug 202028 - Inconsistent tab switching behavior on close
Summary: Inconsistent tab switching behavior on close
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-30 20:38 UTC by Jacob Welsh
Modified: 2010-10-26 05:42 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.