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

Bug #1691796 reported by Simon Déziel on 2017-05-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
thunderbird (Ubuntu)
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

Simon Déziel (sdeziel) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers