GNOME Console doesn't copy last line

Bug #2002926 reported by Jeremy Bícha
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
vte2.91 (Ubuntu)
Fix Released
High
Unassigned
Kinetic
Fix Released
High
Unassigned

Bug Description

Impact
------
GNOME Console 43 has switched to GTK4 and the final line of text isn't being copied. If there is only one line you are trying to copy, the clipboard is apparently empty.

Test Case
---------
Install the updated vte packages and gnome-console.

Run the Console app.

Run this command:
cat /etc/os-release

Copy a selection that includes the end of the line. One easy way to do this is to triple-click the line. Then right-click and choose Copy.

Then right-click and choose Paste.

All the lines should be pasted including the final line.

What Could Go Wrong
-------------------
This is a one line fix that modifies a function (vte_terminal_get_text_selected) that is only used by GNOME Builder and GNOME Console. (GNOME Builder is affected by the same bug).

Neither GNOME Builder nor GNOME Console are included by default in any Ubuntu flavor. GNOME Console may replace GNOME Terminal as the default terminal app for Ubuntu Desktop in a future Ubuntu release. This bug was a blocker for that happening.

Jeremy Bícha (jbicha)
Changed in vte2.91 (Ubuntu Kinetic):
importance: Undecided → High
Jeremy Bícha (jbicha)
description: updated
Changed in vte2.91 (Ubuntu Kinetic):
status: New → In Progress
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package vte2.91 - 0.70.2-2

---------------
vte2.91 (0.70.2-2) unstable; urgency=high

  * Cherry-pick fix for GNOME Console 43 copying last line (Closes: #1017015)
    (LP: #2002926)

 -- Jeremy Bicha <email address hidden> Sun, 15 Jan 2023 19:27:32 -0500

Changed in vte2.91 (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Jeremy, or anyone else affected,

Accepted vte2.91 into kinetic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/vte2.91/0.70.0-1ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-kinetic to verification-done-kinetic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-kinetic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in vte2.91 (Ubuntu Kinetic):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-kinetic
Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (vte2.91/0.70.0-1ubuntu1)

All autopkgtests for the newly accepted vte2.91 (0.70.0-1ubuntu1) for kinetic have finished running.
The following regressions have been reported in tests triggered by the package:

aptdaemon/1.1.1+bzr982-0ubuntu39 (amd64)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/kinetic/update_excuses.html#vte2.91

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

Revision history for this message
Jeremy Bícha (jbicha) wrote :

The autopkgtests passed after being retried.

I installed the vte2.91 0.70.0-1ubuntu1 packages and successfully completed the test case.

tags: added: verification-done verification-done-kinetic
removed: verification-needed verification-needed-kinetic
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package vte2.91 - 0.70.0-1ubuntu1

---------------
vte2.91 (0.70.0-1ubuntu1) kinetic; urgency=medium

  * Cherry-pick fix for GNOME Console 43 copying last line (Closes: #1017015)
    (LP: #2002926)

 -- Jeremy Bicha <email address hidden> Sun, 15 Jan 2023 19:57:34 -0500

Changed in vte2.91 (Ubuntu Kinetic):
status: Fix Committed → Fix Released
Revision history for this message
Chris Halse Rogers (raof) wrote : Update Released

The verification of the Stable Release Update for vte2.91 has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.