Bug 108721 - CREATE TABLE: writer allows a huge number of cells without warning
Summary: CREATE TABLE: writer allows a huge number of cells without warning
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.2.7.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Table-Insert-Dialog
  Show dependency treegraph
 
Reported: 2017-06-23 16:54 UTC by Tobias Schelling
Modified: 2021-05-12 20:06 UTC (History)
1 user (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 Tobias Schelling 2017-06-23 16:54:55 UTC
When I go to "Insert Table > More Options > " I can leave this panel with extremely huge values for "Columns" and "Rows" if I just hit "Enter"


workflow (incorrect)
- i come to the panel
- I enter 23456345435345 into the columns of rows field
- I press enter
- Writer now creates a table with this amount of rows or columns, which basically drives the application useless as it is extremely slow. basically upon hitting enter the input validation is not triggered

alternative workflows (this works correctly)
- i come to the panel
- I enter 234234234234234234 into the columns or rows field
- I click into another control (e.g. table name), or I press "Insert" 
- then the input validation is applied and the columns value is reduced to 8192
Comment 1 Dieter 2017-06-25 08:58:05 UTC
I confirm this bug. The regular maximum of table cells seems to be 16.384.

So I would expect, that if I choose more than 16.384 and press enter I get a warning like "You want to create a table with more than 16.384 cells. Are you sure?"
Comment 2 QA Administrators 2018-06-26 02:45:01 UTC Comment hidden (obsolete)
Comment 3 Dieter 2018-06-26 07:19:18 UTC
Still reproducible with

Version: 6.1.0.0.beta2 (x64)
Build ID: 0f4d2060bc90b4008fbc8e6d9a49ec7eeea60b78
CPU threads: 4; OS: Windows 10.0; UI render: GL; 
Locale: en-US (de_DE); Calc: CL
Comment 4 QA Administrators 2019-06-27 02:53:49 UTC Comment hidden (obsolete)
Comment 5 Dieter 2021-05-12 20:06:00 UTC
Tested again with LO 7.1.3.2

Warning appears if you try to insert more than 63 columns
Warning appears if you try to insert more than 255 rows

So it's still possible to insert a huge amount of rows an columns, but there is aclear warning and so I would say we can change status to RESOLVED WORKSFORME.

Tobias, feel free to change it back to NEW with a short reasoning, if you disagree.