When I work on a git repository using konsole, the tab's text grows each time I do a commit (using vi). One can easily reproduce this having the default "%d : %n : %w" template for the tab text set as follows: $ mkdir foo $ git init $ touch bar $ git add bar Konsole's tab name is currently "foo : bash :", as it should be. Now commit the change: $ git commit -a Enter a commit message and do :x. Konsole's tab name is now "foo : bash : foo : bash :" One more "foo : bash :" is added with each commit. Surely not a severe bug, but it sucks as soon as the tab's name is so long that a second tab is not visible anymore ;-)
(of course, you'll have to cd into the foo directory before running git init :-P)
I can't duplicate in 19.08 nor master - a lot has changed since 19.04
19.08 behaves in the very same way here with "%d : %n : %w" set.
I can't replicate this with the default tab naming convention on konsole from git master. Tobias, can you please test and confirm if the issue is still persisting for you, thanks.
The default is "%d : %n". It does not happwn with this setting. Most probably, it's about the "%w" flag ...
(In reply to Tobias Leupold from comment #5) > The default is "%d : %n". It does not happwn with this setting. Most > probably, it's about the "%w" flag ... Just tested with %w added and it still doesn't keep adding to the tab name. Can you please test and confirm Tobias?
Created attachment 133046 [details] attachment-32165-0.html Note I was using nano to do commit messages. It may be a bug with vi, if it is still the case. On Thu, Nov 5, 2020 at 5:33 PM Tobias Leupold <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=410907 > > --- Comment #5 from Tobias Leupold <tobias.leupold@gmx.de> --- > The default is "%d : %n". It does not happwn with this setting. Most > probably, > it's about the "%w" flag ... > > -- > You are receiving this mail because: > You are on the CC list for the bug.
I just tried it the very same way I described in the initial bug report (also using vi, but I'm pretty sure that it it/was no vi bug). Apparently, this has been fixed meanwhile. The tab's name doesn't grow any longer anymore. I switched back to "%d : %n" back then and didn't try "%w" until today, so I can't tell when it was fixed. But apparently, it was :-)