Issue 79176 - Formatting applied to a selection that starts at the cell's beginning and end at a line break are converted to cell-formattings, and 2 undo-steps are produced instead of only one
Summary: Formatting applied to a selection that starts at the cell's beginning and end...
Alias: None
Product: Calc
Classification: Application
Component: code (show other issues)
Version: OOo 2.2.1
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2007-07-03 18:49 UTC by norbert2
Modified: 2013-08-07 15:12 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

spreadsheet to reproduce the bug (6.42 KB, application/vnd.oasis.opendocument.spreadsheet)
2007-07-03 18:50 UTC, norbert2
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description norbert2 2007-07-03 18:49:17 UTC

Please open the attached spreadsheet:

1. double-click the cell A1
2. Select the word „11111“
3. Press the bold-button
4. Press RETURN to leave the edit-mode: Note that the whole cell has bold applied
5. Press undo one time: now the style is only applied to „11111“, as expected.A
second undo is neccessary to remove the formatting completely.

The bug also happens with other formattings like cursive, underlining or text color.

The same happens if you select both words, „11111“ and „22222“, but not if you
only select „22222“ to apply a formatting.

StarCalc seems to automatically convert text-formattings to cell-formatings, if
the whole cell content is selected.
I think that there is a bug in the function so that StarCalc does also converts
text-styles to cell-styles if a style is applied to a selection that starts at
the beginning of a cell and ends at a line break.
Comment 1 norbert2 2007-07-03 18:50:23 UTC
Created attachment 46497 [details]
spreadsheet to reproduce the bug
Comment 2 helenrussian 2007-07-10 11:26:50 UTC
Confirming with OOo 2.2.1 on Linux OpenSUSE 10.2 - as described.
Comment 3 kpalagin 2007-07-10 14:18:03 UTC
Confirming with 2.3m218 on WinXP - as described.
Comment 4 frank 2007-07-11 14:32:25 UTC
Hi Thomas,

seems to be yours as Edit Engine is your construction site.

Comment 5 norbert2 2009-03-18 08:59:15 UTC
@tl: What about targeting this issue?