libreport/0001-gui-wizard-gtk-Wrap-event-log-messages.patch

33 lines
1.2 KiB
Diff
Raw Normal View History

2020-03-20 18:15:11 +00:00
From 1f14c9fa96937e589354589665eb8c64d6d16d80 Mon Sep 17 00:00:00 2001
From: Ernestas Kulik <ekulik@redhat.com>
Date: Fri, 20 Mar 2020 18:04:19 +0100
Subject: [PATCH] gui-wizard-gtk: Wrap event log messages
Currently, large logs received by abrt-retrace-client may cause
X/Wayland protocol errors due to an overly large buffer being allocated
for GtkTextView. Enabling word wrapping and eliminating horizontal
scrolling seems to prevent that from happening.
Cf. https://gitlab.gnome.org/GNOME/gtk/issues/1143
https://bugzilla.redhat.com/show_bug.cgi?id=1815544
---
src/gui-wizard-gtk/wizard.glade | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gui-wizard-gtk/wizard.glade b/src/gui-wizard-gtk/wizard.glade
index e86fc90b..f7782ba2 100644
--- a/src/gui-wizard-gtk/wizard.glade
+++ b/src/gui-wizard-gtk/wizard.glade
@@ -705,6 +705,7 @@
<property name="expand">True</property>
<property name="visible">True</property>
<property name="editable">False</property>
+ <property name="wrap-mode">word</property>
</object>
</child>
</object>
--
2.25.1