Bug 50504 - EDITING: Can not add characters at the beginning of a cell which have a very long first line
Summary: EDITING: Can not add characters at the beginning of a cell which have a very ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.5.4 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks: Calc-Cells
  Show dependency treegraph
 
Reported: 2012-05-30 06:55 UTC by Pierre-Louis Bonicoli
Modified: 2023-03-29 03:25 UTC (History)
0 users

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 Pierre-Louis Bonicoli 2012-05-30 06:55:59 UTC
Problem description: 

Can not append text at the beginning of a cell if the first line of the edited cell contains more than 16366 characters.

Reproduced with LibreOffice 3.5.3 and LibreOffice 3.5.4 rc2.

Steps to reproduce:
1. Launch LibreOffice
2. Create a new Spreadsheet
3. Create a string containing 16367 charaters: edit a cell and type the following formula:
=REPT("a";16367)
4. Copy the content of the cell using "ctrl+c"
5. select another cell
6. paste only the text (not the formula) using "paste special" (with "ctrl+maj+v" and check only "Text")
7. Activate "edit mode" on the selected cell using "F2" key
8. Go to the beginning of the cell using "ctrl+home"
9. Type some characters, the characters don't appears and are not added

Note that if the cell with a very long first line is edited but not modified:
- with "F2", "ctrl+home" or "ctrl+end", "enter" then the height of the row is increased (or first line is splitted?)
- with "F2", "enter" then the height of the row is not modified

Current behavior:

Can not add characters at the beginning of a cell which have a first line with more than 16367.


Expected behavior:

Can add characters at the beginning of a cell which have a first line with more than 16367.


Platform (if different from the browser): 
              
Browser: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20100101 Firefox/10.0.4 Iceweasel/10.0.4
Comment 1 Noel Grandin 2012-09-04 08:16:16 UTC
Confirmed in 3.6.1.2 (Windows)
Comment 2 QA Administrators 2015-01-05 17:52:28 UTC Comment hidden (obsolete)
Comment 3 Pierre-Louis Bonicoli 2015-01-05 21:11:35 UTC
Bug occurs with version '4.4.0.0.alpha1' (Linux).
Comment 4 QA Administrators 2016-01-17 20:05:20 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2017-03-06 14:39:28 UTC Comment hidden (obsolete)
Comment 6 Pierre-Louis Bonicoli 2017-03-07 10:45:13 UTC
The bug is still present on LibreOffice 5.2.5.1 (OS: Debian unstable, package: 5.2.5-2).

One change: I wasn't able to use "ctrl+home" to go to the beginning of the cell (step 8).
Comment 7 QA Administrators 2018-06-18 02:43:01 UTC Comment hidden (obsolete)
Comment 8 Pierre-Louis Bonicoli 2019-03-28 21:52:27 UTC
Am still able to reproduce it using "Version: 6.1.5.2".

Note that the FAQ mentions [1] "the maximum number of characters in one cell is 32767".


[1] https://wiki.documentfoundation.org/Faq/Calc/022/
Comment 9 QA Administrators 2021-03-28 03:36:26 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2023-03-29 03:25:55 UTC
Dear pierre-louis.bonicoli,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug