Newline characters are replaced by spaces, after copy & paste with Ctrl+A, in all signature messages

UNCONFIRMED
Unassigned

Status

Thunderbird
General
UNCONFIRMED
6 years ago
6 years ago

People

(Reporter: Your_real_name, Unassigned)

Tracking

15 Branch
x86
Windows 7

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: support?)

(Reporter)

Description

6 years ago
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:15.0) Gecko/20100101 Firefox/15.0
Build ID: 20120824154833

Steps to reproduce:

Environment: Windows XP SP 3 Japanese edition / Windows 7 SP 1 Japanese edition
Thunderbird 15 Japanese edition

Rate of incidence: 100%

A bug "a new line mark replaces a space mark" occurs with following methods.
- You make a following signature, and make an E-mail with the signature. It is a fictitious person and a fictitious E-mail.

An example of a signature:
############################################################
To :
Cc :
From :

----------------------------------------
Toyonami business affairs
Supply department, Yamazaki
E-mail address: yamazaki@toyonami.co.jp
----------------------------------------
############################################################

An example of an E-mail: (Note: The top sign "-- " is included.)
############################################################

-- 
To : Sales department, Mr. Watanabe
Cc :
From : Supply department, Yamazaki

Hello.
I created a data about the affair of sales promotion.
Please look at attachment data.

[Attachment] 
For_sales_promotion_Sept,2012.ppt

----------------------------------------
Toyonami business affairs
Supply department, Yamazaki
E-mail address: yamazaki@toyonami.co.jp
----------------------------------------
############################################################

- You save it, not sending.
- You look at the saved E-mail.
- But, you must not "edit again".
- You use a shortcut key "Ctrl + a" for selecting of all.
- You use a shortcut key "Ctrl + c" for copy.
- You paste it to a certain text editor.


Actual results:

- And, you can look that all new-line marks are replacing all space marks.



Expected results:

Correctly, a new-line mark should keep as itself.
Your_real_name (reporter), thanks for your effort to report your issue.

It is not easy to understand your problem. Can you use "add an attachment" on top of this bug and add a screenshot showing your problem?

I understand that reporter composes with a plaintext signature and at some point, all newline characters of the signature *are replaced by* space characters, which makes the signature messed up and unreadable. So initially, signature has newlines, but later, same signature has spaces instead of newlines. Is that correct?

Can you try if the following instruction solves your problem?

1) Tools > Account Settings > YourAccount (which exhibits the bug) > Account Settings > Signature Text
2) Remove the checkmark for "Use HTML" checkbox (switch that option OFF)
3) Click OK at bottom of Account Settings dialogue
4) Compose using your steps
5) Problem still occurs?

If yes, how do you attach your signature?
- signature text typed into account settings?
- "attach signature from a file instead"? Details of file type, name?
Whiteboard: support?
(Reporter)

Comment 2

6 years ago
It explains supplementarily.
I have set all the settings to "a plain text format".
And, the following sentence is the sample of the result generated by the bug.

**************************************************

-- To : Sales department, Mr. Watanabe Cc : >From : Supply department, Yamazaki Hello. I created a data about the affair of sales promotion. Please look at attachment data. [Attachment] For_sales_promotion_Sept,2012.ppt ---------------------------------------- Toyonami business affairs Supply department, Yamazaki E-mail address: yamazaki@toyonami.co.jp ----------------------------------------

**************************************************

Note: this bug may occur in only the Japanese and Windows edition.
Yorena (short for Your_real_name, reporter), thanks for supplementary information. Can you please answer exactly all of my questions of comment 1 (see above)?

Furthermore, can you explain details of your procedure how you put the message text ("Hello, I created a data...") into the middle of the signature?
(Reporter)

Comment 4

6 years ago
I am the bug reporter. I am a Japanese people.
I will answer your question.
But, please understand that I am not good at English.

