Bug 153176

Summary: Improving tab handling in pasting
Product: LibreOffice Reporter: Vincent Boudry <Vincent.Boudry>
Component: ImpressAssignee: Not Assigned <libreoffice-bugs>
Status: UNCONFIRMED ---    
Severity: enhancement CC: stephane.guillou
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:

Description Vincent Boudry 2023-01-24 09:37:15 UTC
Description:
Pasting some text with tabs for indents could be improved in the pasting in impress plan and normal modes.
With formatting (standard mode) the tabs are ignored.
In special mode (unformatted), the tabs are inserted as text.
I am missing a mode in which the tab indent the text.

Steps to Reproduce:
0. Copy the text :

1st level 1
1st level 2
	2nd level
		3rd level 1
		3rd level 2
	2nd level 2
1st level 3

1. Create a new presentation
1.1 Display > Plan Mode
1.2 Paste the text (Ctrl-V) in the plan

2. Create a new presentation
2.1 Display > Plan Mode
2.1 Paste the text as special > unformatted in the plan

3. Create a new presentation
3.1 Create a new page with a simple content frame, click on it
3.2 Paste the text (Ctrl-V) in the frame

4. Create a new presentation
4.1 Create a new page with a simple content frame, click on it
4.2 Paste the text as special > unformatted in the frame


Actual Results:
Results from 1.2 (and 3.2): 7 pages (bullets) are created with titles (bullets)
1st level 1
1st level 2
2nd level
3rd level 1
3rd level 2
2nd level 2
1st level 3

Results from 2.2 (4.2): 7 pages (bullets) are created with titles (bullets)
1st level 1
1st level 2
	2nd level
		3rd level 1
		3rd level 2
	2nd level 2
1st level 3


Expected Results:
Expected 1.2 (and maybe 2.2):
3 pages created with titles "1st level1, 2, 3" and on the 2nd page a bullet list  with 
 - 2nd level 
   - 3rd level 1
   - 3rd level 2
 - 2nd level 2

Expected 3.2 (and maybe 4.2) : a bullet list like
    • 1st level 1
    • 1st level 2
        ◦ 2nd level 2
            ▪ 3rd level 1
            ▪ 3rd level 2
        ◦ 2nd level 2
    • 1st level 3


Reproducible: Always


User Profile Reset: No

Additional Info:
None.
Comment 1 Stéphane Guillou (stragu) 2023-04-28 21:44:13 UTC
Can you please share your version information from Help > About LibreOffice?

And for anyone wondering, "plan" view is the "outline" view in French.

Thank you
Comment 2 QA Administrators 2023-10-26 03:14:56 UTC Comment hidden (obsolete)
Comment 3 Vincent Boudry 2023-10-26 17:32:17 UTC
Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333
CPU threads: 4; OS: Mac OS X 13.6; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded