Bug 72203 - EDITING: in a table: moving upwards should go to the last line of the cell, not to the first
Summary: EDITING: in a table: moving upwards should go to the last line of the cell, n...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
4.1.3.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ImpressDraw-Tables
  Show dependency treegraph
 
Reported: 2013-12-01 17:55 UTC by Jérôme Borme
Modified: 2020-02-02 14:17 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 Jérôme Borme 2013-12-01 17:55:42 UTC
Consider a table in Presentation/Impress that has cells with multiple lines.

When moving with the Down arrow in a cell, the cursor goes to the next line of the cell. Then, when in the last line of the cell, pressing one more time the Down arrow will move the cursor to the next cell. This is totally fine.

But now, you want to go back to the previous cell and press the Up arrow. What happens is that the cursor moves to the *first line* of the previous cell, while logic would imply you should go to the *last line* (the line right above the cell when pressing the Up arrow).

I put the severity to minor as there is no major functionality missing and workaround is obvious, but this is a daily annoyance when editing tables in Presentation that slows down the users' workflow.
Comment 1 sophie 2013-12-06 15:11:40 UTC
Hi Jérôme, I can't reproduce, with the Down arrow key, the cursor moves from A1 to A2 to A3, if this is the end of the column, then jump to B1, etc. If in B3 I hit the Up arrow key, it moves to B2 then B1, then A3. So works as expeted for me. 
Version Version: 4.1.3.2
Build ID: 70feb7d99726f064edab4605a8ab840c50ec57a Ubuntu 13.10
Comment 2 raal 2014-09-07 06:07:47 UTC
I can not confirm. Tested with version 4.2.6

Please, could you test with newer version? Setting bug as needinfo, set as unconfirmed again if problem still occurs in newer version. Thank you.
Comment 3 Jérôme Borme 2014-09-07 14:43:31 UTC
Actually my initial report was unclear. The issue is when the cells of the table have multiple-line text, for example a long sentence which gets spread over several lines (without pressing enter between lines).

Example:

/-----------\
|This is    |
|a sentence,|
|very long  |
|and all.   |
|-----------|
|Here is a  |
|different  |
|text, also |
|quite long.|
\-----------/

If the cursor is on |This, and you press the down arrow ↓, cursor will go to |a, |very, |and, |Here, |different, |text, |quite.

Now if you press the up arrow ↑, cursor will go to |text, |different, |Here, and then it will go to |This, skipping the other lines of the cell. I think cursor should instead go exactly in the opposite order as what it did before, which is going to |and, |very, |a, and only then to |This.

I tested just now with 4.2.5.2. I will test with 4.3 as soon as this version enters my distro (currently not compiling, see https://bugs.gentoo.org/show_bug.cgi?id=518664).
Comment 4 raal 2014-09-07 16:12:04 UTC
I can confirm with Version: 4.3.2.0.0+
Build ID: 5c1b508b172f0047d86e1acde92239ebf3438251
TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:libreoffice-4-3, Time: 2014-08-27_06:11:49

When go left in cells, then cursor jumps on last letter of the cell. When go up, then cursor jumps on first letter of the cell.
Comment 5 raal 2014-09-07 16:19:32 UTC
Notice the same behaviour with long multiple line text without Enter and multiple line text with Enter.
Comment 6 QA Administrators 2015-10-14 19:57:37 UTC Comment hidden (obsolete)
Comment 7 Buovjaga 2016-01-29 16:47:50 UTC
Repro comment 3

Win 7 Pro 64-bit Version: 5.2.0.0.alpha0+
Build ID: 259c1ed201f4277d74dfd600fed8c837cbf56abc
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2016-01-27_00:45:12
Locale: fi-FI (fi_FI)
Comment 8 QA Administrators 2017-03-06 14:02:21 UTC Comment hidden (obsolete)
Comment 9 QA Administrators 2020-02-02 03:40:03 UTC Comment hidden (obsolete)
Comment 10 Jérôme Borme 2020-02-02 14:17:20 UTC
Unchanged behaviour

Version: 6.3.4.2.0+
Build ID: Gentoo official package
Threads CPU : 32; OS : Linux 5.5; UI Render : par défaut; VCL: kde5; 
Locale : fr-FR (fr_FR.utf8); Langue IHM : fr-FR
Calc: threaded