https://bugs.documentfoundation.org/show_bug.cgi?id=174385

            Bug ID: 174385
           Summary: LibreOffice Writer unexpectedly crashes when typing
                    Sinhala using the Sinhala – Wijesekera (m17n) input
                    method on Ubuntu.
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
# LibreOffice Writer crashes when typing Sinhala using IBus m17n Wijesekera

## Summary

LibreOffice Writer unexpectedly crashes when typing Sinhala using the Sinhala –
Wijesekera (m17n) input method on Ubuntu.

## System information

- Operating system: Ubuntu 26.04.1 LTS (Resolute)
- LibreOffice version: 26.2.6.3 (X86_64)
- LibreOffice build: Ubuntu package `4:26.2.6.3-0ubuntu0.26.04.2`
- VCL: GTK3
- Input method framework: IBus 1.5.34~rc2-1
- IBus m17n: 1.4.38-1
- libm17n: 1.8.6-1
- Problematic input method: Sinhala – Wijesekera (m17n), `m17n:si:wijesekara`

## Problem description

When I type Sinhala directly into LibreOffice Writer using the Sinhala –
Wijesekera (m17n) input method, Writer unexpectedly crashes and closes. The
crash occurs particularly when pressing the `F` key.

## Steps to reproduce

1. Select Sinhala – Wijesekera (m17n) as the input source in Ubuntu.
2. Open LibreOffice Writer.
3. Create a blank document.
4. Start typing Sinhala.
5. Press the `F` key as part of Sinhala typing.

**Expected result:** Sinhala text should be entered normally.

**Actual result:** LibreOffice Writer unexpectedly crashes and closes.

## Tests performed

- I tested the available Sinhala keyboard options in Ubuntu.
- Every other Sinhala input method I tested works correctly in LibreOffice
Writer. The problem occurs only with Sinhala – Wijesekera (m17n).
- Typing Sinhala in another text editor and copying and pasting it into Writer
works.
- The problem persists with a temporary LibreOffice user profile.
- The problem also persists when running LibreOffice in Safe Mode.
- The problem has occurred with both Snap and Ubuntu package installations.

## Workaround – How to avoid the crash

The simplest workaround I found is to use another Sinhala input method instead
of Sinhala – Wijesekera (m17n).

To change the keyboard:

1. Open **Ubuntu Settings**.
2. Select **Keyboard**.
3. Go to **Input Sources**.
4. Click **Add Input Source**.
5. Select **Sinhala**.
6. Choose the second option, **Sinhala (phonetic)**.
7. Click **Add**.
8. Switch to Sinhala (phonetic) using `Super + Space`.

All the other Sinhala keyboard options I tested work correctly in LibreOffice
Writer.

**My personal recommendation is Sinhala (phonetic).** Although its keyboard
layout is different from Wijesekera and takes some time to get used to, I find
it a good alternative. It allows me to continue typing Sinhala in LibreOffice
Writer without experiencing the crash.

## Request

Could the developers investigate a possible compatibility problem between
LibreOffice Writer and the Sinhala – Wijesekera m17n input method?

I hope this report will help identify and fix the problem for other
Sinhala-speaking users.

Steps to Reproduce:
Select Sinhala – Wijesekera (m17n) as the input source in Ubuntu.

Open LibreOffice Writer.

Create a blank document.

Start typing Sinhala.

Press the F key as part of Sinhala typing.

Actual Results:
LibreOffice Writer unexpectedly crashes and closes.

Expected Results:
Sinhala text should be entered normally.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
# LibreOffice Writer crashes when typing Sinhala using IBus m17n Wijesekera

## Summary

LibreOffice Writer unexpectedly crashes when typing Sinhala using the Sinhala –
Wijesekera (m17n) input method on Ubuntu.

## System information

- Operating system: Ubuntu 26.04.1 LTS (Resolute)
- LibreOffice version: 26.2.6.3 (X86_64)
- LibreOffice build: Ubuntu package `4:26.2.6.3-0ubuntu0.26.04.2`
- VCL: GTK3
- Input method framework: IBus 1.5.34~rc2-1
- IBus m17n: 1.4.38-1
- libm17n: 1.8.6-1
- Problematic input method: Sinhala – Wijesekera (m17n), `m17n:si:wijesekara`

## Problem description

When I type Sinhala directly into LibreOffice Writer using the Sinhala –
Wijesekera (m17n) input method, Writer unexpectedly crashes and closes. The
crash occurs particularly when pressing the `F` key.

## Steps to reproduce

1. Select Sinhala – Wijesekera (m17n) as the input source in Ubuntu.
2. Open LibreOffice Writer.
3. Create a blank document.
4. Start typing Sinhala.
5. Press the `F` key as part of Sinhala typing.

**Expected result:** Sinhala text should be entered normally.

**Actual result:** LibreOffice Writer unexpectedly crashes and closes.

## Tests performed

- I tested the available Sinhala keyboard options in Ubuntu.
- Every other Sinhala input method I tested works correctly in LibreOffice
Writer. The problem occurs only with Sinhala – Wijesekera (m17n).
- Typing Sinhala in another text editor and copying and pasting it into Writer
works.
- The problem persists with a temporary LibreOffice user profile.
- The problem also persists when running LibreOffice in Safe Mode.
- The problem has occurred with both Snap and Ubuntu package installations.

## Workaround – How to avoid the crash

The simplest workaround I found is to use another Sinhala input method instead
of Sinhala – Wijesekera (m17n).

To change the keyboard:

1. Open **Ubuntu Settings**.
2. Select **Keyboard**.
3. Go to **Input Sources**.
4. Click **Add Input Source**.
5. Select **Sinhala**.
6. Choose the second option, **Sinhala (phonetic)**.
7. Click **Add**.
8. Switch to Sinhala (phonetic) using `Super + Space`.

All the other Sinhala keyboard options I tested work correctly in LibreOffice
Writer.

**My personal recommendation is Sinhala (phonetic).** Although its keyboard
layout is different from Wijesekera and takes some time to get used to, I find
it a good alternative. It allows me to continue typing Sinhala in LibreOffice
Writer without experiencing the crash.

## Request

Could the developers investigate a possible compatibility problem between
LibreOffice Writer and the Sinhala – Wijesekera m17n input method?

I hope this report will help identify and fix the problem for other
Sinhala-speaking users.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to