GtkEntry placeholder renders above buffer text
Steps to reproduce
entry = gtk_entry_new ();
gtk_editable_set_text(GTK_EDITABLE(entry), "Hello World");
gtk_entry_set_placeholder_text(GTK_ENTRY(entry), "Placeholder");
Current behavior
The placeholder text renders above the entry text.
Expected outcome
The placeholder text should not be visible because the entry contains text. It should only update the underlying placeholder text so that the new text appears when the entry is cleared.
Version information
4.2.1
Additional information
The issue can be mitigated by calling gtk_editable_set_text again after setting the placeholder.
Please see the provided Example Application.
Edited by Fina Wilke