diff -purN xfce4-settings-4.14.0.orig/common/display-profiles.c xfce4-settings-4.14.0/common/display-profiles.c --- xfce4-settings-4.14.0.orig/common/display-profiles.c 2019-08-11 22:18:14.000000000 +0200 +++ xfce4-settings-4.14.0/common/display-profiles.c 2019-08-16 23:08:23.591165065 +0200 @@ -72,18 +72,16 @@ display_settings_profile_name_exists (Xf } GList* -display_settings_get_profiles (gchar **display_infos, XfconfChannel *channel) +display_settings_get_profiles (gchar **display_infos, XfconfChannel *channel, guint noutput) { GHashTable *properties; GList *channel_contents; GList *profiles = NULL; GList *current; guint m; - guint noutput; properties = xfconf_channel_get_properties (channel, NULL); channel_contents = g_hash_table_get_keys (properties); - noutput = g_strv_length (display_infos); /* get all profiles */ current = g_list_first (channel_contents); diff -purN xfce4-settings-4.14.0.orig/common/display-profiles.h xfce4-settings-4.14.0/common/display-profiles.h --- xfce4-settings-4.14.0.orig/common/display-profiles.h 2019-08-11 22:18:14.000000000 +0200 +++ xfce4-settings-4.14.0/common/display-profiles.h 2019-08-16 23:06:17.851373571 +0200 @@ -25,4 +25,5 @@ gboolean display_settings_profile_name_exists (XfconfChannel *channel, const gchar *new_profile_name); GList* display_settings_get_profiles (gchar **display_infos, - XfconfChannel *channel); + XfconfChannel *channel, + guint noutput); diff -purN xfce4-settings-4.14.0.orig/dialogs/display-settings/main.c xfce4-settings-4.14.0/dialogs/display-settings/main.c --- xfce4-settings-4.14.0.orig/dialogs/display-settings/main.c 2019-08-11 22:18:14.000000000 +0200 +++ xfce4-settings-4.14.0/dialogs/display-settings/main.c 2019-08-16 23:06:51.709768379 +0200 @@ -1285,7 +1285,7 @@ display_settings_minimal_profile_populat profile_display1 = gtk_builder_get_object (builder, "display1"); display_infos = display_settings_get_display_infos (); - profiles = display_settings_get_profiles (display_infos, display_channel); + profiles = display_settings_get_profiles (display_infos, display_channel, xfce_randr->noutput); current = g_list_first (profiles); while (current) @@ -1385,7 +1385,7 @@ display_settings_profile_list_populate ( gtk_tree_view_set_model (GTK_TREE_VIEW (treeview), GTK_TREE_MODEL (store)); display_infos = display_settings_get_display_infos (); - profiles = display_settings_get_profiles (display_infos, display_channel); + profiles = display_settings_get_profiles (display_infos, display_channel, xfce_randr->noutput); /* Populate treeview */ current = g_list_first (profiles); diff -purN xfce4-settings-4.14.0.orig/xfsettingsd/displays.c xfce4-settings-4.14.0/xfsettingsd/displays.c --- xfce4-settings-4.14.0.orig/xfsettingsd/displays.c 2019-08-11 22:18:14.000000000 +0200 +++ xfce4-settings-4.14.0/xfsettingsd/displays.c 2019-08-16 23:07:24.287388469 +0200 @@ -472,7 +472,7 @@ xfce_displays_helper_get_matching_profil helper->resources->outputs); if (display_infos) { - profiles = display_settings_get_profiles (display_infos, helper->channel); + profiles = display_settings_get_profiles (display_infos, helper->channel, helper->resources->noutput); } if (profiles == NULL)