Version in base suite: 0.70.6-1~deb12u1 Base version: vte2.91_0.70.6-1~deb12u1 Target version: vte2.91_0.70.6-2~deb12u1 Base file: /srv/ftp-master.debian.org/ftp/pool/main/v/vte2.91/vte2.91_0.70.6-1~deb12u1.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/v/vte2.91/vte2.91_0.70.6-2~deb12u1.dsc changelog | 17 ++ patches/series | 1 patches/widget-Invalidate-ringview-when-the-invalidating.patch | 69 ++++++++++ 3 files changed, 87 insertions(+) diff -Nru vte2.91-0.70.6/debian/changelog vte2.91-0.70.6/debian/changelog --- vte2.91-0.70.6/debian/changelog 2023-06-14 11:17:06.000000000 +0000 +++ vte2.91-0.70.6/debian/changelog 2023-08-09 12:01:27.000000000 +0000 @@ -1,3 +1,20 @@ +vte2.91 (0.70.6-2~deb12u1) bookworm; urgency=medium + + * Team upload + * Rebuild for bookworm (Closes: #1040049) + + -- Simon McVittie Wed, 09 Aug 2023 13:01:27 +0100 + +vte2.91 (0.70.6-2) unstable; urgency=medium + + * Team upload + * d/p/widget-Invalidate-ringview-when-the-invalidating.patch: + Add patch from upstream git to invalidate ring view more often when + necessary, fixing various assertion failures during event handling + (Closes: #1040049) + + -- Simon McVittie Fri, 14 Jul 2023 11:31:40 +0100 + vte2.91 (0.70.6-1~deb12u1) bookworm; urgency=medium * Team upload diff -Nru vte2.91-0.70.6/debian/patches/series vte2.91-0.70.6/debian/patches/series --- vte2.91-0.70.6/debian/patches/series 2023-06-14 11:17:06.000000000 +0000 +++ vte2.91-0.70.6/debian/patches/series 2023-08-09 12:01:27.000000000 +0000 @@ -1 +1,2 @@ +widget-Invalidate-ringview-when-the-invalidating.patch Allow-background-color-and-color-on-VteTerminal-widgets-t.patch diff -Nru vte2.91-0.70.6/debian/patches/widget-Invalidate-ringview-when-the-invalidating.patch vte2.91-0.70.6/debian/patches/widget-Invalidate-ringview-when-the-invalidating.patch --- vte2.91-0.70.6/debian/patches/widget-Invalidate-ringview-when-the-invalidating.patch 1970-01-01 00:00:00.000000000 +0000 +++ vte2.91-0.70.6/debian/patches/widget-Invalidate-ringview-when-the-invalidating.patch 2023-08-09 12:01:27.000000000 +0000 @@ -0,0 +1,69 @@ +From: Egmont Koblinger +Date: Thu, 13 Jul 2023 21:59:29 +0200 +Subject: widget: Invalidate ringview when the invalidating + +When the ringview is not invalidated when the ring has changed leads to +failed assertion aborts when handling events, e.g. vte#2636, vte#2637, +vte#2632, vte#2577. + +Bug: https://gitlab.gnome.org/GNOME/vte/-/issues/2636 +Bug: https://gitlab.gnome.org/GNOME/vte/-/issues/2637 +Bug-Debian: https://bugs.debian.org/1040049 +Applied-upstream: 0.73.0, commit:461bc3e43c819fa0e3b62d0cf40ef533a69cc7f7 +--- + src/vte.cc | 13 +++++++++++++ + 1 file changed, 13 insertions(+) + +diff --git a/src/vte.cc b/src/vte.cc +index b8e15d7..561cc42 100644 +--- a/src/vte.cc ++++ b/src/vte.cc +@@ -2050,6 +2050,7 @@ Terminal::queue_adjustment_value_changed(double v) + _vte_debug_print(VTE_DEBUG_ADJ, + "Scrolling by %f\n", dy); + ++ m_ringview.invalidate(); + invalidate_all(); + match_contents_clear(); + emit_text_scrolled(dy); +@@ -2899,6 +2900,9 @@ Terminal::drop_scrollback() + if (m_screen == &m_normal_screen) { + queue_adjustment_value_changed(m_normal_screen.insert_delta); + adjust_adjustments_full(); ++ m_ringview.invalidate(); ++ invalidate_all(); ++ match_contents_clear(); + } + } + +@@ -7548,6 +7552,9 @@ Terminal::set_size(long columns, + gtk_widget_queue_resize(m_widget); // FIXMEgtk4? + #endif + ++ m_ringview.invalidate(); ++ invalidate_all(); ++ match_contents_clear(); + /* Our visible text changed. */ + emit_text_modified(); + } +@@ -9780,6 +9787,10 @@ Terminal::set_scrollback_lines(long lines) + queue_adjustment_value_changed(scroll_delta); + adjust_adjustments_full(); + ++ m_ringview.invalidate(); ++ invalidate_all(); ++ match_contents_clear(); ++ + return true; + } + +@@ -9962,7 +9973,9 @@ Terminal::reset(bool clear_tabstops, + /* BiDi */ + m_bidi_rtl = FALSE; + /* Cause everything to be redrawn (or cleared). */ ++ m_ringview.invalidate(); + invalidate_all(); ++ match_contents_clear(); + + /* Reset XTerm window controls */ + m_xterm_wm_iconified = false;