Bug 156913 - libreoffice-qt5 bug: unwanted line advance after deadkey (in libreoffice writer)
Summary: libreoffice-qt5 bug: unwanted line advance after deadkey (in libreoffice writer)
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.5.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-25 14:33 UTC by Zophonías Jónsson
Modified: 2023-09-27 13:10 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 Zophonías Jónsson 2023-08-25 14:33:45 UTC
Description:
Whenever a dead key (i.e. accent or umlaut) is pressed the cursor advances to the next line. This happens only IF the cursor is at the end of line AND there are lines of text or graphics below the text being entered (i.e. not in the last line of text).

This only applies to LibreOffice Writer.

The problem seems to be in the libreoffice-qt5 integration as writer behaves normally when libreoffice-qt5 is uninstalled and works correctly with libreoffice-gtk3 integration.

This bug has been around for several months. 

I can confirm this behviour in LibreOffice version 7.5.5.2 (on OpenSuse Leap 15.4) but it was also present in some previous versions.

Steps to Reproduce:
1.Select a keyboard with deadkeys (i.e. Icelandic keyboard) and open LibreOffice Writer 
2.Create a new document 
3.Enter some lines of text 
4.Make a blank line that is not the last and try to enter some text with accented characters using the dead-comma

Actual Results:
cursor advances to the next line 

Expected Results:
accented character inserted when next key is struck


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.5.5.2 (X86_64) / LibreOffice Community
Build ID: 50(Build:2)
CPU threads: 12; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded

Same behaviour on multiple systems with a similar setup.
Comment 1 Zophonías Jónsson 2023-08-26 10:43:02 UTC
I just found out that the same problem has been described several times before in the discusson of bug 71437 wich is marked as RESOLVED WORKSFORME.  Starting with comment 39 (2022-04-29).  It seems that the bug is not really resolved.
Comment 2 Stéphane Guillou (stragu) 2023-09-08 22:22:21 UTC
Can't reproduce in:

Version: 7.6.1.1 (X86_64) / LibreOffice Community
Build ID: c7cda394c5de06de37d8109c310df89a4d4c3a98
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: qt5 (cairo+xcb)
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

I installed libreoffice-qt5 as well.

Can you provide an example document that makes it easy to test it, using a font that we all have? (e.g. Liberation Serif)
Thank you!
Comment 3 Zophonías Jónsson 2023-09-08 22:51:14 UTC
(In reply to Stéphane Guillou (stragu) from comment #2)

It may not be worth spending much time on this.  After upgrade to OpenSuse Leap 15.5 which downgrades LibreOffice to 7.5.4.1 this problem is fixed.  I can also not reproduce it on OpenSuse Tumbleweed with LibreOffice 7.6.1.1.

Since it seems to be caused by some interaction of packages in an OS version that is now outdated I think the bug can be closed.


Having said that. An example document would simply be three lines of random text.  Something like this:

---
Here is the first line.
Line two. Type your characters: Áóéí äëï etc. at the end of this line:
Here is the last line.
---

This can be copy-pasted into a blank document. The problem is font independent.
Comment 4 QA Administrators 2023-09-10 03:20:49 UTC Comment hidden (obsolete)
Comment 5 Zophonías Jónsson 2023-09-13 14:38:09 UTC
Unfortunately I celebrated prematurely.  The behaviour is back even in Leap 15.5 on one of my computers.  This might be difficult to confirm or troubleshoot, but the example above works.  Font independent.

Version: 7.5.4.1 (X86_64) / LibreOffice Community
Build ID: 50(Build:1)
CPU threads: 16; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 6 Buovjaga 2023-09-27 06:30:02 UTC
You could report it in https://bugzilla.opensuse.org/
Comment 7 Zophonías Jónsson 2023-09-27 09:00:32 UTC
(In reply to Buovjaga from comment #6)
> You could report it in https://bugzilla.opensuse.org/

I'll look into it.  

With recent updates the bahaviour is back on Leap 15.5 even with LibreOffice 7.6.2 but the workaround, uninstalling libreoffice-qt5 and blocking it so that it doesn't get pulled back in works.
Comment 8 Buovjaga 2023-09-27 10:31:48 UTC
(In reply to Zophonías Jónsson from comment #7)
> (In reply to Buovjaga from comment #6)
> > You could report it in https://bugzilla.opensuse.org/
> 
> I'll look into it.  
> 
> With recent updates the bahaviour is back on Leap 15.5 even with LibreOffice
> 7.6.2 but the workaround, uninstalling libreoffice-qt5 and blocking it so
> that it doesn't get pulled back in works.

The qt5 UI is not ready for production and distributions should not enable it. However, if you can reproduce it with kf5, then it is more serious.