https://bugzilla.redhat.com/show_bug.cgi?id=1659748
--- Comment #38 from Lohan G lohang@gmail.com --- (In reply to Mike FABIAN from comment #36)
(In reply to Lohan G from comment #32)
I wonder whether this is a problem of ibus-typing-booster or a problem of emacs. If you type into emacs like you do in your video and then mark the finished text with the mouse and then paste it into gedit, what happens? Is the text pasted into gedit still wrong or does it look correct after pasting?
Or, another way of doing this: Type into emacs, save into a file. Then view the file in gedit. Does it still look wrong in gedit then?
If it becomes correct when viewing in gedit it would mean that rendering of Sinhala in emacs is broken. If loading it into gedit does not fix the problem, it would indicate that something went wrong during input already.
What was the sequence of keys you typed in this video?
Hello Mike, I am sorry I didn't have Internet access over the past few days so it took longer than I thought to reply.
You are correct. This seems to be a problem with emacs.
I created a file using emacs (with ibus-typing-booster). Emacs shows it incorrectly. But when I open the same file in gedit it looks correct. Here's a screenshot https://bugzilla.redhat.com/attachment.cgi?id=1516908
(1) Steps to Reproduce: 1. Open Emacs 26.1 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.23.2) 2. Switch to ibus-typing-booster 3. Type keys (fisrt Sinhala line of the image) wlqrq iy rQm 4. Save the file 5. Open it with gedit and compare
Expected result අකුරු සහ රූප Actual result in emacs (see attached image)
In addition to this, I found emacs doesn't display some characters at all while they are clearly shown by gedit
(2) Steps to Reproduce 1. Open Emacs 26.1 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.23.2) 2. Switch to ibus-typing-booster 3. Type keys f.daravaka (Second Sinhala line shown in the image) 4. Save file 5. Open it with gedit and compare
Expected result ගෝර්ඩ්න් Actual result in emacs ර්ඩ්න් (see attached image)
The other two lines also have missing first character in emacs.
Where should I take this, should I create a separate bug here or upstream with emacs?