Skip to content

ui-utils: Avoid unnecessary filling password

A subtle (?) behaviour change from gtk3 to gtk4 is breaking gnome-control-centers use of libnma-gtk4:

  • In gtk3: gtk_editable_set_text does not trigger the "changed" signal if the actual text in the entry doesn't change
  • In gtk4: The "changed" signal gets triggered even when the text in the entry stays the same.

... and that's causing this stack overflow: gnome-control-center#2109

This PR mitigates that in perhaps the simplest way - by explicitly the check of whether the text in the password entry changed.

Edited by faultline

Merge request reports