Bug 66217 - Wrong formatting when pasting as HTML for a text copied from Notepad++ (win only)
Summary: Wrong formatting when pasting as HTML for a text copied from Notepad++ (win o...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Libreoffice (show other bugs)
Version: 4.0.3.3 release
Hardware: Other Windows (All)
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
: 71705 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-06-26 17:00 UTC by access2godzilla
Modified: 2014-01-28 20:27 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
clipboard contents of HTML format (1.41 KB, text/html)
2014-01-28 13:43 UTC, Maxim Monastirsky
Details

Description access2godzilla 2013-06-26 17:00:41 UTC
Steps to reproduce:

1. Copy a syntax highlighted file (such as a C++ source file) from Notepad++ by selecting text and right click -> Plugin commands -> Copy text with syntax highlighting

2. Paste in LO.

Expected results:

The formatting is the same as appears in Notepad++.

Observed results:

Wrong formatting with no colouring.

Notes:

Other applications like MS Office and Thunderbird etc. have the correct formatting.
Comment 1 access2godzilla 2013-07-02 13:35:23 UTC
The "Paste Special" > "Formatted text [RTF]" prints the colours well but does not yield the background colours.
Comment 2 tommy27 2014-01-25 10:08:19 UTC
please attach a test Notepad++ file with the features needed to reproduce the bug.
Comment 3 foss 2014-01-27 10:16:13 UTC
OS: windows, since Notepad++ is a win only app.
Comment 4 Dennis Roczek 2014-01-27 22:20:53 UTC
*** Bug 71705 has been marked as a duplicate of this bug. ***
Comment 5 Maxim Monastirsky 2014-01-28 13:41:24 UTC
Confirmed with master under Windows 7. The problem is only with HTML clipboard format, not with RTF (like in comment 1).
Comment 6 Maxim Monastirsky 2014-01-28 13:43:23 UTC
Created attachment 92926 [details]
clipboard contents of HTML format

I'm attaching the HTML data put to clipboard by Notepad++
Comment 7 Urmas 2014-01-28 16:42:47 UTC
Probably related to 59770?
Comment 8 Maxim Monastirsky 2014-01-28 20:27:22 UTC
(In reply to comment #7)
> Probably related to 59770?
Both happen because LO prefer HTML clipboard format over RTF, but probably the bugs in the HTML handling code are different.


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.