----------------------------------------
# Additional explanation
Before I report this bug in the Bugzilla, I have posted a question for this bug at Japanese Mozillazine forums (http://forums.mozillazine.jp/viewtopic.php?t=13376&start=15&postdays=0&postorder=asc&highlight=).
In there, many Japanese people have said that the same bug occurred.
So, if this bug cannot occur at your environment, it must occur only the Japanese edition of Thunderbird.

----------------------------------------
Question: how do you attach your signature?
- signature text typed into account settings?
- "attach signature from a file instead"? Details of file type, name?

Answer:
I attach my signature with both methods.
I sometimes write signature directly, and sometimes use a file for a signature.
This bug occurs with both methods.

----------------------------------------
Question: Remove the checkmark for "Use HTML" checkbox (switch that option OFF)?

Answer: Yes, I never write HTML-formatted E-mails. Because my company has forbidden HTML-formatted E-mails.
(In reply to Your_real_name from comment #4)
> I am the bug reporter. I am a Japanese people.
> I will answer your question.
> But, please understand that I am not good at English.

Yorena, thanks for quick reply! I appreciate the language problem. It is another reason for me to insist on separate answers for each little question, to ensure we are talking about the same thing.

> ----------------------------------------
> # Additional explanation
> Before I report this bug in the Bugzilla, I have posted a question for this
> bug at Japanese Mozillazine forums
> (http://forums.mozillazine.jp/viewtopic.
> php?t=13376&start=15&postdays=0&postorder=asc&highlight=).
> In there, many Japanese people have said that the same bug occurred.
> So, if this bug cannot occur at your environment, it must occur only the
> Japanese edition of Thunderbird.

Point taken. I understand that perhaps this only occurs in the Japanese edition. But perhaps it occurs in English edition, too. I still do not fully understand all of your configuration and your scenario which leads to the bug. So I need to ask more questions to fully understand what you are doing when it happens.
I'll also invite someone to test the Japanese version.

> ----------------------------------------
> Question: how do you attach your signature?
> - signature text typed into account settings?
> - "attach signature from a file instead"? Details of file type, name?
> 
> Answer:
> I attach my signature with both methods.
> I sometimes write signature directly, and sometimes use a file for a
> signature.
> This bug occurs with both methods.

Thanks. That's helpful information.

> ----------------------------------------
> Question: Remove the checkmark for "Use HTML" checkbox (switch that option
> OFF)?
> 
> Answer: Yes, I never write HTML-formatted E-mails. Because my company has
> forbidden HTML-formatted E-mails.

Well, I'm not sure if that answers my question, there are many different places where we have HTML settings!
Can you report the value of exactly this particular setting (please start from TB's main menu, then follow this path and find the setting!):

Tools > Account Settings > YourAccount (which exhibits the bug) > Account Settings > Signature Text > [ ] Use HTML

The checkbox for "Signature Text: [ ] Use HTML", is it checked (ON) or unchecked (OFF) for the account with which you are sending the mails which cause the bug?

> - "attach signature from a file instead"? Details of file type, name?

You skipped the second question (Details...): When you use a file as signature, is it a file of this type?
- text format
- .txt file extension

Can you answer the following question from comment 3?
> Furthermore, can you explain details of your procedure how you put the
> message text ("Hello, I created a data...") into the middle of the signature?
I don't understand why your message text is inside the signature, and how/when you put it there. Pls explain.

We need to double-check every detail to understand your situation for correct reproduction and because very often, a problem of "bug" can be wrong setting or wrong understanding by user.
WADA, could you please test this on a Japanese version and report your findings?
I'm not sure if I fully understand this bug, maybe you can sort this out with reporter via PM more easily in Japanese... ;)
Summary: Bug "a new line mark replaces a space mark, after copy & paste with ctrl + a, in all signature message" → Newline characters are replaced by spaces, after copy & paste with Ctrl+A, in all signature messages
(In reply to Thomas D. from comment #6)

I still can't understand what bug opener actually did and what actually happened at where, although I'm suspecting phenomenon like next;
( [LF]=0x0A, [CRLF]=0x0D0A, [NL]=one of 0x0A, 0x0D, 0x0D0A)
- A line consists of string+[LF] instead of string+[CRLF].
  notepad.exe shows these lines as single line.
- format=flowed, so pasted "-- [NL]string1[NL]...stringN[NL]..." is flowwed. 
And, I can't kinow base of "Note: this bug may occur in only the Japanese and Windows edition" form problem descriptions by bug opener. I can't imagne reason why "Japanese MS Windows only problem".
Further, even though problem occurs with pre-defined signature file and you already requested to attach actually used signature file, bug opener still doesn't provide actual signature file data what produced problem.  

How we can do duplication test even though still unclear steps to reproduce? Why should I do test to know "Japanese MS Windows only problem or not" even though it's pretty uncertain?
(Reporter)

Comment 8

6 years ago
----------------------------------------
I did not mean to ignore some questions.
I could not only understand them.
----------------------------------------
Question:
The checkbox for "Signature Text: [ ] Use HTML", is it checked (ON) or unchecked (OFF) for the account with which you are sending the mails which cause the bug?

Answer:
I confirmed that this bug occurs on both settings.
This bug occurs irrespective of a setup.
Of course, when I use HTML format, I added "<br>" to the end of each line.

----------------------------------------
Question:
is it a file of this type?
- text format
- .txt file extension

Yes, the file type of the signature is "*.txt".
Additionally, I tried character code of two types, S-JIS, and UTF-8.
This bug occurred on both types of character code.

----------------------------------------
Question:
I don't understand why your message text is inside the signature, and how/when you put it there. Pls explain.

Answer:
I cannot fully understand your explanation. Therefore, I will answer about it with my intuition.
My signature consists of "header part" and "footer part".
So, the body part of the message is justly inside in the signature.
Many people in the world use their signature as header, footer, or both of them.

----------------------------------------
I have felt easy to hear the name of WADA.
Because it is typical Japanese name.
I hope that WADA will read Japanese Mozillazine forums (http://forums.mozillazine.jp/viewtopic.php?t=13376&postdays=0&postorder=asc&start=0).
And, WADA may supplement lack of my explanation, or my misunderstandings.
You need to log in before you can comment on or make changes to this bug.