Bug 148893 - Improve multicolumn text behavior while typing inside Draw shapes
Summary: Improve multicolumn text behavior while typing inside Draw shapes
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.2.0.4 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Textbox-column
  Show dependency treegraph
 
Reported: 2022-05-02 15:26 UTC by Roman Kuznetsov
Modified: 2023-05-31 22:59 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Kuznetsov 2022-05-02 15:26:03 UTC
Description:
Improve multicolumn text behavior while typing inside Draw shapes

After great Mike's work (https://mikekaganski.wordpress.com/2021/06/15/multiple-columns-in-libreoffice-text-boxes/) we have opportunity write text in to several column inside Impress slides and inside Draw shapes.
But text typing process isn't the same for Impress text blocks and for Draw shapes.

Let's set 2 columns for text blocks and Draw shapes using Sidebar:

1. In Impress text blocks the text cursor stays in first column while text will fills all vertical area and only after it the text cursor will move to second column. Inside Draw shapes the text cursor jumps from first column to second after Enter key or after end of the first row in the column.

2. In Impress text blocks the typed text doesn't jump anyway after ending of the editing (when you click out of the text bock). Inside Draw shapes the typed text jumps to first column even while typing it was in several columns.

I suggest improve that strange behavior inside Draw shape and make it the same as it is inside Impress text blocks.

Mike said the root of the problem is the text area inside Draw shapes has just zero height by creating.

Steps to Reproduce:
-

Actual Results:
Multicolumn text behavior while typing inside Draw shapes is strange and isn't the same as inside Impress's text blocks

Expected Results:
Multicolumn text behavior while typing inside Draw shapes is good and it is the same as inside Impress's text blocks


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: c81f4a4ecbfa7dc97d8c28b5ec5f00d1d561b6bb
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: CL
Comment 1 Stéphane Guillou (stragu) 2023-05-31 22:36:35 UTC
Reproduced in:

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: fc4f7db59152f606b6aa88cf32197700959d0f8b
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded

- lines of text are distributed equally between columns
- when exiting edit mode, content jumps to fill columns in order
- entering edit mode again goes back to the distributed display