Created attachment 151517 [details] The number of visible tabs doesn't match the number of open documents SUMMARY Increasing the tab limit doesn't increase the number of visible tabs. STEPS TO REPRODUCE 1. Create or open 10 documents 2. Change the tab limit to 3 (go to "Settings" > "Behavior" and change "Limit number of tabs" to 3): now only 3 tabs will be visible 3. Change the tab limit to 10 (or more): still only 3 tabs will be displayed SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.25.80 KDE Frameworks Version: 5.98.0 Qt Version: 5.15.5 Graphics Platform: X11
The settings works as intended, if you use again documents that not already have tabs, the limit will be honored. I see no point in wasting time to start to populate the tab bar with maximum number on tabs after one alters this to a higher limit. If you want to improve on this, feel free to submit some bug. But I see no error here.
(In reply to Christoph Cullmann from comment #1) > If you want to improve on this, feel free to submit some bug. Did you mean submit a merge request?
Git commit 67a88a4d35669f6aed01f45796fb9feb54d176f7 by Eugene Popov. Committed on 26/08/2022 at 14:39. Pushed by cullmann into branch 'master'. Handle an increase in tab limit Currently, increasing the tab limit has no effect. This MR makes it open the N most recently used documents, that are hidden, instead. M +17 -0 apps/lib/katetabbar.cpp https://invent.kde.org/utilities/kate/commit/67a88a4d35669f6aed01f45796fb9feb54d176f7