When I set the Preferences in Gedit, it won't make any difference in root. In user it works properly. It occured in both upgrade and clean install of Debian 11. Maybe look what changes have been made in Debian 11? I am using Debian GNU/Linux 11, kernel 5.10.0.9-amd64, cinnamon 4.8.6