Guake / Guake/guake

Close last terminal does not recreate a default one

Open
#1,416 7 comments 0 reactions 0 assignees View on GitHub
Priority: URGENT Type: Defect
Dominant language
Python
Stars
4.7k
Forks
604
PR merge metrics
No merged PRs in 30d

Description

When closing the latest tab or latest terminal ("Close terminal" or "close tab"), should recreate a single terminal tab, for consistency sake.

Not sure if this is linked, but I see an error on Custom command:
```
ERROR Invalid custom command file /home/myuser/.config/guake/custom_command.json. Exception: [Errno 2] Aucun fichier ou dossier de ce type: '/home/myuser/.config/guake/custom_command.json'
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/guake/customcommands.py", line 53, in _load_json
with open(file_name) as f:
FileNotFoundError: [Errno 2] Aucun fichier ou dossier de ce type: '/home/myuser/.config/guake/custom_command.json'
```

How to reproduce:
- click on "close tab" when there is only 1 tab left
- from now, close tab and close terminal both does not recreate a fresh tab

it also appears to keep somehow the split handles after "close tab" has been hitted.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.