Bug 87765

Summary: PASTE: HTML formatted text pasted from Chromium, Midori, Opera Does Not Retain Indentation
Product: LibreOffice Reporter: Jay Philips <philipz85>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: minor    
Priority: medium CC: jmadero.dev
Version: Inherited From OOo   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: how the paste looks
Good Looking Paste

Description Jay Philips 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 Jay Philips 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.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.