When installed as a snap package in Ubuntu 24.04, Gedit displays wrong colours and some menus freeze. The solution is to disable the opengl permission.
Either through Settings -> Apps -> Permissions:

or on the command line:
snap connect gedit:opengl
George Georgovassilis writes about information technology architecture
When installed as a snap package in Ubuntu 24.04, Gedit displays wrong colours and some menus freeze. The solution is to disable the opengl permission.
Either through Settings -> Apps -> Permissions:

or on the command line:
snap connect gedit:opengl