#1033495 libvte-2.91-0: Ctrl+Shift+A select only last lines shown on screen, not whole scrollback

Package:
libvte-2.91-0
Source:
libvte-2.91-0
Description:
Terminal emulator widget for GTK+ 3.0 - runtime files
Submitter:
Norbert
Date:
2023-03-26 08:09:04 UTC
Severity:
normal
#1033495#5
Date:
2023-03-26 08:07:28 UTC
From:
To:
Dear Maintainer,

This bug is caused by this commit in VTE -
https://gitlab.gnome.org/GNOME/vte/-/commit/caf8a6a7a17a3f70fa5fc611c71ffb27a5cfee75
.

In Ubuntu it is reported as https://pad.lv/1922276 , in VTE -
https://gitlab.gnome.org/GNOME/vte/-/issues/2504 , in MATE -
https://github.com/mate-desktop/mate-terminal/issues/372 .

Debian 10 (buster) is not affected by this bug.

Steps to reproduce:
1. Install Debian 11 with task-mate-desktop
2. Launch MATE Terminal
3. Enable Unlimited scrollback (Edit - Profile Preferences - Scrolling,
Scrollback - Unlimited)
4. Ask terminal to show long output - `ls -1 /bin`
5. Click Edit - Select All (or <Shift>+<Ctrl>+<A>), then Edit - Copy (or press
<Shift>+<Ctrl>+<C>)
6. Open any text editor to paste clipboard contents into it

Expected result:
* full scrollback was copied from `user@host:~$ ls -1 /bin` to `user@host:~$`

Actual result:
* only last 24 lines were copied (depends on terminal size)

Upcoming Debian 12 (bookworm) is affected too. Please communicate with upstream
and fix this bug completely.