Open vjousse opened 1 year ago
Reopening, tooty is sometimes sending toots when it should not (by pressing enter or shift enter). I've recently switched to wayland with a bépo remapping, it could be due to that.
It looks like the problem appears after "some time". Most of the time, after a Tooty reload I don't have the problem, but somehow, after some undefined time, the problem occurs. Here are 2 screenshots of the model at the moment when such a bug appears. Its seems that the Submit draft Msg is called before the keys events are processed.
It looks like ctrlPressed
is set to True
in both cases.
The problem is not with Shift but with Ctrl. Pressing Ctrl at some point in the toot redaction causes Enter to send the toot.