Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#80039 - [ibus] The execution order of delete_surrounding_text() and commit_text() gets jumbled

Attached to Project: Arch Linux
Opened by Mingi Sung (Dawdleming) - Saturday, 21 October 2023, 07:07 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 21 October 2023, 16:51 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The execution order of delete_surrounding_text() and commit_text() appears to be jumbled in gnome-text-editor and gtk4-demo-application.

Steps to reproduce:

Enter text "123" in the text editor.
Execute delete_surrounding_text(-1, 1) and then commit_text(IBus.Text.new_from_string('ABC'))
The remaining text should be "12ABC" but you'll get "123AB".

1. Type some random sentences that have spaces in Korean fast enough.
-> For my case, I typed:'동해 물과 백두산이 마르고 닳도록'
2. The text shown should be same as what I typed,
but you'll get something like "동해 물과 백두산이 마르 고닳도록'

Additional info:
* package version(s) ibus 1.5.28-4
* upstream fix: https://github.com/fujiwarat/ibus/commit/f176569cf774f87b23270257da68249dcda837c9
* upstream issues: https://github.com/ibus/ibus/issues/2570
This task depends upon

Closed by  Antonio Rojas (arojas)
Saturday, 21 October 2023, 16:51 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Reason for request: It doesn't occur in ibus 1.5.28. Sorry for misunderstanding

Loading...