this version is not recognizing the word accent keys in any application. Version: 5.4.2.2.0+ Build ID: libreoffice-5.4.2.2-snap1 Threads of CPU:1; SO:Linux 4.11; Interface director: pattern; VCL: gtk3; Local: pt-BR (pt_BR.UTF-8); Calc: group
Please report it to Ubuntu: https://bugs.launchpad.net/ubuntu/+source/libreoffice