Copy and pasting from email in "edit" mode mangles some lines

Bug #1691796 reported by Simon Déziel
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
thunderbird (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Steps to reproduce:

1) select a reply email (one with lines starting with ">")
2) type "Ctrl-e" to open it in edit mode
3) highlight the body text including some lines beginning with ">"
4) paste the text in gedit or another editor
5) notices the lines surrounding those starting with ">" are mangled

For example, if a replay email contains this:

 On 2017-05-11 04:19 PM, John wrote:
 > FYI, I rebooted the server

 Thanks John

Copy and pasting this from the "edit" mode will result in the following:

 On 2017-05-11 04:19 PM, John wrote:> FYI, I rebooted the server
 Thanks John

I'm pretty sure this is a regression introduced when I upgraded from 1:45.8.0+build1-0ubuntu0.16.04.1 to 1:52.1.1+build1-0ubuntu0.16.04.1 as I do that operation on a daily basis. Note that if you don't go into the edit more, you can (now?) copy and paste and it will preserve the ">" lines and formatting.

Additional information:

$ apt-cache policy thunderbird
thunderbird:
  Installed: 1:52.1.1+build1-0ubuntu0.16.04.1
  Candidate: 1:52.1.1+build1-0ubuntu0.16.04.1
  Version table:
 *** 1:52.1.1+build1-0ubuntu0.16.04.1 500
        500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
        100 /var/lib/dpkg/status
     1:38.6.0+build1-0ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages

$ lsb_release -rd
Description: Ubuntu 16.04.2 LTS
Release: 16.04

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: thunderbird 1:52.1.1+build1-0ubuntu0.16.04.1
ProcVersionSignature: Ubuntu 4.4.0-78.99-generic 4.4.62
Uname: Linux 4.4.0-78-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
AddonCompatCheckDisabled: False
ApportVersion: 2.20.1-0ubuntu2.6
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/pcmC0D0p: simon 5882 F...m pulseaudio
 /dev/snd/controlC0: simon 5882 F.... pulseaudio
BuildID: 20170510141111
Channel: Unavailable
CurrentDesktop: Unity
CurrentDmesg: Error: command ['dmesg'] failed with exit code 1: dmesg: read kernel buffer failed: Operation not permitted
Date: Thu May 18 11:58:48 2017
Extensions: extensions.sqlite corrupt or missing
ForcedLayersAccel: False
IncompatibleExtensions: Unavailable (corrupt or non-existant compatibility.ini or extensions.sqlite)
InstallationDate: Installed on 2016-12-06 (162 days ago)
InstallationMedia: Ubuntu-Server 16.04.1 LTS "Xenial Xerus" - Beta amd64 (20161206)
Locales: extensions.sqlite corrupt or missing
MostRecentCrashID: bp-7698df53-f14c-4728-baf1-3cbef2170123
PrefSources:
 prefs.js
 /usr/lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/defaults/preferences/lightning.js
 /usr/share/xul-ext/enigmail/defaults/preferences/enigmail.js
 /usr/share/xul-ext/enigmail/defaults/preferences/000system.js
Profiles: Profile0 (Default) - LastVersion=52.1.1/20170510141111 (In use)
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
RunningIncompatibleAddons: False
SourcePackage: thunderbird
SubmittedCrashIDs:
 bp-7698df53-f14c-4728-baf1-3cbef2170123
 bp-78fc0906-a06c-4941-9e18-1ad6c2160618
 bp-a9f78953-eacb-4b6e-8c4a-55e332160118
Themes: extensions.sqlite corrupt or missing
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/17/2017
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 5.12
dmi.board.asset.tag: Tag 12345
dmi.board.name: Lemur
dmi.board.vendor: System76
dmi.board.version: lemu7
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: System76
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr5.12:bd02/17/2017:svnSystem76:pnLemur:pvrlemu7:rvnSystem76:rnLemur:rvrlemu7:cvnSystem76:ct10:cvrN/A:
dmi.product.name: Lemur
dmi.product.version: lemu7
dmi.sys.vendor: System76

Revision history for this message
Simon Déziel (sdeziel) wrote :
Revision history for this message
gf (gf-interlinks-deactivatedaccount) wrote :

Hello Simon,
Thank you for submitting this bug and reporting a problem with Thunderbird. You made this bug report over a year ago and there have been several versions of Ubuntu and Thunderbird since then.

Could you confirm that this is no longer a problem and that we can close the ticket?
If it is still a problem, are you still interested in finding a solution to this bug?
If you are, could you run the following (only once):
apport-collect BUGNUMBER
and upload the updated logs and and any other logs that are relevant for this particular issue.

Thank you again for helping make Ubuntu and Thunderbird better.
G

Changed in thunderbird (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for thunderbird (Ubuntu) because there has been no activity for 60 days.]

Changed in thunderbird (Ubuntu):
status: Incomplete → Expired
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.