From a19f4b8c80d37f0940a6d7a0ba127ec9740cd6db Mon Sep 17 00:00:00 2001
From: Wolfgang Müller
Date: Fri, 18 Jun 2021 16:15:04 +0200
Subject: Use GtkBox and GtkScrollbar instead of GtkScrolledWindow
Upstream indicates that VTE is incompatible with GtkScrolledWindow.
See [1] and [2] for more information.
This commit contains a proof-of-concept implementation of an alternative
solution using a GtkBox as the toplevel element.
[1] https://gitlab.gnome.org/GNOME/vte/issues/11#note_264921
[2] https://bugzilla.gnome.org/show_bug.cgi?id=733210#c2
---
terminal.ui | 248 ++++++++++++++++++++++++++++++++----------------------------
1 file changed, 132 insertions(+), 116 deletions(-)
(limited to 'terminal.ui')
diff --git a/terminal.ui b/terminal.ui
index c22fbec..bf3d8de 100644
--- a/terminal.ui
+++ b/terminal.ui
@@ -116,15 +116,13 @@
False
go-up-symbolic
-
+
True
False
-
-
-
- True
- False
- end
- end
- slide-up
-
-
+
+
True
False
- 5
- 5
- 5
- 5
- 2
+ end
+ end
+ slide-up
-
+
True
- True
- edit-find-symbolic
- False
- False
- Search...
-
-
-
-
-
-
+ False
+ 5
+ 5
+ 5
+ 5
+ 2
+
+
+ True
+ True
+ edit-find-symbolic
+ False
+ False
+ Search...
+
+
+
+
+
+
+
+
+ True
+ True
+ 0
+
+
+
+
+ True
+ True
+ True
+ Go to next result
+ search_image_down
+ True
+
+
+
+ False
+ True
+ 1
+
+
+
+
+ True
+ True
+ True
+ Go to previous result
+ search_image_up
+ True
+
+
+
+ False
+ True
+ end
+ 2
+
+
-
- True
- True
- 0
-
-
-
- True
- True
- True
- Go to next result
- search_image_down
- True
-
+
+
+ 1
+
+
+
+
+ True
+ False
+ end
+ True
+ False
+
+
+
+
+ False
+ 6
+ end
+
+
+
False
- True
- 1
+ False
+ 0
-
-
- True
- True
- True
- Go to previous result
- search_image_up
- True
-
+
+
+ False
+ 16
+
+
+ True
+ False
+ Sample Error Message
+ True
+ True
+
+
+ False
+ True
+ 0
+
+
False
- True
+ False
end
- 2
+ 0
+
+
+
+
+ 2
+
- 1
+ True
+ True
+ 0
-
-
+
+
True
False
- end
- True
- False
-
-
-
-
- False
- 6
- end
-
-
-
-
-
- False
- False
- 0
-
-
-
-
- False
- 16
-
-
- True
- False
- Sample Error Message
- True
- True
-
-
- False
- True
- 0
-
-
-
-
- False
- False
- end
- 0
-
-
-
-
-
+ True
+ vertical
- 2
+ False
+ True
+ 1
--
cgit v1.2.3-2-gb3c3