Bug Hunting Session
Bug 120917 - Tab key at the beginning of heading has strange and inconsistent effects
Summary: Tab key at the beginning of heading has strange and inconsistent effects
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Tab-Character
  Show dependency treegraph
 
Reported: 2018-10-25 17:54 UTC by Kenneth Hanson
Modified: 2019-01-16 22:09 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Document for experimenting with the tab key (11.06 KB, application/vnd.oasis.opendocument.text)
2018-10-25 17:59 UTC, Kenneth Hanson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Hanson 2018-10-25 17:54:09 UTC
Description:
I discovered this while investigating bug 93495 comment 4.

Pressing the tab key at the beginning of a heading paragraph sometimes changes the heading level as expected, and other times it indents the paragraph. Furthermore, when it indents the paragraph it changes the properties of the style rather than adding a tab stop or direct formatting, and these changes are applied to other heading styles as well. Even this can be inconsistent -- sometimes the other styles are unaffected if they have already been modified from their defaults. Clearly something weird is going on.

This is all in contrast to the "increase indent" toolbar button, which consistently changes the heading level as expected.

Further details:
- As far as I can tell, the strange behavior of the tab key occurs only for the first instance of a heading paragraph, regardless of the heading level.
- The Shift-Tab key combo does nothing in these cases.

Steps to Reproduce:
1. Press tab at the beginning of a heading paragraph.

Actual Results:
Indentation of the relevant heading paragraph style, and other heading paragraph styles, is changed.

Expected Results:
The heading level of the current paragraph is increased.


Reproducible: Always


User Profile Reset: No



Additional Info:
The indentation properties of the relevant heading style, and perhaps other heading styles, are changed if the tab key is pressed at the beginning of the first occurrence of a heading paragraph.
Comment 1 Kenneth Hanson 2018-10-25 17:59:52 UTC
Created attachment 146008 [details]
Document for experimenting with the tab key

Delete, reorder, or reset the style of the headings to see the the main effect occurs only for the first heading paragraph, regardless of heading level. To show how all styles are sometimes not affected, modify the indentation properties of one of the styles and repeat the experiment.
Comment 2 Durgapriyanka 2018-11-20 18:57:06 UTC
I can reproduce the bug.

Version: 6.0.6.2
Build ID: 0c292870b25a325b5ed35f6b45599d2ea4458e77
CPU threads: 2; OS: Windows 6.1; UI render: default; 
Locale: en-US (en_US); Calc: group
Comment 3 Weng Jing-Yao 2018-11-29 08:54:13 UTC
I can reproduce the bug.

Version: 6.3.0.0.alpha0+ (x64)
Build ID: 0f25a3c36f27fd51453b9a9115f236b83c143684
CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-11-27_20:06:55
Locale: zh-TW (zh_TW); UI-Language: en-US
Calc: threaded
Comment 4 Su Ming Wei 2018-11-29 09:02:04 UTC
I can reproduce the bug.

版本:6.0.7.3 (x64)
組建 ID:dc89aa7a9eabfd848af146d5086077aeed2ae4a5
CPU 執行緒:8; OS:Windows 10.0; UI 算繪:GL; 
語言地區:zh-TW (zh_TW); Calc: CL
Comment 5 Heiko Tietze 2018-11-29 09:55:46 UTC
QA please decide what to do taking bug 93495 into account.
Comment 6 Dieter Praas 2018-12-22 05:38:05 UTC
(In reply to Heiko Tietze from comment #5)
> QA please decide what to do taking bug 93495 into account.

Heiko, I changed status tio NEW, because - as far as I can understand from bug 93495 - it is the desired result, that tab key should change the heading level. So I don't see, why this bug report is not in line with bug 93495.
Comment 7 Xisco Faulí 2019-01-16 22:09:28 UTC
Also reproduced in

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4