Bug 146063 - Trying to write a letter with a tilde (e.g. á) to the end of a line results in changing to the next line if such a line exists
Summary: Trying to write a letter with a tilde (e.g. á) to the end of a line results i...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.2.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-05 15:18 UTC by alfonso.delavega@tuta.io
Modified: 2022-11-25 15:24 UTC (History)
2 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 alfonso.delavega@tuta.io 2021-12-05 15:18:39 UTC
Description:
I have found the following issue when writing tildes in LibreOffice writer:

When trying to put a Spanish letter with a tilde (e.g. á, é) at the end of a line, if there is a line next to the one I'm writing in, when I hit the "tilde" key (in my ISO-ES keyboard, the one that sits two positions to the right of the L, besides the Ñ), LibreOffice automatically moves to the next line, so when I insert the letter (such as a), that letter is written as the first character of the next line.

To reproduce:

Create a document with just two lines as follows:

Line 1
Line 2

If you try to write an á after "Line 2", nothing strange happens, and the tilded character is added. If you try to do it after "Line 1" though, when you hit the tilde button it moves you to the next line, resulting in:

Line 1 ´
aLine 2

Steps to Reproduce:
1.Create a document with just two lines as follows:

Line 1
Line 2

2. If you try to write an á after "Line 2", nothing strange happens, and the tilded character is added. If you try to do it after "Line 1" though, when you hit the tilde button it moves you to the next line, resulting in:

Line 1 ´
aLine 2


Actual Results:
Line 1 ´
aLine 2

Expected Results:
Line 1 á
Line 2


Reproducible: Always


User Profile Reset: Yes



Additional Info:
I'm running Kubuntu 21.10, with the Libreoffice version found in its default repositories:

Version: 7.2.2.2 / LibreOffice Community
Build ID: 20(Build:2)
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-GB (en_US.UTF-8); UI: en-US
Ubuntu package version: 1:7.2.2-0ubuntu0.21.10.1
Calc: threaded
Comment 1 Dieter 2021-12-21 07:38:31 UTC
I don't understand the problem. If the character is the beginning of a new word it's the normal behaviour that new word start in second line, if it doesn't fit in first line (happens with every character). If the character with tilde is part of the previous word, the whole word jumps into the second line, if it doesn't fit with first line. So please explain the problem.
=> NEEDINFO
Comment 2 alfonso.delavega@tuta.io 2021-12-22 11:03:56 UTC
Thanks for the reply! I hope the following helps to understand the issue better:


Let's suppose I have a document with these two lines:

This is the first line
This is the second one

Both lines are small enough so they do not fill the with of the document, this is, if a new character were added, it would fit in the same line.

Now, let's suppose I want to add the character á to the first line. To do this, I would put the cursor after "line", hit space, hit the tilde (`) key, and then hit a, and this would be the expected result:

This is the first line á
This is the second one

However, what happens to me is that, after hitting the tilde, the editor changes automatically to the second line, and the "a" character gets written there (without the tilde, which remains in the first line)

This is the first line `
aThis is the second one



I have tested this in other machines (Kubuntu 20.04, Ubuntu 21.10) and the issue does not manifest there, so this might me a configuration issue in my Kubuntu 21.10 one. However, it only happens in Libreoffice, and not in the other programs.
Comment 3 Dieter 2021-12-22 14:38:06 UTC
Thank you for more specific explanation, but I still can't reproduce. Perhaps it does onl happen in some distributions of Linux.
Comment 4 alfonso.delavega@tuta.io 2021-12-25 11:11:01 UTC
No worries, thank you for your time! I'll try my luck in KDE/Kubuntu related forums, and I'll comment here if I find anything useful about the issue.

Cheers,
Alfonso
Comment 5 QA Administrators 2021-12-26 04:22:25 UTC Comment hidden (obsolete)
Comment 6 Buovjaga 2022-11-25 13:46:52 UTC
Works fine for me. Maybe you have some special key handling in your system.

Arch Linux 64-bit
Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d96d1b380d3c626522407397e56d68030a73e02a
CPU threads: 8; OS: Linux 6.0; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 25 November 2022
Comment 7 Dieter 2022-11-25 13:52:46 UTC
Alfonso, could you please retest with an actual version of LO, if problem is still present for you?
=> NEEDINFO
Comment 8 alfonso.delavega@tuta.io 2022-11-25 15:22:41 UTC
Hi,

I cannot reproduce the same bug on Kubuntu 22.04 with

Version: 7.4.2.3 / LibreOffice Community
Build ID: 40(Build:3)
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 1:7.4.2~rc3-0ubuntu0.22.04.1~lo1
Calc: threaded



Sorry to leave this pending! I guess it can be closed, as it was probably due to some personal configuration only happening in Kubuntu 21.10.

Thanks!
Comment 9 Dieter 2022-11-25 15:24:52 UTC
(In reply to alfonso.delavega@tuta.io from comment #8)
> Hi,
> 
> I cannot reproduce the same bug on Kubuntu 22.04 with

Thanks for testing!
=> RESOLVED WORKSFORME