Bug 390043

Summary: New tabs should be inserted on the right, like other tabbed apps/views
Product: [Applications] kate Reporter: ritalat
Component: applicationAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: adrian, bugseforuns, igordsm, luigi, moontide, nate, oded, ozbekanil, vijit
Priority: NOR Keywords: usability
Version: 17.12.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In: 20.08.0
Attachments: Tabs to the right

Description ritalat 2018-02-07 21:23:15 UTC
New tabs are inserted to the left in kate. The default behaviour on all other KDE programs (and pretty much every piece of software ever) is to insert new tabs to the right.
Comment 1 igormontagner 2018-11-26 20:39:37 UTC
I have been looking into this the last few days. Instead of just showing tabs in order, Kate shows the last X edited documents. This means that, when opening a document the least recently document is hidden and this document may be in any tab index. 

Adding tabs to the right looks OK until we run out of tabs. What should be the behavior in this case? Adding to the left or to the right?
Comment 2 Nate Graham 2018-11-26 20:45:54 UTC
If we move the overflow menu on the left, then I don't see why we couldn't add tabs to the right forever and have the left-most ones fall off into the overflow menu.
Comment 3 igormontagner 2018-11-26 20:53:49 UTC
Created attachment 116513 [details]
Tabs to the right

Would this behavior be OK?
Comment 4 Nate Graham 2018-11-27 03:46:58 UTC
Like I said, I think opening tabs to the right makes good sense, as long as we move the overflow menu thingy over to the left side, since that will become the side that the older tabs are "dropping off" from.
Comment 5 Christoph Feck 2018-12-20 03:04:36 UTC
*** Bug 398525 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2018-12-27 04:52:00 UTC
*** Bug 402499 has been marked as a duplicate of this bug. ***
Comment 8 Vijit 2018-12-27 07:08:14 UTC
I suggest to not move the tabs from the right automatically on any event. Just place them here and all. Now Kate support manual tabs ordering, so when/if we need to change this order we'll do it manually. Or at least give us the ability to switch order behavior. I'm talking about some flag in the settings.
Comment 9 Adrián Chaves (Gallaecio) 2019-09-21 09:43:56 UTC
Fix proposed at https://invent.kde.org/kde/kate/merge_requests/21
Comment 10 Patrick Silva 2019-11-02 09:39:08 UTC
*** Bug 413731 has been marked as a duplicate of this bug. ***
Comment 11 Patrick Silva 2020-03-10 11:21:09 UTC
*** Bug 418695 has been marked as a duplicate of this bug. ***