High CPU load due to text input fields
While a blinking cursor is displayed in any text input field, the CPU load of the Java process increases by about 10%. This leads to a temperature increase of 3°C on this (old) laptop during the login screen, but an increase of up to 15°C while typing a message. Nothing relevant appears in the log output.
Steps to reproduce:
- java -jar briar-desktop.jar
- Keep the window in the foreground so that any cursor blinks.
Briar Desktop
Version 0.2.1-nightly
Git hash 51607c81039fc360301701e7c9d94efd9d528020
Commit time 2022-08-28 19:29:32
System Information
OS Name Debian GNU/Linux
OS Version 11.4 (bullseye)
Architecture amd64 (x86_64)
Kernel Release 5.18.0-0.deb11.3-amd64
Kernel Version #1 SMP PREEMPT_DYNAMIC Debian 5.18.14-1~bpo11+1 (2022-07-28)
Software
openjdk-17-jre 17.0.4+8-1~deb11u1
xfce4 4.16
xfwm4 4.16.1-1