Bug 36958 - Undo does not reset text format after inserting formatted text at end of paragraph
Summary: Undo does not reset text format after inserting formatted text at end of para...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 60051 61926 116005 124222 (view as bug list)
Depends on:
Blocks: Undo-Redo
  Show dependency treegraph
 
Reported: 2011-05-08 02:50 UTC by Martin
Modified: 2019-04-08 20:11 UTC (History)
8 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin 2011-05-08 02:50:51 UTC
Example:

1. Write a line of text with format a:

xxxxxx

2. Write another line of text with different format (e.g. bold):

yyy (<= bold)

3. Copy the second text ("yyy", Ctrl+C)

4. Insert at end of paragraph of first line (Ctrl+V):

xxxxxxyyy (yyy is bold)

5. Undo (Ctrl+Z):

xxxxxx (same as 1.)

6. Insert unformatted text at eop of line 1 (Ctrl+Shift+V):

Observed behavior:
xxxxxxyyy (yyy is bold, same apperance as in 4.)

Expected Behavior:
xxxxxxyyy (whole text same format as xxxxxxx)

This behavior does not appear by inserting the formatted text at any position bevore end of paragraph.
Comment 1 Björn Michaelsen 2011-12-23 12:01:25 UTC Comment hidden (obsolete)
Comment 2 Michael Kleidt 2012-06-05 10:34:40 UTC Comment hidden (obsolete)
Comment 3 Joel Madero 2013-03-07 17:22:32 UTC
*** Bug 61926 has been marked as a duplicate of this bug. ***
Comment 4 Joel Madero 2013-03-07 17:27:36 UTC
Changing priority:

Minor - doesn't prevent high quality work, just slows it down a little

Low - default for minor bugs, easy work around, doesn't slow down work that much
Comment 5 Michael Kleidt 2015-01-06 07:53:13 UTC
Confirmed.

LibO: 4.3.5.2 Build ID: 3a87456aaa6a95c63eea1c1b3201acedf0751bd5 (32 bit)
on Win7 Pro SP1 (64 bit)

The problem only occur if the cursor is at the end of a paragraph (end of document, end of a table cell (see #50713), ...) but not in the middle of a text.

And it is very annoying, because you always have to ensure, that you have at least a space after the cursor on paste, or you have to change manually the formating after inserting text with different formatting! So I do not agree with comment 4.
Comment 6 Joel Madero 2015-01-07 21:10:59 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2016-01-17 20:01:56 UTC Comment hidden (obsolete)
Comment 8 Michael Kleidt 2016-01-18 09:03:43 UTC
Confirmed for Version: 5.0.4.2
Build ID: 2b9802c1994aa0b7dc6079e128979269cf95bc78
OS: Windows 7 Pro SP1 (64 Bit)
Comment 9 Jonatham E. Snow 2016-01-19 12:48:30 UTC Comment hidden (obsolete)
Comment 10 Joel Madero 2016-01-19 16:13:04 UTC Comment hidden (obsolete)
Comment 11 Jonatham E. Snow 2016-01-19 16:26:50 UTC Comment hidden (obsolete)
Comment 12 Ákos 2016-10-07 07:41:03 UTC
I can reproduce on LibreOffice 5.3.0.0.alpha0 32 bit
Build ID: 33c57f15501dbd05834cd8844e9124b06536e62c
Windows 10 Ent, 64 bit
Comment 13 Buovjaga 2016-10-28 18:45:35 UTC
*** Bug 60051 has been marked as a duplicate of this bug. ***
Comment 14 Timur 2018-07-06 13:10:23 UTC
*** Bug 116005 has been marked as a duplicate of this bug. ***
Comment 15 Buovjaga 2019-04-08 20:11:32 UTC
*** Bug 124222 has been marked as a duplicate of this bug. ***