Open Bug 1660193 Opened 4 years ago Updated 3 years ago

Pasted table from LibreOffice is affecting mail text paragraph size

Categories

(MailNews Core :: Composition, defect)

defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: unami2020, Unassigned)

References

Details

Attachments

(1 file)

Attached image TB78 table issue.png

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0

Steps to reproduce:

1- Prepare table with multiple columns ans rows in LibreOffice Calc.
2- Compose new email with text and format size.
3- Past Table from Calc to TB under mail body text.

Actual results:

The size of mail body text size will be affected and shows smaller.

Expected results:

The size of mail body text should be same after pasting the table.

Component: Message Compose Window → Composition
Product: Thunderbird → MailNews Core
Summary: Past table from LibreOffice is affecting mail text paragraph size → Paste table from LibreOffice is affecting mail text paragraph size
Type: enhancement → defect
Severity: -- → S4
Summary: Paste table from LibreOffice is affecting mail text paragraph size → Pasted table from LibreOffice is affecting mail text paragraph size

What LibreOffice Calc produces would have to be smarter. Now it just gives the table markup + a <style> with e.g.

		body,div,table,thead,tbody,tfoot,tr,th,td,p { font-family:"Liberation Sans"; font-size:x-small }
		a.comment-indicator:hover + comment { background:#ffd; position:absolute; display:block; border:1px solid black; padding:0.5em;  } 
		a.comment-indicator { background:red; display:inline-block; border:1px solid black; width:0.5em; height:0.5em;  } 
		comment { display:none;  }</style>

... which will affect the whole document. Not a lot we can do about that, short of perhaps removing all <style> nodes for pastes.

Thanks Magnus, Do you suggest to contact LibreOffice team?

I'm not sure what the right solution is. Having the styles defined for each element gives the right (original) view. But could be quite elaborate and many times unwanted too.

I will try to contact LiberOffice team and will see their feedback, thanks.

(In reply to unami2020 from comment #4)

I will try to contact LiberOffice team and will see their feedback, thanks.

results?

Flags: needinfo?(unami2020)

Find below bug report:
Bug 136130
https://bugs.documentfoundation.org/show_bug.cgi?id=136130
Still no response from LO team.

Flags: needinfo?(unami2020)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: