Bug 157245 - Pressing enter in front of heading adds a tab, too
Summary: Pressing enter in front of heading adds a tab, too
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: DOC-Bullet-Number-Lists
  Show dependency treegraph
 
Reported: 2023-09-15 01:27 UTC by Aron Budea
Modified: 2023-09-29 11:52 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample ODT (22.56 KB, application/vnd.oasis.opendocument.text)
2023-09-15 01:27 UTC, Aron Budea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Budea 2023-09-15 01:27:45 UTC
Created attachment 189584 [details]
Sample ODT

Open the attached sample, and press enter at the beginning of the heading.

=> Apart from adding a line, an extra tab is added as well in front of the heading.

This doesn't happen with the default Heading 1 style in a new document, and I'm not exactly sure in what way this file's styles are different, but they're slightly different.

Observed using LO 24.2.0.0.alpha0+ (d8dbf35c48698e49c527d740853ce4edc4f1afa9) / Ubuntu.

This change seems to be a regression, which came from the following commit. Adding CC: to Vasily Melenchuk.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=a7d9837a8aa6d1233f4c21e4db5d32428a3ffc58
author		Vasily Melenchuk <vasily.melenchuk@cib.de>	2022-05-26 12:05:58 +0300
committer	Thorsten Behrens <thorsten.behrens@allotropia.de>	2022-08-02 15:59:35 +0200

tdf#148360: sw: do not ignore list label followed by
Comment 1 Buovjaga 2023-09-28 10:08:06 UTC
Repro

Arch Linux 64-bit, X11
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 2be27d23b9a4adbb491c48a0abeaa8ed7482e530
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 28 September 2023