cosmic-term icon indicating copy to clipboard operation
cosmic-term copied to clipboard

Must re-press CTRL modifier to be able to close last tab

Open snaggen opened this issue 1 year ago • 1 comments

If you open a terminal and open 3 tabs. then just close all tabs by holding ctrl down (and keeping it down the whole time) and press d multiple times. Then when the tab bar goes away, the key presses doesn't take any more so the last terminal will not exit as expected. If you lift ctrl and press ctrl-d, the window is closed.

I have tested to modify the view function, to always show the tab bar

            if tab_model.iter().count() >= 1 {

With that modification things work as expected, so it is something around the rendering/non-rendering of the tab bar.

snaggen avatar Jan 18 '24 13:01 snaggen

I tried it today and I was able to close multiple tabs by holding down Ctrl and pressing D multiple times without releasing the Ctrl key. It also works by just holding down both Ctrl and D.

ChocolateLoverRaj avatar May 01 '24 20:05 ChocolateLoverRaj

This appears to be fixed.

WatchMkr avatar May 25 '24 15:05 WatchMkr