Bug 148924 - entering complex text in wayland session gives undesirable results
Summary: entering complex text in wayland session gives undesirable results
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.3.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: RTL-CTL
  Show dependency treegraph
 
Reported: 2022-05-04 10:28 UTC by Gaurang
Modified: 2023-11-01 20:21 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 Gaurang 2022-05-04 10:28:00 UTC
Description:
When typing a CTL text like Hindi or Bangla, most of the times(8 out of 10) when space bar, or a matra(vowel) is entered, the last character or space gets deleted.

Steps to Reproduce:
1. Login to a wayland session
2. Type any complex text layout characters
3. Enter space or a matra(vowel) (8 times out of 10, it deletes last entered character or space)

Actual Results:
Text entered in Libreoffice on Wayland:

अ हम हिन्दी मे टाईकर प्रयास कर रहे हैं, परंतु कई बार स्पेसबा याको मा एर क के बा पिछला कैरेक्टर डिलीटहो जा है

Expected Results:
Text entered in libreoffice-on-Xorg or gedit-on-wayland:

अब हम हिद्नी में टाईप करने का प्रयास कर रहे हैं, परंतु कई बार स्पेसबार या कोई मात्रा एन्टर करने के बाद पिछला कैरेक्टर डिलीट हो जाता है


Reproducible: Always


User Profile Reset: Yes



Additional Info:
issue only occurs in Libreoffice, not in Firefox, Chrome, Gedit or other apps
Comment 1 Gaurang 2022-05-04 10:32:30 UTC
issue exists on all previous versions of libreoffice too.
Comment 2 Gaurang 2022-05-22 08:04:11 UTC
Isuue is with Linux based OS's only.
Comment 3 Eyal Rozenberg 2023-09-24 19:58:56 UTC
I want to try and reproduce this, but while I'm on Linux, my distribution does not seem to use Wayland by default.

Can you possibly provide reproduction instructions for such a distribution? e.g. Debian? Also, can you list Linux distributions and distribution versions on which you've experienced the bug?
Comment 4 Buovjaga 2023-11-01 18:58:51 UTC
(In reply to Eyal Rozenberg from comment #3)
> I want to try and reproduce this, but while I'm on Linux, my distribution
> does not seem to use Wayland by default.
> 
> Can you possibly provide reproduction instructions for such a distribution?
> e.g. Debian? Also, can you list Linux distributions and distribution
> versions on which you've experienced the bug?

Usually you can pick the session type, Xorg or Wayland, from the login screen. So you could say logout and then look for a selector in the login manager. With SDDM (often used with KDE Plasma) it is in the bottom left. With Gnome's GDM, when you click the username, a cog icon appears in the lower right area.
Comment 5 Eyal Rozenberg 2023-11-01 19:48:05 UTC
(In reply to Buovjaga from comment #4)
> Usually you can pick the session type, Xorg or Wayland, from the login
> screen. 

In some cases, perhaps, but not in mine; hence my question.

> With SDDM (often used with KDE Plasma) it is in the bottom left.
> With Gnome's GDM, when you click the username, a cog icon appears in the
> lower right area.

I use lightdm.
Comment 6 Buovjaga 2023-11-01 20:18:17 UTC
(In reply to Eyal Rozenberg from comment #5)
> (In reply to Buovjaga from comment #4)
> > With SDDM (often used with KDE Plasma) it is in the bottom left.
> > With Gnome's GDM, when you click the username, a cog icon appears in the
> > lower right area.
> 
> I use lightdm.

With lightdm, I see a tool icon in the top right where I can switch between Wayland and X11. However, you should have the relevant Wayland package installed.
Comment 7 Stéphane Guillou (stragu) 2023-11-01 20:21:01 UTC
Gaurang, do you still experience this in 7.6?