Bug 149671 - Oversized spaces at the margin
Summary: Oversized spaces at the margin
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:odt, regression
Depends on:
Blocks: Formatting-Mark Paragraph-Alignment
  Show dependency treegraph
 
Reported: 2022-06-22 10:52 UTC by NISZ LibreOffice Team
Modified: 2023-10-21 06:32 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Test file (11.33 KB, application/vnd.oasis.opendocument.text)
2022-06-22 10:54 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2022-06-22 10:52:40 UTC
Description:
Justified alignment change space size, so the words reach the 2 margins.
But beyond the margin there is no need to change the spaces size, that way more spaces could be seen at once.

Steps to Reproduce:
1. Open a new document in LO.
2. Write some text but before the margin put some space.

Actual Results:
Beyond the margin the spaces size change.

Expected Results:
Beyond the margin there is no need to change the spaces size, that way more spaces could be seen at once.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: c0e66cfab12d6c78d68af09498533362724dbd05
CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: Skia/Vulkan; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL
Comment 1 NISZ LibreOffice Team 2022-06-22 10:54:25 UTC
Created attachment 180895 [details]
Test file
Comment 2 BogdanB 2023-10-21 06:31:54 UTC
author	Attila Szűcs <szucs.attila3@nisz.hu>	2022-05-27 13:12:27 +0200
committer	László Németh <nemeth@numbertext.org>	2022-06-07 19:28:48 +0200
commit 8741fd0e0ae9e346de2e09887f0668b831c9b48b (patch)
tree 97cf3bb7a883c9e119debe6678e0cca57bdf1faf
parent 5a079652c1b1f968a851f47995b0a65b84d2d192 (diff)
tdf#43244 sw: show stripped line-end spaces on margin
in View->Formatting Marks mode instead of hiding them
This way it's possible to avoid interoperability issues
better, when these (now visible) spaces are stripped only
in Writer, but not in MSO, resulting different layout,
i.e. bad paragraph alignment, because the users can
notice the extra spaces and remove them in Writer.

Extend SwHolePortion::Paint() to paint its text,
what is probably just a bunch of spaces.

It's an initial fix for tdf#43100, tdf#120715 and tdf#104683
(cursor movement on the hidden spaces, end of paragraph sign
before the hidden spaces, unable to select spaces after the margin).

Follow-up to commit 93d7bdcb855362b88cdcfcb18ea401d89da973fb
"fdo#33167, i#20878: Show spaces at the end of line".

Co-authored-by: Tibor Nagy (NISZ)

Change-Id: I48df3b41af37c77fd594bb6776ca30e845c51490
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135104
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>