Add a configuration option to disable dead key preview
Hello, I've noticed with a recent GTK update (past month or so) there's now a new feature where accents (dead keys) are previewed with an underscore as you type them. For reference, I use a Brazilian Portuguese (ABNT2) keyboard and am on the latest GTK version on Arch Linux.
I understand this has been discussed in #3669 (closed) and while the new kind of preview is nicer, it appears to break a website like Discord, where I often post code snippets, which are composed by starting and closing a block of text with ``` (three backticks, which are also used for characters like à). This new update causes the cursor to move erratically after typing this combination, becoming a constant annoyance when sharing code with colleagues. This is probably due to the insertion of characters messing with how the site expects characters to be typed.
This is not an issue on Windows, which doesn't have this kind of previews, this wasn't an issue before this update and even on macOS which has previews doesn't seem to have this problem.
I understand this is a very specific use case and more of a fault on the website, but seeing how trivial it is to bypass this behavior, which is done by an user patch, which is not easy to maintain or keep up to date, I come here to humbly ask for a configuration option to disable it, perhaps "NoDeadKeyPreview".