Bug 390043 - New tabs should be inserted on the right, like other tabbed apps/views
Summary: New tabs should be inserted on the right, like other tabbed apps/views
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: application (show other bugs)
Version: 17.12.0
Platform: Neon Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: usability
: 398525 402499 413731 418695 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-02-07 21:23 UTC by ritalat
Modified: 2020-06-27 03:46 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In: 20.08.0


Attachments
Tabs to the right (149.90 KB, image/gif)
2018-11-26 20:53 UTC, igormontagner
Details

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