mate-desktop / mate-terminal

The MATE Terminal Emulator
http://www.mate-desktop.org
GNU General Public License v3.0
134 stars 73 forks source link

mate-terminal: add support for Tab in keybindings #378

Open AlbertVeli opened 3 years ago

AlbertVeli commented 3 years ago

Expected behaviour

Possibility to select Ctrl+Tab as keybinding. Typically for next-tab.

Actual behaviour

Invalid keybinding

Steps to reproduce the behaviour

dconf write /org/mate/terminal/keybindings/next-tab "'\<Primary>Tab'" mate-terminal -> Keyboard Shortcuts -> Switch to Next Tab - Invalid

MATE general version

1.24.0-r1

Package version

1.24.0

Linux Distribution

Gentoo

Link to bugreport of your Distribution (requirement)

Did not report to distribution

DavideRossi commented 3 years ago

I would add to that that gnome-terminal exhibits the same behavior (it says that the key combination is invalid) but then it actually accepts the combination. So you can use (shift-)ctrl-tab to switch tabs. This is why I'm using gnome-terminal in place of mate-terminal! Yes, we all know that using tab in shortcuts should not be allowed in gtk applications, a discussion is going on for more than a decade now and is going nowhere. It seems like mate-terminal is more rigorous than gnome-terminal so it's possibly just a matter of removing a couple of ifs and pretend nothing happened...