[Konsole-devel] [Bug 276872] New: New tab should be placed right after current tab, not at the end.
Jekyll Wu
adaptee at gmail.com
Fri Jul 1 07:51:45 UTC 2011
https://bugs.kde.org/show_bug.cgi?id=276872
Summary: New tab should be placed right after current tab, not
at the end.
Product: konsole
Version: 2.7.999
Platform: Archlinux Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: wishlist
Priority: NOR
Component: general
AssignedTo: konsole-devel at kde.org
ReportedBy: adaptee at gmail.com
Created an attachment (id=61521)
--> (http://bugs.kde.org/attachment.cgi?id=61521)
put the new tab right after current tab
Version: 2.7.999 (using KDE 4.6.4)
OS: Linux
Konsole provides the option of 'start in same directory as current tab'. This
is nice, but konsole always put new tab at the end of tab list, which make this
nice option not as useful as it appears.
For example, I have 5 tabs open. In tab #2 I am compiling some code and I
suddenly have a nice idea and want to grep something, So I open a new tab.
The 'grep' tab start at the same directory as the 'compilation' tab , but is
placed at the end(#6). After I finish greping and want to switch back to the
'compilation' tab(#2), I have 3 choices:
a). Use mouse to click tab #2, which is slow compared with keyboard.
b). Press 'Shift+Left' 4 times
c). Press 'Ctr+Shift+Alt' 3 times to move the 'grep' tab to place #3, then
press 'Shift+left'
Has the 'grep' tab been placed right after the 'compilation' tab, at #3, I
would only need to press 'Shift+left' one time to switch the focus .
So this example shows that placing new tab right after current tab can make
(some) users' life much easier. And I think that's the natural result following
the 'start in same directory' option: users expect tabs doing related work to
be
placed near each other.
The attached patch is a quick hack. It always puts new tab right after current
tab, regardless of whether 'start in same directory' is enabled or not.
Reproducible: Always
Steps to Reproduce:
1. open 5 tabs in konsole
2. change their title to #1,#2,#3,#4,#5
3. switch focus to #2
4. open a new tab
Actual Results:
the new tab is placed after #5
Expected Results:
the new tab is placed after #2
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the konsole-devel
mailing list