I called Apple Support again. Tried safe mode, tried creating a new user, tried unpairing the keyboard and deleting all fingerprints and then connecting with the cable again, nothing works. After letting the computer sleep for 10 minutes, touch id stops working on wake up.
Support said this isn't a usual problem, the expert I talked to said he had the exact same keyboard at home without any issues, so I'm trying to determine exactly why this is happening to so many of us.
Truth is this can't be happening to every person who buys a Magic Keyboard, this can't be normal behaviour.
I've noticed that from time to time, when I'm reading something on my screen, or watching a video, a message with the keyboard icon that says "connected" appears. Does this happen to anyone else? It rarely happens, but I've seen it 3 or 4 times.
I'll post here my Mac model, the OS version, when the keyboard was bought and maybe something more you guys can think of. Maybe we can gather some useful information, like if our keyboards are all from the same year or date, or if this only happens with certain Mac models.
Macbook Pro with M1 Pro
MacOS Ventura 13.4.1
Magic Keyboard (small version without numeric keypad), Portuguese layout, bought on January 2022
Only other device connected via bluetooth is a Magic Mouse that works flawlessly