Bug 117818 - CHAPTER NUMBERING DIALOG: Preview doesn't work as expected for Position (steps in comment 1)
Summary: CHAPTER NUMBERING DIALOG: Preview doesn't work as expected for Position (step...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.2 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: possibleRegression
Depends on:
Blocks: Heading-Numbering-Dialog
  Show dependency treegraph
 
Reported: 2018-05-26 13:37 UTC by Nithin
Modified: 2023-03-14 21:04 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
Attachment_1 (39.77 KB, image/png)
2018-05-27 14:34 UTC, Nithin
Details
Attachment_2 (42.54 KB, image/png)
2018-05-27 14:34 UTC, Nithin
Details
Attachment_3 (54.67 KB, image/png)
2018-05-27 14:35 UTC, Nithin
Details
Attachment_4 (68.24 KB, image/png)
2018-05-27 15:17 UTC, Nithin
Details
Screenshot of results (see comment 1) (83.28 KB, application/pdf)
2018-05-27 15:54 UTC, Dieter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nithin 2018-05-26 13:37:53 UTC
Description:
The preview position tab is not as expected. Here is what i would expect the preview to be/do. The preview shows the heading and the text following it in the preview window. The preview is for the Heading level selected on the left side pane. If i select 1 it should show me what the heading/following text for level 1 headings look like. If i select 2 then for 2. If i select 1-10 then all of them together.on beĺow the other. What is observed is something else.

Steps to Reproduce:
In the position Tab, for level 1 heading change "Numbering followed by"  to "Space". A small space is shown in the preview before the Horizontal line
Click on level 2 - Nothing changes in the preview
Click on level 3 - The small space in the preview disappears. 


Now give numbering to the levels in the "Numbering" Tab and try the same.

Actual Results:  
When level 10 is selected something completely different happens and some lines disappear.

Expected Results:
I don#t know what the expected behavior should be Can someone shed light on it.


Reproducible: Always


User Profile Reset: Yes



Additional Info:


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Comment 1 Dieter 2018-05-27 05:16:50 UTC
I confirm it.

Steps to reproduce:
1. Open a document with chapter numbering
2. Tools => Chapter Numbering => Position
3. Change position for level 1 to "Numbering followed by tab stop" and "Tab position 2 cm"
4. Do the same for level 2 and 3

Result:
If you now select level 1 or 1-10, tab stop positions of level 1 to 3 are shown correctly
If you select level 3, tab stop position of level 3 isn't shown.
If you select level 4, tab top position of level 2 and level 3 isn't shown.
If you select level 5 and higher, no tab stop position is shown.

Expected result:
Tab stop positions should always shown correctly in the preview, when they are defined.

Additional informations:
Same result with "Numbering followed by space"
if you select level 10, previews disappears



Version: 6.1.0.0.beta1 (x64)
Build ID: 8c76dfe1284e211954c30f219b3a38dcdd82f8a0
CPU threads: 4; OS: Windows 10.0; UI render: GL; 
Locale: de-DE (de_DE); Calc: CL
Comment 2 Heiko Tietze 2018-05-27 07:36:14 UTC
The "Level" list selects what you can tweak on the middle column under "Numbering". And the preview shows all together, which is correct IMHO, since you want to know how the levels relate to each other. Thing is that this dialog has the same UI/workflow as other numbering dialogs and thereby the shortcomings noted in https://design.blog.documentfoundation.org/2017/10/28/impress-lists/

This ticket has likely a duplicate.
Comment 3 Nithin 2018-05-27 14:34:23 UTC
Created attachment 142312 [details]
Attachment_1
Comment 4 Nithin 2018-05-27 14:34:45 UTC
Created attachment 142313 [details]
Attachment_2
Comment 5 Nithin 2018-05-27 14:35:57 UTC
Created attachment 142314 [details]
Attachment_3
Comment 6 Nithin 2018-05-27 15:17:03 UTC
@Heiko, The preview I was referring to are the ones in Attachment_1 and Attachment_2, What you were referring to is the one in Attachment_3. It makes sense in Preview of in Attachment_3 to see all levels relative to one another. But in the Attachment 1 and 2, I would expect see only the Selected Level and not all levels. 

It can be made to show a preview how the selected level with multiple lines and following text would look like in Attachment_4. What are your opinions. 

My argument here is that, relative positional relationship between different Headings is available in the Numbering Tab. So in the Position tab we can show only the required level, with more detailed information.
Comment 7 Nithin 2018-05-27 15:17:49 UTC
Created attachment 142316 [details]
Attachment_4
Comment 8 Dieter 2018-05-27 15:54:47 UTC
Created attachment 142317 [details]
Screenshot of results (see comment 1)

In addition to comment 1 this attachment shows screenshots of the results I described in comment 1.
Comment 9 Heiko Tietze 2018-05-31 09:39:58 UTC
(In reply to Nithin from comment #6)
> @Heiko, The preview I was referring to are the ones in Attachment_1 and
> Attachment_2, What you were referring to is the one in Attachment_3....

True, that preview is weird. Hope we can fix that.
Comment 10 Xisco Faulí 2018-06-04 10:44:19 UTC
The behaviour described in comment 1 is also reproducible in

Version: 5.2.0.0.alpha0+
Build ID: 3ca42d8d51174010d5e8a32b96e9b4c0b3730a53
Threads 4; Ver: 4.10; Render: default; 


but not in

Version: 5.0.0.0.alpha1+
Build ID: 0db96caf0fcce09b87621c11b584a6d81cc7df86
Locale: ca-ES (ca_ES.UTF-8)
Comment 11 QA Administrators 2019-06-05 02:53:41 UTC Comment hidden (noise, obsolete)
Comment 12 Dieter 2019-06-05 07:41:23 UTC
Still repro in

Version: 6.3.0.0.beta1 (x64)
Build ID: a187af327633f5f00363be5131bd21a13e0f1a7b
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: en-US (de_DE); UI-Language: en-GB
Calc: threaded

With further testing I could specify the behaviour:

1. change Tab stop of a level, press O.K. and reopen => everything looks fine
2. change to another level and back => preview of that level not correct, but it is correct for all previous levels


I added keywords possibleRegression and bibisectrequest because of comment 10
Comment 13 Danny Sk 2020-05-08 07:25:26 UTC Comment hidden (spam)
Comment 14 Timur 2021-03-02 14:17:13 UTC
I don't see this as a regression and remove bibisectRequest. Ok to add but after test not based upon someone's comment. 

If Numbering is changed to add numbers, than it's visible that in Position every other line is wrong, it's too long previous line. 

This is not minor but confusing, so I set Normal.
Comment 15 QA Administrators 2023-03-03 03:25:24 UTC Comment hidden (obsolete)
Comment 16 Dieter 2023-03-14 21:04:10 UTC
Still present in

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d7c609dbb1bd08865b43719d2fb7c316d30bcde5
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (de_DE); UI: en-GB
Calc: CL threaded