Version: (using KDE 4.3.1)
Compiler: gcc 4.3.2
Installed from: Gentoo Packages
How to reproduce:
* Open a konsole, verify that buttons are present.
* Split it T/B or L/R (Two views of same terminal is ok, no extra tab needed)
* Close the initial view
* "New tab" and "Close tab" buttons are gone.
The buttons comes back if one reactivates "Show 'New tab' and 'close tab' buttons..." under Settings -> Edit current profile... -> Tabs.
It doesn't really turn the options off, it just deactivates it for the session. A new konsole will have the buttons back.
Created attachment 36921 [details]
konsole after closing a splitted view
On current trunk (r1022847) I've experienced a singular behaviour while trying to test this bug. Look at the screenshot, I don't know if it is related.
For me in 4.3.1 release there are no graphics bugs like in your image, everything looks as it should but the buttons are gone.
The best way to describe the problem is:
It is as if each split view is rendered in a separate container, tab bar, buttons and all. When the primary view is closed it's like if the whole container and all it's contents are removed from view and destroyed and then the remaining container(s) are repositioned and re-sized without checking if the buttons needs to be added to the remaining view.
Same on Gentoo kde-4.3.2
I can reproduce it with 2.7.999
It seems when user split the view, the newly created ViewContainer widget does not
has its own new-tab and close-tab button.
Git commit f4b188658dd0d3142fbf2a61b770f08ef802cb30 by Jekyll Wu.
Committed on 14/08/2011 at 11:46.
Pushed by jekyllwu into branch 'master'.
Newly created container should also show new & close button.
M +3 -0 src/ViewManager.cpp