Bug 134929 - The preset spacing "from left" is depending how you walk through alignment options
Summary: The preset spacing "from left" is depending how you walk through alignment op...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-18 12:58 UTC by Telesto
Modified: 2021-07-25 11:37 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (9.36 KB, application/vnd.oasis.opendocument.text)
2020-07-18 12:58 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-07-18 12:58:20 UTC
Description:
The preset spacing "from left" is depending how you walk through alignment options

Steps to Reproduce:
1. Open the attached file
2. Table -> Properties -> Table 
3. If you select From Left 3,50 of center will be kept
4. Click Left  radio button (Left spacing will be set to 0)
5. Click From Left again (Left spacing will be set to 0)

6. Click Radio Right
7. Click From left again (Left spacing will be set to 7)


Actual Results:
The Spacing at the left is depended on the order you select things

Expected Results:
The big question. Setting from Left should start at 0, and not inherent from Center. 


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: d851a02df57ab378ed0cc6d9362516de09c3279c
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2020-07-18 12:58:46 UTC
Created attachment 163234 [details]
Example file
Comment 2 Heiko Tietze 2020-07-21 13:10:50 UTC
(In reply to Telesto from comment #0)
> 3. If you select From Left 3,50 of center will be kept
"From left" means starting from the left border with the given indent.

> 4. Click Left  radio button (Left spacing will be set to 0)
"Left" means to place the table left-most.

> 5. Click From Left again (Left spacing will be set to 0)
Just press reset (admitted that alignment changes to center) or cancel the dialog.

> 6. Click Radio Right
Same as above.

I think it's self-explanatory. And there is more help at https://help.libreoffice.org/6.4/en-US/text/swriter/01/05090100.html

> Expected Results: The big question. Setting from Left should start at 0...

Rather not, that's "Left". You may argue with left/right and indentation as known from paragraph properties but I don't see the benefit. Seems you are somewhat picky with the dialog.
Comment 3 Telesto 2020-07-23 09:16:28 UTC
@Mike
Would love you're opinion. I personally think the alignment change should reset the spacing to zero in case from left (scope is bit large)

1. Click Align left: Set the table width to 12
2. Click from left (fine)
3. Click Right fine
4. Click From Left again. Wrong -> It uses setting from right.
5. Same issue when click center first an from left second
6. Manual has the same flaw as from left (except manual opts for center by default)

I would assume from left behaves the same as if it was initially select. So 
1. Set alignment from left
2. Set width to 12. Left 0 Right 5 CM
Comment 4 Mike Kaganski 2020-07-23 09:21:49 UTC
I like how it works presently. Choosing an alignment mode that defines fixed position of course sets that value; choosing a mode that allows tuning does its best to keep previously selected positioning.

Anyway, it's just a matter of UX, and any reasonable mode may have its proponents and those who dislike that. UnCCing myself.
Comment 5 Heiko Tietze 2020-07-23 15:25:43 UTC
(In reply to Mike Kaganski from comment #4)
> Anyway, it's just a matter of UX, and any reasonable mode may have its
> proponents and those who dislike that. UnCCing myself.

There are always people who are unhappy with different solutions than known. Input from UX has been given, unCCing too (keeping the reopened ticket open).
Comment 6 Telesto 2020-07-23 15:37:15 UTC
So lets add Roman & Bodgan; and let those have the final say.. no point in having this open for ever.
Comment 7 BogdanB 2020-07-23 18:58:05 UTC
Steps to Reproduce:
1. Open the attached file
2. Table -> Properties -> Table 
3. If you select From Left 3,50 of center will be kept
[I consider to be ok, it keeps an existing value here]
4. Click Left  radio button (Left spacing will be set to 0)
[I consider to be ok, Left should be always 0 on left]
5. Click From Left again (Left spacing will be set to 0)
[I consider to be ok, it keeps an existing value here, in this case zero, it doesn't have a memory of previous number]
6. Click Radio Right
[I consider to be ok, the page between margins have 17, the table 10, so the remaining space near table moves to the left, in this case]
7. Click From left again (Left spacing will be set to 7)
[I consider to be ok, the page between margins have 17, the table 10, so the remaining space near table moves to the right now]