Bug 87765 - PASTE: HTML formatted text pasted from Chromium, Midori, Opera Does Not Retain Indentation
Summary: PASTE: HTML formatted text pasted from Chromium, Midori, Opera Does Not Retai...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: HTML-Paste
  Show dependency treegraph
 
Reported: 2014-12-27 14:34 UTC by Yousuf Philips (jay) (retired)
Modified: 2024-06-02 16:31 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
how the paste looks (49.22 KB, image/png)
2014-12-27 14:34 UTC, Yousuf Philips (jay) (retired)
Details
Good Looking Paste (15.96 KB, application/vnd.oasis.opendocument.text)
2014-12-30 19:41 UTC, Joel Madero
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2014-12-27 14:34:55 UTC
Created attachment 111397 [details]
how the paste looks

Steps:
1) Goto https://wiki.documentfoundation.org/Documentation/RecentStringChanges
2) Copy some text (e.g. the 4.4 section until 'Edit Menu > Changes')
3) Open Writer
4) Paste
5) Notice the bullet indentation before and after each bullet is not retained

Version: 4.5.0.0.alpha0+
Build ID: e570cd7a293ceee175949dcc9656cdf776ae3c37
TinderBox: Linux-rpm_deb-x86@45-TDF, Branch:master, Time: 2014-12-12_18:49:54
Comment 1 Joel Madero 2014-12-30 19:41:11 UTC
ubuntu 14.04
LibreOffice 4.4 beta2

Looks fine - see attachment.
Comment 2 Joel Madero 2014-12-30 19:41:42 UTC
Created attachment 111533 [details]
Good Looking Paste
Comment 3 Yousuf Philips (jay) (retired) 2014-12-30 20:02:25 UTC
So pasting in Calligra Words and WPS on linux retained the bullet indenting, pasting on Windows in MS Word 2013 retained it as well.

The problem seems to be html coming from the Chromium/Chrome browser and LO not being able to handle it correctly.
Comment 4 Joel Madero 2014-12-30 20:05:02 UTC
Apparently every browser copies the stuff differently. So the request is to have special rules that detect how different browsers copy bullets.

Firefox - works fine;
Chromium - busted (see Jay's picture)
Chrome - same as chromium
Midori - worse than chromium;
Opera - about as bad as Midori.

Setting as:
New
Minor - can slow down professional quality work but won't prevent it;
Medium - seems like this might impact enough people to increase from low.
Comment 5 QA Administrators 2016-01-17 20:04:52 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2017-03-06 14:31:58 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2021-04-07 03:53:17 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2023-04-08 03:25:26 UTC Comment hidden (obsolete)
Comment 9 Buovjaga 2024-06-02 16:31:20 UTC
Still repro with Chromium on master.