hexchat icon indicating copy to clipboard operation
hexchat copied to clipboard

Make Ctrl-Q disableable

Open lhmouse opened this issue 2 years ago • 2 comments

The standard shortcut to close a window, on GNOME, MATE, and Windows, is Alt-F4.

The hard-coded Ctrl-Q combination key is not only unnecessary, but can be easily mishandled, and it quits without confirmation! Embarrassing; have triggered it many many times.

At least this deserves a confirmation, or a switch to have it disabled.

https://github.com/hexchat/hexchat/blob/cda96128b8baf0675e74f650e97818de6ec53c6b/src/fe-gtk/menu.c#L1794

lhmouse avatar Aug 07 '23 17:08 lhmouse

As far as I am aware, Ctrl-Q has always been the standard way of closing an application in Linux. I've been using Linux for decades and the applications that I find frustrating and annoying are the ones that do not implement Ctrl-Q.

According to the Gnome Human Interface Guidelines Ctrl-Q is the standard there too.

jbigler avatar Dec 10 '23 04:12 jbigler

As far as I am aware, Ctrl-Q has always been the standard way of closing an application in Linux. I've been using Linux for decades and the applications that I find frustrating and annoying are the ones that do not implement Ctrl-Q.

One thing we should be aware of is that some Linux distributions (e.g. Linux Mint) have been attempting to behave closer to Windows; not to mention the fact that HexChat does run on Windows. Although there is no well-known use about Ctrl-Q, the standard combination to exit a program is Alt-F4, which works on Linux Mint too BTW, and there is no necessity to have a second binding for it.

lhmouse avatar Dec 10 '23 08:12 lhmouse