Bug 68151 - EDITING: Copy/pasting non-breaking space from browser into Find & replace tool
Summary: EDITING: Copy/pasting non-breaking space from browser into Find & replace tool
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Whiteboard: BSA
Depends on:
Reported: 2013-08-15 15:16 UTC by Thomas Boitel
Modified: 2014-06-16 11:36 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:
Regression By:


Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Boitel 2013-08-15 15:16:39 UTC
Non-breaking spaces can be copy/pasted from the browser to the document content, but not to the Find or "Replace with" fields of the Find & replace tool, making it difficult to write tutorials for operations where the user needs to search for or replace non-breaking spaces.

Steps to reproduce:
1. Copy string containing non-breaking space from a web page.
2. Paste into "Replace with field"

Current behavior:

The space becomes a normal space (copy it from the "replace with" field and paste it into document to verify).

Expected behavior:

The space should remain a non-breakable space

Workaround :

Pasting first into the document, then copying it from the document and into the Find & replace tools conserves the non-breaking space.

Operating System: All
Version: release
Comment 1 Jean-Baptiste Faure 2013-11-13 20:41:55 UTC
Reproducible with LibreOffice under Ubuntu 13.10 x86-64.

Best regards. JBF
Comment 2 Caolán McNamara 2014-06-16 11:36:12 UTC
It's not our bug. When requesting plain text format from firefox (for pasting into those textboxes) firefox provides the text with the non-breaking spaces already converted into regular spaces. See https://bugzilla.mozilla.org/show_bug.cgi?id=359303

If you paste as html from firefox into writer, the non-breaking spaces are provided, and then if you copy that text from writer into find and replace we transport the non-breaking-space through just fine.