Bug 134024

Summary: Backspace must be pressed twice to remove a paragraph (because of some formatting)
Product: LibreOffice Reporter: Telesto <telesto>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: normal    
Priority: medium    
Version: 4.4.7.2 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Example file

Description Telesto 2020-06-16 08:39:42 UTC
Description:
Backspace must be pressed twice to remove a paragraph

Steps to Reproduce:
1. Open the attached file
2. Go to last empty paragraph
3. Press Backspace -> Move up (fine)
4. Press Backspace again -> Nothing happens (visually; there is an attribute removed)
5. Press backspace again.. move up (fine)

Actual Results:
There is a separate step; removing formatting when pressing backspace

Expected Results:
I think it's wrong.. but some kind feature?


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: a35c18aeff3b1d8f270db7e094850fb8ba1ab84a
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL

and in
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 1 Telesto 2020-06-16 08:39:59 UTC
Created attachment 162032 [details]
Example file
Comment 2 Mike Kaganski 2020-06-16 09:21:58 UTC
It has "before text" and "first line" indent settings. It's a visible effect when those make visible changes - try adjusting them in a way where first line doesn't start at 0. But in this specific corner case, their combination made first line to start at 0 (the first line indent has the same absolute value as first line's, but with opposite signs).

I suppose it's best to close NOTABUG - it is really a corner case (and still a meaningful operation which sets the indents to 0) of a generally normal feature.
Comment 3 Mike Kaganski 2020-06-16 09:24:00 UTC
(In reply to Mike Kaganski from comment #2)
> (the first line indent has the same absolute value as first line's

Oh sorry, of course that should had been "(the before text indent has the same absolute value as first line's"