--- zenity-3.8.0.orig/src/msg.c	2012-09-26 00:46:33.000000000 +0200
+++ zenity-3.8.0/src/msg.c	2014-08-05 12:13:45.277182424 +0200
@@ -51,6 +51,33 @@
   }
 }
 
+static void
+zenity_label_widget_clipboard_selection_hotfix(GtkWidget *widget)
+{
+  /* Workaround hotfix for suspected toolkit issue:
+     since focus change of the dialog's focussed widget (text)
+     somehow currently chooses to destroy
+     a pre-existing (read: foreign, user-initiated) X11 primary selection
+     (via gtk_label_select_region() -> ...
+     -> gtk_clipboard_set_contents()/gtk_clipboard_clear()),
+     we need to ensure
+     that the widget does have its gtk-label-select-on-focus property off,
+     in order to avoid having the label become selected automatically
+     and thereby having pre-existing clipboard content nullified.
+     Side note: this selection issue only applies to widgets
+     which have both
+                  <property name="can_focus">True</property>
+                  <property name="selectable">True</property>
+     .
+   */
+  g_object_set(gtk_widget_get_settings (widget),
+               /* note: label-specific property name!
+                  Corresponding entry one would be gtk-entry-... */
+               "gtk-label-select-on-focus",
+               FALSE,
+               NULL);
+}
+
 void 
 zenity_msg (ZenityData *data, ZenityMsgData *msg_data)
 {
@@ -157,6 +184,7 @@
       gtk_label_set_text (GTK_LABEL (text), msg_data->dialog_text);
     else 
       gtk_label_set_markup (GTK_LABEL (text), g_strcompress (msg_data->dialog_text));
+    zenity_label_widget_clipboard_selection_hotfix(GTK_WIDGET (text));
   }
 
   if (msg_data->dialog_icon)
