Bug 93855 - EDITING: Indent lost when deleting next line/bullet point
Summary: EDITING: Indent lost when deleting next line/bullet point
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
5.0.0.5 release
Hardware: Other All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-02 10:47 UTC by ravingdesi
Modified: 2019-12-23 21:24 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Document to reproduce bug (15.02 KB, application/vnd.oasis.opendocument.presentation)
2015-09-02 10:47 UTC, ravingdesi
Details
Screenshot of correct behavior (4.61 KB, image/png)
2015-09-02 10:48 UTC, ravingdesi
Details
Screenshot of incorrect behavior (4.51 KB, image/png)
2015-09-02 10:48 UTC, ravingdesi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ravingdesi 2015-09-02 10:47:17 UTC
Problem description: 
When deleting an empty unnecessary line/bullet point, the indent of the previous bullet point is lost. To me, this is completely unexpected behavior.

Steps to reproduce:
1. Download https://dl.dropboxusercontent.com/u/17406199/bugtmp/Bug18.odp
2. Start editing the text field with bulletpoints
3. Press the arrow down key until you are in the very last (empty) line
4. Press the backspace key to delete this unnecessary line/bullet point

Current behavior:
Indention is lost
https://dl.dropboxusercontent.com/u/17406199/bugtmp/Bug18_2.png

Expected behavior:
The indention should be preserved
https://dl.dropboxusercontent.com/u/17406199/bugtmp/Bug7_1.png

Thank you very much for all your efforts.
Comment 1 ravingdesi 2015-09-02 10:47:53 UTC
Created attachment 118337 [details]
Document to reproduce bug
Comment 2 ravingdesi 2015-09-02 10:48:15 UTC
Created attachment 118338 [details]
Screenshot of correct behavior
Comment 3 ravingdesi 2015-09-02 10:48:30 UTC
Created attachment 118339 [details]
Screenshot of incorrect behavior
Comment 4 Buovjaga 2015-09-14 13:49:01 UTC
Confirmed.

Win 7 Pro 64-bit, Version: 5.0.1.2 (32-bit)
Build ID: 81898c9f5c0d43f3473ba111d7b351050be20261
Locale: fi-FI (fi_FI)
Comment 5 ravingdesi 2015-09-21 11:10:40 UTC Comment hidden (obsolete)
Comment 6 Hideki Ikeda 2015-10-19 20:19:20 UTC
The cause looks like this:

The width of numbering at the BBB.... line is 0.30''. That at the last empty line just under BBB... is 0.00". When you delete the line break between the lines from the empty line by using 'Backspace', the attributes of the empty line is inherited, and the numbering width at BBB... becomes 0.00". This is why the second line of BBB... shifts to the left.

When you put the cursor at the end of BBB... and delete the line break by using 'Delete', the attribute of BBB... is inherited and the line doesn't shift.
Comment 7 QA Administrators 2016-11-08 11:34:10 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2019-12-03 14:45:57 UTC Comment hidden (obsolete)
Comment 9 Timur 2019-12-03 16:48:25 UTC
Looks fine in current master 6.5+.
Comment 10 ravingdesi 2019-12-23 21:24:12 UTC
Yup. Seems to work now (Test on 6.3.4.2 on Windows 10).